Abnormal AI Behavior with Nativization on Blueprints
I am having some trouble making AI follow a spline path or move to target destination using nativized blueprints. I am using Inclusive nativization, and most all other aspects work perfectly fine it just seems to be the move to location.
AI Pawnsense & EQS Reset (The only real blueprint here, there is a cast to base class AIController above and saved to var AIC)
Layout in Editor
Just to be clear the only problem seems to be the splines, all other behaviors work as intended. Splines also work fine in editor but break upon nativization. Sorry if the code is a little messy, I have been desperately trying different methods to see if any would fix the problem.
Things I have tried: -Service to update Blackboard Vars with spline locations -Task to update Blackboard Vars with spline locations -Using on Possessed in Pawn Blueprint -Using on Possess in AIC -Detaching a scene component instead of spline for target location
All yield the same result. Some breaking the code even further disallowing the entire tree to run.
Thanks for any and all help!
I got it working but had to remove the spline functionality. Seems there were some problems initializing, the solution for me was to use a target actor a service that checks the distance to target actors.
Here is the code if it helps anyone else:
answered Oct 10 '18 at 10:40 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here