Linux Build: Roll A Ball Doesn't Start Up

Hey All,

So I’m still fairly new to Linux (couple of months) and brand new to Unity3d. I just finished the roll a ball tutorial, and built the game for Linux. Now when I click on the executable, I get the roll a ball configuration page (the one were you set the resolution), and when I hit Play… It looks like a screen tries to pop up for a split second… and then nothing. Anyone have any ideas?

Check the log file inside ~/.config/unity3d/[your company]/[your project]/Player.log (press control+H to reveal hidden files, then locate the .config folder in your home directory). You might be able to figure out why it’s crashing.

Does it work in the editor?

I’ll have to check that in a bit, as I’m away from my pc. Yes, it works in the editor. I can run the game and everything. Also if it helps, I am able to run other unity3d games that have been deployed to linux, so I know I have the dependencies needed.

Thanks for pointing me to those logs.

Looks like my openGL isnt current. Been trying to figure this out for a hr or so now with no luck. Ah well. Anyways, I was able to deploy the game successfully to windows and test it there. At least I can run the game through the Unity Editor. If anyone knows a way to update OpenGL, that would be appreciated. If not, completely understand. This isnt the forum for that. Thanks again!

Try opening a terminal, drag in your game executable and continue typing: --force-opengl, then press enter. The game will launch in OpenGL 2.1 mode.