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"

4.8.1: AI Perception By Affiliation?


When trying to configure the AI Perception component on my controller, the Perception By Affiliation section in each sense is completely blank, so I am unable to configure it at all.

Trying to do it via C++ didn't yield better results unfortunately.

Am I doing it wrong or is this a bug?

Product Version: UE 4.8
more ▼

asked Jun 30 '15 at 07:59 AM in Using UE4

avatar image

589 22 20 41

avatar image happyhorror Jun 30 '15 at 10:17 AM

Can you give some example screenshots and describe how reproduce this in raw template project?

avatar image Adam Davis STAFF Jul 02 '15 at 08:30 PM

Hi DamirH,

Are you looking at the details pane in your blueprint? I pulled it up and this option seems to be directly tied to what sense you are attempting to utilize. Specifically, Affiliation should occur with both Hearing and Sight but is not associated with the other perception types.

avatar image DamirH Jul 03 '15 at 08:19 AM

Hey there. I just got into the office, opened up my enemy controller to take a screenshot of the missing dropdown and suddenly it was there. When I wrote this there was just the header but no drop-down arrow to expand the section. I have no idea what caused it to start working properly... Thanks for your time in any case and I'll make sure to report if it happens again (With screenshots this time).

avatar image happyhorror Jul 05 '15 at 08:43 PM

maybe it was caused by creating something and not saving everything, at least in blueprints it usually written on variable detail panel after creation

avatar image marineuac Jul 21 '17 at 06:29 PM

ue4.16.2 still broken

avatar image intoxicat3 Nov 14 '17 at 07:04 PM

4.18 - still broken.

Any chance to fix this issue?

avatar image Doug E ♦♦ STAFF Nov 14 '17 at 07:56 PM

Hey intoxicat3-

We do not have timeframe for when this issue will be addressed. As mentioned below, using the component from within the editor avoids this issue.

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

3 answers: sort voted first

Hey DamirH-

As parabolainteractive pointed out, I was able to reproduce this issue when setting up the component through code. I have submitted a bug report (UE-18378) for investigation. For the time being the best solution would be to set the component up directly through the blueprint editor rather than doing so through code.


Doug Wilson

more ▼

answered Jul 09 '15 at 02:58 PM

avatar image DamirH Jul 09 '15 at 03:53 PM


It didn't even occur to me to mention I was setting it up through code, didn't think it made any difference. Glad we could help!

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

Hi DamirH,

I'm happy to hear that this isn't affecting you any longer. I'm going to go ahead and mark this as answered for tracking purposes. If this occurs again please comment back with the updated information and I'll be happy to take another look!

more ▼

answered Jul 03 '15 at 02:54 PM

avatar image hzn84 Jul 06 '15 at 12:08 PM

I have exactly the same problem on 4.8.1. Unfortunately I haven't tested it in earlier versions. Please take a look at the screenshot.

Edit: Seems like this is only the case when component is inherited from C++

alt text

affilation.png (18.2 kB)
avatar image meiwen Mar 10 '17 at 04:57 PM

Any news to this. I am having the same problem.

avatar image Doug E ♦♦ STAFF Mar 10 '17 at 07:16 PM

Hey meiwen-

The report for this issue is still open in our tracking system. You can find the status of the report here https://issues.unrealengine.com/issue/UE-18378 .

avatar image Cetaurefie May 24 '17 at 12:10 PM

Not sure if I should submit this as a separate issue, but in 4.15.2 Win7x64 if the AI Perception Component was added in C++, you cannot assign a sense to it. The drop down works but when you click on a sense it still shows "None". Tried selecting with keyboard as well. No form of input selects the sense. Once I configure the sense in C++ I can edit values in the editor as normal.

avatar image Doug E ♦♦ STAFF May 24 '17 at 06:43 PM

Hey Cetaurefie-

This issue was to report the Detection by Affiliation field of a Senses Config element. Since it sounds like you are unable to set any elements of the Senses Config array at all, I would advice creating a new post for your issue.

Additionally, when I follow the steps in the issue linked above (UE-18378) which sets up an AI Perception component in code, I am able to set elements of the Senses Config array. If you're following these steps and cannot set any values, please provide a sample project demonstrating the behavior you're seeing. If you're using a different setup, please include the reproduction steps used to help me test on my end.

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

I just happened upon this because I was wondering about it. Another workaround (until an official fix), keeping the Component setup in the C++ code, is to configure it by copy-pasting the struct property into Notepad or similar, modifying the affiliations, then copy-pasting the modified struct back onto the property.

It's not amazing, but lets you do any other config still in C++.

more ▼

answered Aug 23 '18 at 02:41 AM

avatar image

11 1 4

(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