- Home /
Unity3D Script loses serialized data after .dll update.
I have a custom editor which saves its data in a Monobehavior attached to the object its editing. This data saves fine and persists between sessions/play mode, etc. Both of these classes are included in a compiled dll that I've made and included in my project.
My problem arises when I update that .dll - suddenly all the serialized data in the MonoBehavior class reverts to default. This is hugely problematic because it would prevent updating the .dll in existing projects. How can I prevent this from happening?
Your answer
![](https://koobas.hobune.stream/wayback/20220612163422im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Custom DLL: mybuildcode.dll is identical to mybuildpluseditor.dll, but does not work in build 0 Answers
Dynamic editor dll linking? 0 Answers
How to expose a struct type variable from dll, which is not declared [Serializable] 1 Answer
Which is the easiest technique to produce deliverable editor scripts with closed source code? 2 Answers
Unity Editor script in DLL 1 Answer