When changing a script, a hot-reload will happen.
If the value of attributes are part of the scripts, then it will work fine.
But if they’re defined in an XML which was used to create the script object, they won’t be reloaded.
Is there a way to reload a script instance with the values used to instance it from XML?
Having default values in the script is a partial solution to make sure the script will work even if not as intended.