27-10-2020, 10:51 AM
(27-10-2020, 09:26 AM)josemendez Wrote: in Unity, you need to call AssetDatabase.SaveAssets() to save any changed assets to disk:
https://docs.unity3d.com/ScriptReference...ssets.html
If you don't, any changes you've done to assets will be lost when you restart Unity.
Nope, It doesn't work. I already tried. Calling SaveAssets changes nothing. Also, as I already wrote, I clicked "File -> SaveProject" which does the same.
Precisely speaking, it doesn't save after I commented out "GenerateImmediate();". And I don't understand why. Before removing that line saving worked but rope reset after validate.