You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue description:
When using export var variable : Type = default_value, if default_value is a reference, it can be modified at run time. At the creation every variable will point to the same value. It means that one can modify variable of other instances of the class. It will also affect the value of variable at the creation of a new instance.
Godot version: v3.2.2.stable.official
OS/device including version: Windows 8.1
Issue description:
When using
export var variable : Type = default_value
, ifdefault_value
is a reference, it can be modified at run time. At the creation everyvariable
will point to the same value. It means that one can modifyvariable
of other instances of the class. It will also affect the value ofvariable
at the creation of a new instance.Steps to reproduce:
minimal code to reproduce
output :
{key:test}
Minimal reproduction project:
minimal-project-export-default.zip
The text was updated successfully, but these errors were encountered: