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

ChangeTrigger watching a ManagedReference triggers when any property in the reference changes #24

Open
larsoad opened this issue Dec 30, 2019 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@larsoad
Copy link

larsoad commented Dec 30, 2019

No description provided.

@larsoad larsoad added the bug Something isn't working label Dec 30, 2019
@larsoad larsoad self-assigned this Dec 30, 2019
@larsoad larsoad modified the milestones: 2019.3 Final, Unity Dependent Dec 30, 2019
@larsoad
Copy link
Author

larsoad commented Dec 30, 2019

When a ManagedReference property changes Unity creates a new instance rather than overwriting the existing instance meaning the ReferenceEquals check always returns false. This is probably at least a contributing factor in many of the other ManagedReference Issues as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant