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

Entity Instances should not have reference sharing problems #1509

Open
profexorgeek opened this issue Sep 24, 2024 · 2 comments
Open

Entity Instances should not have reference sharing problems #1509

profexorgeek opened this issue Sep 24, 2024 · 2 comments
Assignees
Labels

Comments

@profexorgeek
Copy link
Collaborator

There's some weird reference sharing going on here. Repro was just to add two instances. The exposed variable does not have IsShared set to true. This should not be a static property. The states are not being properly applied (the collision footprint isn't changing correctly) and changing the state of one instance is affecting the other:

reference-sharing

Commit SHA for repro, see Screens/Room_Castle_002 (Nardiak Repro)
450fa70ec38788e7ef61f281a12a682a72ee7888

@vchelaru
Copy link
Owner

vchelaru commented Sep 26, 2024

Unfortunately this is not reproducing for me, probably because the repro steps require something to be dynamic (created while the game is running) - whether that's a new entity or a new state or a new exposed variable I'm not sure.
25_18 20 03

@vchelaru
Copy link
Owner

Update - I also tried copy/pasting instances, and then deleting all instances and adding new ones. Perhaps this was a new variable or new entity created?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants