Upon first importing Node Canvas into a Unity project, attaching an FSMOwner component to an object, and creating a new graph (prompting the canvas tab to open), I receive the following error multiple times in my console:
1
2
3
4
5
6
7
8
9
10
11
12
NullReferenceException:Objectreference notset toan instance of an object
And the canvas tab is empty (just a gray box). It seems like something isn’t initializing properly because the work around I’ve found is to save and close the project and then re-open it.
After re-opening, I can go to the canvas tab and select the object with the FSMOwner component and the graph renders in the canvas as expected.
Indeed this is a problem that might occur the first time you import the package. Simply restarting Unity once after the first import solves this, but this is of course something that I want to fix in the future.