Question by
Gnorst · Nov 16, 2021 at 01:11 PM ·
serializationscriptableobjectserializedobjectmigration
Loading a SerializedObject directly from disk
I have an ScriptableObject that has suffered big changes recently, and a lot of unity plain text assets that I wish to upgrade to the new version.
I have the code that, given the SerializedObject for the previous version of the asset, generates a new asset for the newer version and saves it.
It's pretty frustrating because I can see the original file with the data I'm looking for, I'm just struggling to access it.
Comment
Your answer
Follow this Question
Related Questions
Question on SerializeField? 1 Answer
Unity3D ScriptableObject with UnityEvent not saving event parameter 0 Answers
How can I load an custom file from the Assets folder? 1 Answer
SerializedObject asset loses data when pressing play 1 Answer
Serialization Placeholder Value for Different Fields? 1 Answer