Open AtheosCode opened 4 years ago
I edit canvas in Init scene, save it as an asset file, close NodeEditor,I observe the data in inspector,it's right, but switch to other sence. The saved asset file is empty data, Unity2018.4.24f1 install NodeEditor and UndoPro with unitypackage
So to clarify:
When switching scene it will of course unselect the canvas you had selected, resulting in a blank inspector window, so make sure you still have the canvas selected, just in case.
Now the replication step is, at run time, I load the asset for parsing, then switch scenes, and the saved asset is lost, Here is a GIF that emulates the scene switch at run time
What do you mean data lost? Could you elaborate? The canvas should be preserved, even if you do not explicitly save it. If it does not, it is either a bug or you saved it in the scene, in which case it will not attempt to keep it open. I just tested in 2019.3 that it works, what Unity version are you using?