Hi! I have a problem with AI navigation (before reinstalling engine all was good). In editor NavMesh look normal, but in debug Bot didn’t show any “green”. As a result Bot even can’t simple move to location. загрузка фото
Please, help to understand what is wrong and how to fix it.
Have you tried deleting your AI character/Nav mesh and placing it again in the level? Also double check if you AI has pawn sensing component.
Was is your AI suppose to do as begin play?
Thx for answer! Yes, i try to delete and replace AI and Nav on map.
This are print screens from Bot and AI-controller: загрузка фото
He suppose now only just move to player location (before problem he successfully patrol from point to point and chase player if he had detect it). In first print screen it show “move to”. Even with no BT, just simple move to location on tick doesn’t work.
If some project parts can help for better understanding i can share all project (it is on starting part so it is not a problem).
Do you have any sort of switch for AI modes chase patrol modes? I have this done with my AI so when I place them in the world I need to setup their default state or they won’t move.
Try doing the same but instead of new project just new map. If it works on a different map then your problem is in your level blueprint, something inside must be preventing your AI from moving.
I wish I could help but I’m fairly new to the Engine myself. I haven’t even got into BT’s that much, only playing around blueprint AI behavior, so far it’s been great fun.
Try running your game and check what is your AI trying to do and where does the code stop. Helped me a few times when I wasn’t able to locate an error in my code. It’s usually a variable you forgot to reset to default state.
I tend to use a lot of print string functions to find the errors I come across. Right now I’m trying to clear out the code a bit before I build a test map for my shooter.
This should have worked, just remember to unplug you BT in AI controller. Seems like a problem with your BT, try running the game and see if there is any activity in your code lines.
Try creating a new AI with just the nodes I posted above.
I create simplest character whit only this code: загрузка фото
In my project no result - standing on same place. But when i did same in new blank project all was good. Looks like problem is inside the project. But how to fix it?
Thank you! That was vary good advice. On new map all work as it had.
Just for future: is it possible to find what was a problem on starter map? It is not important when i create elements but on final map it will be terrible.