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"

Open Level doesn't spawn player in executable game

When the game is run within the PIE Mode or even within Standalone Mode the function of open level works fine but within the packaged version of the same game, instead of spawning the usual player character the game instead spawns an empty character that simply floats as if within the first person around the map. This is constrained by collision and cannot go through walls but behaves much in the same way as flying around the editor does. weirdly, there are two instances of the open level function within this game and the first runs perfectly. They have both been scripted in the exact same way.

Annoyingly, I cannot post screenshots of the actual game due to NDA but I can and will answer all questions that anyone kind enough to help might have.

Product Version: UE 4.19
more ▼

asked Jun 07 '18 at 02:59 PM in Packaging & Deployment

avatar image

Ben Carter
3 2 5

avatar image Shadowriver Jun 07 '18 at 04:03 PM

How did you set the default GameMode class?

avatar image Ben Carter Jun 07 '18 at 04:16 PM

Well, I thought there may be an issue with this so I've made sure that the game mode is set properly by default in the project settings and on top of this I have also made sure that the correct Pawn Class is selected every time a new level is opened by casting to the game mode within the level blueprints before I open Level and as the new level opens, it sets the game mode and the pawn on Event Begin Play. Anything I've looked over here? I feel like this is overkill.

(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