Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exported var Arrays in one object are connected/identical when initialized #63209

Closed
Reneator opened this issue Jul 19, 2022 · 1 comment
Closed

Comments

@Reneator
Copy link

Godot version

3.5.rc6 official

System information

Windows 10

Issue description

When defining a Reference/Node with multiple "export (Array)" vars it seems that its either the same Array gets set in all the exports or they are linked with each other, because when you just go and append to one of the arrays that get exported, suddenly all the arrays receive the value[s]. I can circumvent this by setting the array instead, but this seems like unintended behaviour.

Steps to reproduce

Open the Reproduction project and press Run and check the console output.

Minimal reproduction project

Array_Reproduction_Test.zip

@Calinou
Copy link
Member

Calinou commented Jul 19, 2022

Duplicate of #20436.

@Calinou Calinou closed this as not planned Won't fix, can't repro, duplicate, stale Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants