Im currently using the latest version. Anyway I switched from behaviordesigner and Im running into a somewhat strange bug where using the behaviour trees, my ai characters it will get stuck on a custom node until I click the gameobject in the editor, where it resumes the action.
another video(better quality but a little less clear when it happens)
ok video quality is way worse than I thought it would be: what happens npc’s shoot each other, the remaining surviving npcs should resume their patrol and break off from the pursue task but it just sticks on the pursue task unless I click them individually. Anyway this is reproducible, I can upload the whole project if necessary. How do I fix this?
I really appreciate all the information provided, but it’s a bit hard to tell whats going on :/
Can you please send me some reproduction project ( info_at_nodecanvas.com )?
NVM! I think I figured it out… finny that I’ve been gnawing on this for 2 hours and got it 10 mins after posting here…
Essentially the GameObject got destroyed after I checked if it was null but before my outside ISense mono-behavior updated its list of objects in sense, so my node canvas grabbed null from it and tried to run with it.
I added a null check to the guilty Action task and that solved it.
Glad to know it’s solved for you.
By the way, make sure to use CheckUnityObject in case you are actualy checking a UnityObject for null, instead of CheckVariable.
Cheers!
Join us on Discord: https://discord.gg/97q2Rjh
Author
Posts
Viewing 7 posts - 1 through 7 (of 7 total)
You must be logged in to reply to this topic.
Login
Register
By registering on this website you agree to our Privacy Policy.