Sometimes, child scenes would have metadata set on an export that's inherited from its parent, which shouldn't happen. For example:
Actor
- speed : protected
Enemy extends Actor
- speed : private
Because speed is inherited from Actor, Enemy should never be able to set the modifier. But there are cases where the modifier becomes private, which can break functionality because there is no way to set the modifier from the editor of a child scene.
If you encounter issue, go into the .tscn file, and remove the variable name from the metadata/_access_modifiers dictionary.
Sometimes, child scenes would have metadata set on an export that's inherited from its parent, which shouldn't happen. For example:
Because speed is inherited from Actor, Enemy should never be able to set the modifier. But there are cases where the modifier becomes private, which can break functionality because there is no way to set the modifier from the editor of a child scene.
If you encounter issue, go into the
.tscn
file, and remove the variable name from themetadata/_access_modifiers
dictionary.