Hello,
I have a prefab with a protected list. The list is serialized inside the prefab, even when I stop the editor.
I have no clue how this is happening. The problem is when I play the editor, the list keeps its last state, instead of be a new one as it should be.
Of course I just could clean the list, but this is a very weird behaviour and I would like to understand what is really happening.
I have an intuition that is about that the prefab has **DontDestroyOnLoad**, but I have tried to reproduce the same problem with a very small script without success.
Any idea about this could be happening?
Thank you
![alt text][1]
[1]: /storage/temp/74088-private-list-serialized-inside-a-prefab.png
↧