Closed akatriel closed 9 months ago
Did you install NewGraph as a package or did you clone it locally? Sadly, there is a Unity bug the results in broken references when using git repos as packages. :/
OdinSerializer was installed as a package, however, GraphViewBase and New Graph were cloned locally into Assets > Scripts > Editor.
Hey, New Graph has a runtime and an Editor portion so it needs to sit directly in the Assets Folder or insides a Plugins folder, so maybe that is part of the problem 🙂
Unfortunately, the error still exists even after completely removing it from the project and then re-copying the libraries to the Assets folder.
I think the WindowInitializer.asmdef was the issue here. In my project preferences under External Tools > 'Generate .csproj files for:' > 'Embedded Packages' and 'Local Packages' are both checked. After copying the WindowInitializer to Assets>Scripts>Editor folder and deleting the .asmdef everything seems to work. Not sure why this would be related, but also not questioning this anymore...
Produced in Unity 2023.2.3.16f1 Upon closing and re-opening project the AssetDatabase appears to lose the reference to the ScriptableGraphModel.asset with the following error:
WindowInitializer
was moved out of the Sample folder to a Scripts > Editor folder but has been unchanged:Any help appreciated!