x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Move To Location or Actor Bug

Move to Location or Actor fails when the Goal Location is outside the nav mesh, but Use Pathfinding is set to False.

The documentation indicates that when Use Pathfinding is False, the AI agent will move in a straight line towards the goal irrespective of the nav mesh. However it is not doing this when the Goal Location is outside the nav mesh. Instead the entire request fails and the agent does not move at all. If the Goal Location is inside the nav mesh, then it works. This contradicts the documentation and the very purpose of Use Pathfinding, which leads me to believe it is a bug.

The expected behaviour when Use Pathfinding is set to False is that the AI agent should move in a straight line towards the Goal Location regardless of where said location is, whether it is in the nav mesh or not shouldn't matter.

Product Version: UE 4.18 Preview
Tags:
more ▼

asked Oct 02 '17 at 12:56 AM in Bug Reports

avatar image

wilberolive
295 29 45 47

avatar image wilberolive Oct 02 '17 at 12:57 AM

This problem isn't directly related to 4.18, it is present in all versions from what I can tell.

avatar image Sean L ♦♦ STAFF Oct 05 '17 at 07:09 PM

Hey wilberolive,

Could you provide screenshots of any Behavior Trees, Blueprints, and other assets that are related to this so I can get an idea of what your setup looks like?

Do you have Project Goal Location enabled by chance, or Project Point to Navigation?

Thanks!

avatar image wilberolive Oct 12 '17 at 05:12 AM

Hi Sean, just checking if you've had a chance to see my screen shots yet?

avatar image Sean L ♦♦ STAFF Oct 16 '17 at 12:03 PM

Hi wilberolive,

I've been having a conversation with one of our developers regarding this, and I plan on taking a closer look at it early this week. Thanks for your patience. I'll respond as soon as I have new information.

avatar image wilberolive Oct 16 '17 at 11:18 PM

Thanks Sean. Sorry about the double post. Here is that sample project, just to keep everything together.

myproject.zip (1.1 MB)
avatar image wilberolive Oct 09 '17 at 01:20 AM

Hi Sean,

I'm trying to use the Move To Location or Actor blueprint node, which provides both an On Request Failed and On Move Finished output pin. I need to use this one so that I know when the move is complete.

Here is how I have it set up. There are no options for Project Goal Location or Project Point to Navigation. That is probably what this node needs to fix the problem as it is probably doing that by default even when Use Pathfinding is disabled like I have it.

broken

To get around the issue for now, I've resorted to using the Move to Location node. Unfortunately, this node doesn't tell you when the move is finished so I've had to rely on a hack delay node until this gets fixed.

works

To fix the problem, the Move To Location or Actor node either needs to ignore the nav mesh when Use Pathfinding is disabled (as indicated by the docs) or it needs a Project Destination to Navigation option like Move to Location does.

broken.png (102.4 kB)
works.png (85.2 kB)
avatar image think01 Nov 27 '18 at 03:03 PM

I got stuck on this very same bug too. Unfortunately as of today (27 nov 2018) it's still open, there's a pull request pending here: https://github.com/EpicGames/UnrealEngine/pull/5293

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Thanks for your patience on this one. I was able to reproduce the issue and have entered a bug report. You can track its status using the link below:

https://issues.unrealengine.com/issue/UE-51364

Have a great day

more ▼

answered Oct 17 '17 at 01:56 PM

avatar image

Sean L ♦♦ STAFF
43.7k 485 152 440

avatar image eyosido Feb 07 '18 at 07:49 AM
(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question