Posts: 25
Threads: 9
Joined: Dec 2020
Awesome , that fixed the problem. I think the issue was because of OnAfterDeserialize() when unity automatically called the implementation of UnityEngine.ISerializationCallbackReceiver it was resetting translation, rotation and scale values because of version was null for first time only.
Your outstanding support and effort you putting is really priceless, thanks for every second you spent on it. much appreciated
Posts: 1,951
Threads: 80
Joined: Jun 2017
(05-24-2021, 03:30 PM)Mos Def Wrote: Terribly sorry for That
It's ok, we all make mistakes, me being the first one otherwise you would not have found that bug
(05-25-2021, 05:16 AM)Mos Def Wrote: I think the issue was because of OnAfterDeserialize() when unity automatically called the implementation of UnityEngine.ISerializationCallbackReceiver it was resetting translation, rotation and scale values because of version was null for first time only.
Yep, this is what is happening. The issue is not visible with modules created via the UI. It becomes visible with modules created via API, and in scenarios like yours where you set a value before any deserialization call (like for example when you modify anything via the inspector)
(05-25-2021, 05:16 AM)Mos Def Wrote: Your outstanding support and effort you putting is really priceless, thanks for every second you spent on it. much appreciated
Thank you
Please consider leaving a
review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.