- Home /
Help with Missing Monobehaviours and Asset Serialization?
So I am going to be as descriptive as possible.
I am working with people on multiple projects. We have a SVN set up with shared components between our multiple projects. If someone puts a script in this shared svn that I already have locally, and I download it into my project, I now have a compile error because two classes share a name. Deleting my local script causes any objects that reference that script to have a Missing Monobehaviour.
Currently our projects are mixed serialization, so the scenes are in binary. If we move our scenes to Text Serialization I have a script which modifies all of the proper GUIDs to reference the downloaded script instead to fix any Missing Monobehaviours.
As our projects are already set up with Mixed serialization I would rather not have to deal with switching all of them to text serialization and then have everyone update their projects.
Is there a way to using a script switch the serialization of a single asset ( a scene, or prefab) to text then read through / modify the text, and then switch it back to binary?
Any help at all would be appreciated.
Your answer
Follow this Question
Related Questions
Is it possible to create a custom gettter/setter on SerializedProperty ? 0 Answers
Trouble setting the object reference in a property drawer 0 Answers
Bind to OnWillSaveAssets and force to save my scene 0 Answers
Serializable settings for custom PropertyDrawer 1 Answer
Multiple Cars not working 1 Answer