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
Godot version: Godot 4.0.custom 8cb6d5d (likely post poolvector removal)
OS/device including version:
Ubuntu Linux 18.04.4 LTS
Issue description:
In GDScript, packed arrays of base types (e.g. PackedByteArray, PackedFloat32Array, etc), seems to all share the same underlying resource (addressing issue? copy-on-write? ...)
Steps to reproduce/Minimal reproduction project:
extendsNode2Dfunc_ready():
varb1=PackedByteArray()
b1.append(2)
varmy_var=PackedByteArray()
my_var.resize(3)
varf1=PackedFloat32Array()
f1.append(2)
varf2=PackedFloat32Array()
f2.resize(4)
printt(b1.size(), my_var.size()) # Prints (3, 3) , should be (1, 3)printt(f1.size(), f2.size()) # Prints (4, 4) , should be (1, 4)
Godot version: Godot 4.0.custom 8cb6d5d (likely post poolvector removal)
OS/device including version:
Ubuntu Linux 18.04.4 LTS
Issue description:
In GDScript, packed arrays of base types (e.g. PackedByteArray, PackedFloat32Array, etc), seems to all share the same underlying resource (addressing issue? copy-on-write? ...)
Steps to reproduce/Minimal reproduction project:
Potentially related to #36611 , #36779
The text was updated successfully, but these errors were encountered: