Hi guys, I’m very newbie and I don’t know what to do with this problem. I make some Bolt scheme which goal is to choose some object on desk and return mouse coordinates, but when I try to run it I have next notification: "Invalid operation exception: Missing target object for ‘UnityEngine.GameObject.gameObject’
Pls help me, screenshots attached
What gameObject do you have the flowGraph on?
Does it have a rigidbody?
Looks like you’re raycasting on mouse position every frame which means that when the ray does not hit anything, the GameObject is null. You need to introduce a “Null Check” node to work around this issue so when the ray does not hit an object, it stops the logic before it throws the error.