I’m just putting Steam support (with Steamworks.NET) into my game and hitting an issue on OSX. The game downloads and starts, but then hangs after a few seconds an an error like the below is in the logs (no stack trace afterwards, these are the complete last lines in the log):
Receiving unhandled NULL exception
Obtained 15 stack frames.
The Mac Console has no errors either.
As a test I created a version of the game with no Steam code in it and then deleted the downloaded version and replaced it with the non-steam version (in /Users//Library/Application Support/Steam/SteamApps/common/). When I ran this through the steam client it hung too, but if I ran it from the command line it worked fine! I tried many times to confirm.
So what does the Steam client do when starting a program (open steam://run/XXX) that means it would start and hang a Unity game, that doesn’t happen from the command line?
The PC version works with no problems. I’m using Unity 5.2.1 & Steamworks.Net. When I upload to Steam I use the noscramble option in content prep.
Any help greatly appreciated!