Here's a problem I'm seeing with variables stored on player prefabs:
- Add a Variable and a Remember Variable component to a player prefab
- Add a variable to the prefab (name:IsFoo, initial value:false)
- In-game, set the IsFoo variable to true using Variable:Set
- Switch to a player in another scene
- Switch back to the original player
- The IsFoo variable is now set to false
Thanks
Comments
I will investigate.
I cannot reproduce any such issue - can you offer any more details? Please also be sure to always provide both AC and Unity version numbers when posting.
Is Retain in prefab? checked in the Remember Variables component?
AC 1.68.3
Unity 2019.1.10
Yes, Retain in prefab was checked.