- Home /
ApplyModifiedProperties returns false
Hello everyone!
I got a problem with saving my modified ScriptableObject. The ScriptableObject itself contains only primitive types (int and bool). After modifiying these values using the Custom Editor Script I wrote, I try to save them but the methods always returns false.
The affected line is 436 in the first script below.
CustomEditor script: https://pastebin.com/tUuCjS4L (This is where the changes are made and should be saved)
ScriptableObject script: https://pastebin.com/D2CnjmHs. (This is where the data is stored)
InteractableObject script: https://pastebin.com/JVxqPMaT (This is the component the CustomEditor script is for)
The data is saved within unity but not to disk.
Any idea? Thank you in advance!
Your answer
Follow this Question
Related Questions
How to work with custom class (ScriptableObject) SerializedProperty? 1 Answer
Why is play mode reverting my scriptableobject to a previous serialized state? 2 Answers
OnInteractivePreviewGUI multiple selection. Works but spams errors. 0 Answers
How to persist design-time data (excluded from the final game)? 1 Answer