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"

Not possessing my default pawn on play.

I just finished the 14th video in the 3rd person game tutorial and when I went to test out my game and hit play, I am ejected from the character controller. When I hit possess, everything starts to work normally.

I've set up a game mode referencing the tutorial blueprint class as the default pawn, and set the world settings to override game mode to the aforementioned. I left the player start actor in from the starter content, and after possessing, my character spawns there. I would expect to hit play and start with the tutorial's character at this point, but it behaves as if I don't have a game mode override selected at all.

Am I missing something or is this the expected behavior?

what I see on play: alt text game mode: alt text world settings: alt text

Product Version: Not Selected
Tags:
more ▼

asked Mar 08 '15 at 02:03 AM in Using UE4

avatar image

zacrahm
6 2 3 4

avatar image mindfane Mar 08 '15 at 03:13 AM

Could you post pics of your gamemode class defaults tab and Maps and Modes section of Project Settings

avatar image zacrahm Mar 09 '15 at 09:50 PM

I've edited my original response with some photos.

avatar image Pawel Witkowski Dec 01 '15 at 06:20 PM

I have the same problem. Have you resolved it?

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

4 answers: sort voted first

Edit -> Editor Preferences -> Play -> Reset to Defaults

more ▼

answered May 07 '16 at 10:23 AM

avatar image

A7426764001
95 3 11 12

avatar image LordStuff Feb 12 '17 at 02:38 PM

I know this post is old, but I just must thank you for this answer!

This really gave me headaches, because all changes I made to my default game mode didn't apply without restarting UE4. Doing as you said, everything works fine!

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

Another possible solution (and one which fixes lots of unexpected behavior):

Note, this applies only to C++ classes/base classes that don't function as expected.

Many times, problems can be solved by adding "Super::foo(param)" to the top of your Derived::foo(param) definition.

For example, I had the above problem when trying to extend GameModeBase in C++. The default pawn would never spawn. On further inspection, I found that I had failed to call "Super::PostLogin()" inside my DerivedGameMode::PostLogin() method. As soon as I added it, the problem was resolved.

This just ensures that all the good stuff that the base class does actually happens.

more ▼

answered Nov 06 '17 at 09:51 PM

avatar image

Mowgl33
41 1 2 6

avatar image BurtFMan May 29 '19 at 01:22 PM

I had the exact same problem and was beating my head again the wall. Thank you sir!

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

From the posted images, I dont see anything wrong.

Just to test something, try this:

Add BeginPlay event in your MyCharcter BP. Use GetPlayerController node to get a reference to your controller. Then call Posses node on it and pass 'Self' as the Pawn. Now hit play and see if it works.

If possible could you take a screenshot of Map&Modes settings tab from ProjectSettings window (I am using an older version of Engine 4.4 So it might be different there)

more ▼

answered Mar 10 '15 at 05:09 AM

avatar image

mindfane
3.4k 154 52 272

avatar image Alterpar Oct 23 '17 at 11:10 PM

I tried the reset to defaults thing, but it didn't work for me. Mindfane's suggestion's FINALLY solved this problem for me. I have no idea what I did to screw it up, but I'm so happy it's fixed now.

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

In case anyone else has this issue and finds this post, here's what worked for me:

If you drop a pawn into the scene, you need to set that as the default pawn. You do this by selecting the pawn actor in the scene, then scroll through the details panel to find Auto Possess Player. Set it to Player 0.

alt text

Thank you to Nachtmahr for this solution.

more ▼

answered Jul 06 '19 at 08:13 PM

avatar image

Snow
144 14 26 30

(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