I moved my Visual Scripting from an embedded graph into a State Machine graph as a file.
Suddenly started getting this error...
MissingComponentException: there is no Camera attached to the gameobject but a script is trying to access it.
The offending node is a Camera Screen to World Point.
There wasn't a Camera component attached to this gameobject previously and it worked (thr gameobject is under the Main Camera).
Any advice on what went wrong, and how to fix it?