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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Packaged macOS game hang on launch

I recently packaged my game for the first time in a while, had some errors and other cook issues, but eventually got it to succeed. But when I double-click on the packaged game application, it launches and then does nothing. No window is loaded, no level is loaded, nothing. Just an empty application that sits in my dock and in my app switcher, but no windows or game to be seen. I attached Xcode to the running application process and it shows all threads are waiting on a semaphore or signal (I'm not sure how reliable that is on a packaged build, though). I sent this packaged build to my buddy on another Mac, and the same thing is happening. I then tried packing and running on Win64, and it works just fine. Any ideas what might be happening here or how to diagnose the issue? Thanks! (EDIT) Here is some more info: I opened the game and attached Instruments to it. Here is the thread window for the -[FCocoaGame ...] thread:

alt text

It looks like this thread is hung on a mach message and is likely what holds the semaphore lock for the other threads. All of the other worker threads for the game are stuck on psynch_cvwait:

alt text

The [FCocoaGameThread] stack trace suggests that its getting stuck when setting up the game window. Can anyone provide any more insight in this? Epic? Is this an issue with our fullscreen settings or something?

Product Version: UE 4.19
Tags:
more ▼

asked Aug 03 '18 at 01:42 AM in Packaging & Deployment

avatar image

GrimlessBBS
65 10 15 17

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

1 answer: sort voted first

This appears to be caused by the FullscreenMode setting in my DefaultGameSettings.init file. If FullscreenMode is set to any value other than 2, the game hangs when launching. Otherwise, the game launches into a non-fullscreen window and behaves as normal. This is a MAJOR macOS bug; Epic, please advise.

more ▼

answered Aug 06 '18 at 07:59 PM

avatar image

GrimlessBBS
65 10 15 17

(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