Exported variables of inherited scenes are aliased

✅ Fixed

This issue has been fixed for Godot 4.3 (see godotengine/godot#88741).

In Godot 4.2 or earlier, GDScript variables marked as exported in inherited scenes are aliased.

For example, if you have a scene which inherits another and that scene exports a Dictionary variable, that variable will share the same Dictionary reference among all instances of that scene. You can get around this issue by manually duplicating the reference in the script.

I consider this issue to be a Godot crime.

History