I have a few prefabs holding information in the form of local variables in my game. For some reason, the values of the variables will turn to null when I hit play, then revert back to their original value in edit mode. This has also been affecting instantiated versions of the prefabs. Also, I've noticed that this doesn't happen on the first time I enter play mode per session, only the times following the first. Any help would be great, thanks!
[Edit]: Apologies, I tested it further and it turns out instantiated clones of the prefab preserve the original variable values. Unfortunately, the problem persists when trying to get the values from the prefab directly.
Customer support service by UserEcho