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. 

Error after packaging on Mac OS X

Hi everyone,

I just tried packaging the "Reflections" content demo with UE4 using Mac OS X 10.9.2

It looks like the package was successful, but when I try to run the packaged game, I get the following error message:

 Game name case not detected for 'UE4Game'. The engine ini should contain an entry [URL]GameName with the name of the game in the correct case.

What does this mean?

Product Version: Not Selected
Tags:
more ▼

asked Mar 20 '14 at 03:26 AM in Packaging & Deployment

avatar image

nickpettit
51 2 6 4

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

4 answers: sort voted first

Hey Guys -

Currently when you select File > Package > Mac you need to pass in arguments for non-code projects, or if you are using pak files. To do so open Terminal and enter the following :

 Open -a ProjectName.app --args ../../../ProjectName/ProjectName.uproject -pak

This will launch the Packaged Game.

Nick Bullard-Bradley | Engine QA | Epic Games Inc.

more ▼

answered Mar 20 '14 at 03:52 PM

avatar image

[Epic] Nick.Bullard ♦♦ STAFF
429 9 3 13

avatar image cgbeige Mar 20 '14 at 03:32 PM

ya, I can't seem to build anything either. Same error but there are no docs that I can find to talk about how to build something for OS X.

avatar image cgbeige Mar 20 '14 at 04:08 PM

I still get the same error:

open UE4Game.app --args ../../../ContentExamples/Content/Paks/ContentExamples-MacNoEditor.pak -pak

Game name case not detected for 'UE4Game'. The engine ini should contain an entry [URL]GameName with the name of the game in the correct case.

avatar image cgbeige Mar 20 '14 at 04:09 PM

I should note that the .ini files are empty. Is there something I need to add to those to get this to work?

avatar image cgbeige Mar 20 '14 at 10:17 PM

thanks - the command works with the .uproject -pak part

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

Just to clear something up with what I posted earlier. The .uproject it's looking for is not the one in Documents/Unreal Projects/MyPjectName/MyProject.uproject. So it's not an absolute path that you need to pass, its relative to the the UE4Game.app, as it's stored in the .pak file.

In your MacNoEditor Folder that gets created you have Engine and ProjectName folder. In the image below, (i used Reflections) the right finder shows a packaged project with User Pak file disabled. As you can see there is another copy of the .uproject here, which is what the UE4Game.app is looking for. When using Pak file, this gets stored inside it the .pak file.

alt text

Try launching with the following command

 Open -a /Users/dalecarman/Dropbox/Projects/Development/Oculus/unreal/OculusTest/Content/build/MacNoEditor/Engine/Binaries/Mac/UE4Game.app --args ../../../OculusTest/OculusTest.uproject -pak

Let me know if this gets your game running

more ▼

answered Mar 23 '14 at 05:58 PM

avatar image

[Epic] Nick.Bullard ♦♦ STAFF
429 9 3 13

avatar image carmandale Mar 24 '14 at 01:20 PM

Hello Nick, Your command,

Open -a /Users/dalecarman/Dropbox/Projects/Development/Oculus/unreal/OculusTest/Content/build/MacNoEditor/Engine/Binaries/Mac/UE4Game.app --args ../../../OculusTest/OculusTest.uproject -pak

Is exactly what I tried, but I get this error:

LSOpenURLsWithRole() failed for the application /Users/dalecarman/Dropbox/Projects/Development/Oculus/unreal/OculusTest/Content/build/MacNoEditor/Engine/Binaries/Mac/UE4Game.app with error -10810.

avatar image Ravlek STAFF Mar 24 '14 at 04:05 PM

Could you check to see if /Users/dalecarman/Dropbox/Projects/Development/Oculus/unreal/OculusTest/Content/build/MacNoEditor/Engine/Binaries/Mac/UE4Game.app has the executable bit set?

In a terminal window, change directory to /Users/dalecarman/Dropbox/Projects/Development/Oculus/unreal/OculusTest/Content/build/MacNoEditor/Engine/Binaries/Mac Then run ls -l and see if the UE4Game.app has the x in the permissions.

If it doesn't, then running chmod +x UE4Game.app should fix the problem. If so, then it is a bug on our side where we are not properly setting the flags.

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

Has anyone figured this out? I get the same error.

more ▼

answered Mar 23 '14 at 12:02 AM

avatar image

carmandale
6 1

avatar image cgbeige Mar 23 '14 at 12:05 AM

read above - it works when you launch it from the terminal and with the arguments specified.

avatar image carmandale Mar 23 '14 at 03:58 AM

I tried and I still get the same error.

I entered this:

Open -a UE4Game.app --args /Users/dalecarman/Dropbox/Projects/Development/Oculus/unreal/test/MacNoEditor/ContentExamples/Content/Paks/ContentExamples-MacNoEditor.pak

and I get alt text

avatar image ZeroEightSix STAFF Mar 23 '14 at 04:05 AM

Instead of path to the .pak file, use path to .uproject file and also add -pak param, like in NickBB's post. This should do the trick.

avatar image carmandale Mar 23 '14 at 02:40 PM

Thanks, Michael. I am now typing this...

Open -a /Users/dalecarman/Dropbox/Projects/Development/Oculus/unreal/OculusTest/Content/build/MacNoEditor/Engine/Binaries/Mac/UE4Game.app --args /Users/dalecarman/Dropbox/Projects/Development/Oculus/unreal/OculusTest/OculusTest.uproject -pak

and I get this error: LSOpenURLsWithRole() failed for the application /Users/dalecarman/Dropbox/Projects/Development/Oculus/unreal/OculusTest/Content/build/MacNoEditor/Engine/Binaries/Mac/UE4Game.app with error -10810.

alt text

avatar image ZeroEightSix STAFF Mar 23 '14 at 03:01 PM

I don't know what can it be :( Could you click Show Details in this window to show the crash log, copy the log to a text file and attach here? Thanks.

avatar image carmandale Mar 23 '14 at 03:22 PM

I know I must be missing something obvious. I started from scratch with the first person template and tried this:

Open -a UE4Game.app --args /Users/dalecarman/Dropbox/Projects/Development/Oculus/unreal/OculusTest/OculusTest.uproject -pak

Now I get this error:

![alt text][1]

Thanks and really appreciate the help. Dale [1]: /storage/temp/2142-screenshot+2014-03-23+10.21.05.png

avatar image ZeroEightSix STAFF Mar 23 '14 at 05:29 PM

For what it's worth, I was able to reproduce this on my home Mac. I'm very sorry, but I don't have any ideas what can be wrong and at the moment I have no way to debug this. We will investigate this first thing tomorrow.

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

Hello Psauer,

it does have the executable bit set...

Dales-MacBook-Pro-2:Mac dalecarman$ ls -la total 16 drwxr-xr-x 4 dalecarman staff 136 Mar 23 09:30 . drwxr-xr-x 4 dalecarman staff 136 Mar 23 09:32 .. -rw-r--r--@ 1 dalecarman staff 6148 Mar 23 10:17 .DS_Store drwxr-xr-x 3 dalecarman staff 102 Mar 23 09:29 UE4Game.app

more ▼

answered Mar 24 '14 at 07:49 PM

avatar image

carmandale
6 1

(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