when two action task in one fsm state of run in parallel mode,there will report agent null referrence at first.
the agent is override with custom type component set in blackboard
I just added 2 Tween actions in a Run In Parallel FSM state, both overrided with a blackboard UnityEngine.Object variable and it works fine.
In your case, could it be that the blackboard variable is not set before the state is entered, or that it is set to null from another place in your code/trees?
I even set different override agents (both reading from Blackboard) and in parallel. I can’t seem to reproduce the error. Is it possible to send me a reproduction project/scene at info@nodecanvas.com?
Do you get that error even when using any other actions with the same setup?
Thanks
Join us on Discord: https://discord.gg/97q2Rjh
Author
Posts
Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.
Login
Register
By registering on this website you agree to our Privacy Policy.