Our game no longer runs on Mac OSX

So, we recently updated to a new version of Unity, specifically Unity 5.3.4p1 and now our mac users have begun reporting that the game no longer starts for them. I’ve only been able to test on a single Mac machine myself, but was not able to start the game either. We make Mac OSX Universal builds to support both 32 and 64 bit Macs and publish through Steam. Player log files all end with the same lines:

The logs contain no lines from our initialization code, so I’m assuming it’s Unity requesting some OpenGL context at start up that OpenGL on Mac OSX does not support. I’ve posted a public ticket for the issue (785505), although I’m unable to find it in the Issue Tracker (am I missing something?). Needless to say, this is incredible frustrating, so we hope someone can help us get a large part of our users playing again…

Have you tried switching the “Graphics API” in the player settings to “OpenGL2”? To do this, go into Edit/Project Settings/Player, then deselect “Auto Graphics API for Mac”, and move “OpenGL2” to the top of the list.

Thanks for the suggestion Jaimi! As you correctly assume we have made no custom changes to those settings, but I’ll try it out and return with my findings. :slight_smile:

I still think Unity should make the default settings work regardless, and I’m a little concerned about what other issues will appear in the future, if they let one of this magnitude slip by with so little interest. Of my 14 bug reports all but two are marked as Open, so I’m not even sure they are reading most of them…

Great success!
I tried what you suggested Jaimi and it seems to have solved the issue! :smile:
At least it works on the one Mac I’m able to test on at the moment.
Thanks a lot for the suggestion! :slight_smile:

Hopefully other people with the same problem will stumble upon this thread, so they will no have so search the internet in vain as I did. Oh and hopefully Unity will take action at some point, so we will be able to switch back to default settings if need be…

We will try to push a fast update for our users today, so we should be able to get some more validation of the fix to share within a few days. I’ll be back! :slight_smile:

A final update, and I shall leave this topic: I’ve received some feedback from our users indicating that it was indeed a solution to the problem. Furthermore I’ve had word from Unity saying that it has been fixed in the latest beta build (5.4.0b12). Why it was not in the latest patch build one might wonder, but perhaps it just didn’t make it in time.

Regardless, I’m really happy Jaimi’s suggestion worked and It’s nice having our Mac users back and being able to focus on the more interesting matters of game development :slight_smile:

I had no problem building and running my game using 5.3.4.p1 in Mac.

Didn’t tweak any settings.

Just a question because I’m not used to building for Mac - I see where Mac puts my exe file- where does it put the data files?

The issue that Scarzzurs (and many of us) are dealing with is the new OpenGLCore API in Unity 5.3 doesn’t work well with all drivers and versions of OSX. Some people it works fine for, and some not.

For me, it’s completely broken whenever I use post effects (anti-aliasing, Depth of Field, etc). For others, they get invalid texture errors. It’s also about 30% slower. Not ready for prime time in this version.

On a mac, your entire application is bundled into a special folder that behaves as if it’s a single file. The app file you see is all you need.

1 Like

Thanks very much for the info.