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

Setting Object Variables on a Prefab with Manual Event gets reverted on Play #21

Open
AiSard opened this issue Aug 21, 2020 · 0 comments

Comments

@AiSard
Copy link

AiSard commented Aug 21, 2020

Used Manual Events to set a bunch of Bolt Object Variables on a Prefab, only for it all to revert when entering Play Mode.
Finally got around it by using EditorUtility.SetDirty on the Variables component.
Same thing happens for a Variant Prefab, but not on a non-prefab.

Hoping there's a way to ensure anything that Manual Event touches is marked as dirty so that it will serialize on play?

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

No branches or pull requests

1 participant