My project was working fine, right now if i try to add node or variable it give me this error
NullReferenceException: Object reference not set to an instance of an object
ParadoxNotion.Design.EditorUtils.GetMenuItems (UnityEditor.GenericMenu menu) (at Assets/ParadoxNotion/CanvasCore/Common/Design/PartialEditor/EditorUtils/EditorUtils.ContextMenus.cs:354)
if i delete the asset and install it again there is no error but all my work will be lost
Please update to the latest NodeCanvas version. This has been fixed a while ago. It is related to a Unity change in recent Unity version.
By the way, you will not lose your work if you delete the “CanvasCore” and “FlowCavas” folder and re-import the package anew. Did something like this happened to you?