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"

Character Doesn't Spawn At Player Start

Hello,

I have a PlayerStart placed in the level, but the Character doesn't spawn at the PlayerStart. It's like the PlayerStart doesn't even exist. Instead the character spawns where the current camera is at in the editor before hitting play in the PIE.

Is there a setting somewhere I'm missing? How can I get the PlayerStart to play as it's supposed to?

My character is set as the default pawn in my GameMode Blueprint and my GameMode override is my GameMode blueprint as well.

Thanks!

Product Version: UE 4.19
Tags:
more ▼

asked Dec 29 '18 at 05:13 PM in C++ Programming

avatar image

DruidMechanics
1 1 3

avatar image Evigmae Dec 29 '18 at 06:28 PM

make sure you are using the game mode you think you are.

make sure you're actually setting the default class

make sure the player start is in a valid location.

Can you show a screenshot of your playerstart in the level?

avatar image DruidMechanics Dec 29 '18 at 07:24 PM

Sure, Here is where my playerstart is, and the gamemode override in world settings.

https://imgur.com/a/Vopcz6S

avatar image Evigmae Dec 29 '18 at 07:45 PM

You should play in "selected viewport", unpossess (F8), and check where the actores are by selecting them on the world outliner.

i would guess the player is actually being spawned at the player start and the the pre-placed camera is taking over the viewport.

also, the camera has an option "Auto activate for player", which might be overriding the camera on your character.

avatar image DruidMechanics Dec 30 '18 at 03:29 PM

So I played in selected viewport and it appears the character isn't being spawned where the player start is. While playing, I took a look at the camera and auto activate for player is checked. However once I hit stop, there is no camera in the scene. Is there a way to turn this off for the default camera or something?

avatar image Evigmae Dec 30 '18 at 04:20 PM

the player controller has this:

alt text

and actors have this:

alt text

have you tried to manually spawn the player at the playerstart instead of letting the game mode do it?

0.png (8.5 kB)
1.png (2.5 kB)
avatar image DruidMechanics Jan 05 '19 at 08:01 AM

Thank you for your help. The actor has the above checkbox checked, and I created a new player controller and it had the other checkbox you mentioned checked by default. I didn't try to assign it because I assume the default player start has it checked as well.

I tried spawning the character manually in the level blueprint at the location of the PlayerStart and it worked. I'm just not sure why it doesn't otherwise.

It's not a big deal to spawn the character manually. Thank you!

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

0 answers: sort voted first
Be the first one to answer this question
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