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"

Standalone packaged build problems. Common troubleshooting tips?

My game runs fine in the editor but ceases to work correctly in a standalone packaged project. I have fixed some of these in the past from setting a reference to an object that was supposed to be destroyed to null. But then got into some more problems with the packaged build.

What are the problems that are common in a packaged build? Any good troubleshooting tips for a packaged build?

I was thinking it was a sequence of events problem, or the data is placed and or calculated in the wrong place (actor, game instance, game state, game mode, player state, level blue print). Or objects are not initialized/constructed and deconstructed/destroyed and the references to the objects are incorrect?

Product Version: UE 4.17
more ▼

asked Sep 23 '17 at 08:44 PM in Using UE4

avatar image

1 3 3 5

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

1 answer: sort voted first

I found the problem. The game mode will only be created and use once the client starts. I just changed the default game mode to game mode base and re-parent my other game modes from that one. So on start the StartMenuGameMode which is a child of game mode base is overriding the default game mode (game mode base) and then when I start/load a game, my WorldGameMode which is also a child of game mode base will be overriding. I have my data in game mode state which my WorldGameMode has and my menu gets the game state and displays that data. It now displays correctly because my WorldGameMode now calls the BeginPlay event which I have initialize the data.

more ▼

answered Sep 29 '17 at 12:44 AM

avatar image

1 3 3 5

(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