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
As the title described, typed arrays initialized with same value in 2 different node of different instanced scenes seems to have same reference of the array. When modifying elements in one array, the other also gets modified. If the arrays are initialized with different values in the inspector, then it works properly.
This behaviour is very annoying since i cannot modify components that have the same initialized values. One possible workaround would be using non-typed array, which also works fine in my case.
Tested versions
System information
Godot v4.2.stable - Windows 10.0.19045 - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 2060 (NVIDIA; 31.0.15.3699) - Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz (12 Threads)
Issue description
As the title described, typed arrays initialized with same value in 2 different node of different instanced scenes seems to have same reference of the array. When modifying elements in one array, the other also gets modified. If the arrays are initialized with different values in the inspector, then it works properly.
This behaviour is very annoying since i cannot modify components that have the same initialized values. One possible workaround would be using non-typed array, which also works fine in my case.
Steps to reproduce
Run MRP and inspect console output
Minimal reproduction project (MRP)
Test.zip
The text was updated successfully, but these errors were encountered: