- Home /
Editor Script changes on Prefab don't persist?
Hello all,
I have made an EditorScript to help simplify making new levels for a Candy Crush style game.
In it I convert a flat array to a 2D array to form the grid with the different start options for the row and columns position.
All works well if I use it on a new GameObject with the script attached and then make that a prefab, the values for the grid pattern persist, BUT if I try to edit them after the fact the new values for the grid don't persist and it reverts to the old values after the editor has been restarted.
Am I missing something and is this behaviour to be expected?
Thanks
(See Image for a better overview and the Layout JSON is visible for this debugging)
Your answer

Follow this Question
Related Questions
What is the best way to make static class fields persistent between Play mode and Edit mode? 1 Answer
How to add an AnimatorState to an Animator from Editor script and make it persistent 1 Answer
Editor script: Changes made to another script are ignored in Play Mode 0 Answers
Auto switch max size of a selected texture in Project window 0 Answers
Custom Inspector to Load Instance Values 0 Answers