Problems with building games in unity 5

Started by
0 comments, last by Nypyren 8 years, 1 month ago
I'm working on an project with an artist, writer, and myself as programmer. Being the only one touching the unity project, I thought it would be a good idea to release builds of prototypes so we can all try things out and decide on features as a team. However our artist is not able to run the application.

The .app works on my computer. When the artist tries to open it, she unlocks it through system prefs. it Seems like it's going to open but nothing happens. There is no error message. I have tried building it in developer and on-developer modes. Can anyone suggest ways to fix this problem?
Advertisement
Without knowing anything about the code, I would try:

Make an empty Unity project, build that and give it to her. If that doesn't work, there is something fundamentally preventing Unity apps from running. I don't know if OSX needs some kind of prerequisite libraries or if there's a really aggressive virus scanner installed or what. I only build for mobile platforms, myself. Normally a Unity app will start with a splash screen slightly before any of your code could be running, so if you don't even see that splash screen, it's probably dying before this phase and isn't something your code is doing.

However, If the empty Unity project WORKS, then it's something specific to your app and it's time to look for any log output. Look to see if the app is already writing logs: http://docs.unity3d.com/Manual/LogFiles.html

If the app is not already writing logs, you can try setting up your own code to log things. Do something like this, but write to a file (and make sure to flush it often): http://docs.unity3d.com/ScriptReference/Application.LogCallback.html

There is also a thread over in the Unity forums that sounds similar: http://forum.unity3d.com/threads/game-wont-open-on-mac.61182/

And one on Reddit: https://www.reddit.com/r/oculus/comments/21xd3u/help_unity_mac_standalones_wont_open/

This topic is closed to new replies.

Advertisement