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"

AI Perception Debugging Broken in 4.19?

Below is a screen shot of my character pawn and another BP that has a AIPerception component with sight.

I activated Perception in the Gameplay Debugger but do not see any visualization for it. Am I missing something or is this a bug?

alt text

Product Version: UE 4.19
Tags:
aiperception.png (1.0 MB)
more ▼

asked Apr 18 '18 at 05:18 AM in Using UE4

avatar image

joessu
352 26 34 43

avatar image Naoki.Matsumoto May 18 '18 at 10:37 AM

Have you pressed numeric keypad 5?

(comments are locked)
10|2000 characters needed characters left

3 answers: sort voted first

You need to have the AI character in the middle of the screen when you press the [ ' ] key.

more ▼

answered May 18 '18 at 10:52 AM

avatar image

Andrei Despinoiu
255 4 9 12

avatar image joessu May 18 '18 at 06:38 PM

The ai perception component is not attached to a character

avatar image Andrei Despinoiu May 20 '18 at 01:10 PM

You don't understand, you need to LOOK at the AI character (in your viewport) before you press the " ' " key (that triggers the AI on-screen information).

Do you see in your screenshot where it says "Debug actor: None" (top right corner of the screen)? That means you pressed the " ' " key without having that AI character in the middle of your viewport. But hey, thanks for the downvote...

(comments are locked)
10|2000 characters needed characters left

So the ai perception is attached to a regular actor, not an ai agent, I think this is why, since stuff seems to work when the gameplay debugger has an agent set.

more ▼

answered May 18 '18 at 05:56 PM

avatar image

joessu
352 26 34 43

avatar image Andrei Despinoiu May 20 '18 at 01:11 PM

The AIPerception component was designed to be added to the AI Controller blueprint, not on the character itself. Straight from the Lead AI programmer over at Epic: https://youtu.be/nshHCycft4A?t=3570

(comments are locked)
10|2000 characters needed characters left

If anyone wondering, pressing 4 on NumPad worked.

more ▼

answered Mar 27 '19 at 09:30 AM

avatar image

minisamosaftw
1

(comments are locked)
10|2000 characters needed characters left
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