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"

Pawn Sensor doesn't work on spawned actor

Hi There,

I have a blueprint with a pawn sensor in it. When I manually place it on my level it works fine. When I spawn the the same blueprint the pawn sensor never seems to activate. I put breakpoints on begin play and when the actor is spawned it does got to begin play, but onseepawn never gets activated.

I place one actor and spawn one right next to it and the manually placed one works fine while the spawned one doesn't. I don't see anywhere where I can activate the pawn sensor in the blue print.

Can someone point me in the right direction?



Product Version: UE 4.14
more ▼

asked Mar 05 '17 at 01:05 PM in Bug Reports

avatar image

Lord Caine
91 4 8 13

avatar image SweetMate12 Mar 06 '17 at 01:08 PM

I am also very interested in an answer to this.

avatar image Sean L ♦♦ STAFF Mar 06 '17 at 02:35 PM


In your AI Character Blueprint's Class Defaults, try setting Auto Possess AI to Placed in World or Spawned instead of just Placed in World. I'm not sure if that's necessary in this case if you're not doing any work with an AI Controller, but I think it's worth a shot.

Let me know if that helps. If not we can continue to investigate and find another solution.

Have a great day

avatar image Yvasquez Nov 10 '17 at 03:17 PM

Hello Sean L and tried what you say but it still does not work

avatar image Sean L ♦♦ STAFF Nov 10 '17 at 03:20 PM

If you believe that this is a bug, please provide me with a detailed list of repro steps that I can use to create the issue on my end, otherwise it's tough to tell exactly what you're doing that could be causing this issue.


avatar image Yvasquez Nov 10 '17 at 03:38 PM

Hi, thanks for the help. The steps I'm taking are these: - I have my bot that when it detects the player it starts to follow, this works fine only if I drag the bot on the scene manually. alt text - At the moment I want my bot to be spammed, so I do the following: alt text This makes my bot generated correctly, but it does not follow the player or do anything. Finally in my Bot I went to the section that you mentioned and I left it in the following way. alt text it still does not work :( Again thank you very much for your help. regards

1p.png (85.7 kB)
2p.png (81.5 kB)
3p.png (15.0 kB)
avatar image Yvasquez Nov 17 '17 at 04:56 AM

I really need help with this.

avatar image SweetMate1 Nov 17 '17 at 05:08 AM

Try using one of these nodes that you can get access to by getting the AI controller.alt text

1.png (137.8 kB)
avatar image SweetMate1 Nov 17 '17 at 05:23 AM

It also may be worthwhile to take a look into the perception component in the AI controller to handle stuff like this.alt text

2.png (279.4 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

3 answers: sort voted first

I had the same problem; Actor placed in world worked fine but spawned actor wasn't. Solution: Change "Auto possess AI" from "Placed in world' to "Placed in world or spawned". Works great now.alt text

more ▼

answered Feb 12 '18 at 04:26 PM

avatar image

11 2 1

avatar image Malevo Ferreyra Mar 13 '19 at 11:03 PM

Thanks friend! ! all afternoon investigating. This resolved everything! ! ! ! ! so simple...

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

I was having the exact same problem and this is how I solved it. There is a spawn AI from class node as well, let me show you how I have used it in my spawner actor; alt text

1.png (206.6 kB)
2.png (217.0 kB)
more ▼

answered Mar 06 '17 at 11:52 AM

avatar image

1 1 2

avatar image Lord Caine Mar 06 '17 at 01:23 PM

Hi Sweet Mate,

Thanks for that I can't wait to try it. Will that work with a Pawn sensor also It looks like you may have been using some of the other AI tools which I haven't played with yet.

My actor is basically a dumb weapon emplacement so I just used a pawn sensor.



avatar image Yvasquez Nov 10 '17 at 12:52 AM

Hi, I'm new to this and I have the same problem, which solution worked for you, the Newest probe but it still does not work and the other one does not really understand the process

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

I running into a similar problem when worked with BP_ThirdPersonShooterAI in ThirdPersonKit. TPKit using PawnSensingComponent in a BP_Sensing_Pawn which is used as a ChildActorComponent in BP_ThirdPersonShooterAI. This is causing the AI not working properly when spawned because the BP_Sensing_Pawn as sub-class of APawn will try to spawn its default AIController when Initialized which is happened within the construction scripts of the ChildActorComponent and it's forbidden as mentioned here

the solution is to spawn an AIController manually and posses the BP_Sensing_Pawn, then all works well.

more ▼

answered Feb 13 '19 at 12:56 PM

avatar image

6 1 1

(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