Search Issue Tracker

By Design

Votes

0

Found in

5.3.4f1

Issue ID

790664

Regression

Yes

[Linux] Builds crash if Graphics API is set to auto

Linux

-

Steps to reproduce:
1) Open the project attached by user (works with any project).
2) Make sure that 'Auto Graphics API for Linux' is checked in the Player Settings.
3) Build the project for Linux.
4) Open the build.
> It crashes right after opening.
5) Open the build with a command-line argument -force-opengl.
> It doesn't crash.

*Note: if the 'Auto Graphics API for Linux' option is unchecked and the 'OpenGL2' option is selected as default, the build runs fine.

Reproduced on:
5.3.4f1, 5.4.0b16

Did not reproduce:
5.2.2f1

Comments (3)

  1. ai_enabled

    Jun 04, 2016 03:22

    Tak, thanks for response.

    But the problem is - the issue still not fixed. I'm using latest patch release - Unity 5.3.5p2 - and Unity crashes on launch when set to "Auto Graphics API for Linux" and GPU driver supports only OpenGL 2.1. The error message says that at least OpenGL 3 is required - so it looks like it tries to run the game with OpenGL Core renderer, fails and crash.

  2. Tak

    Jun 03, 2016 22:51

    Sorry, the public page doesn't contain all the internal information.
    The crash itself is due to a bug that has been fixed - however, the current behavior will be to print a message and exit if OpenGL core is the prioritized API and the system doesn't support it.

  3. ai_enabled

    Jun 03, 2016 07:04

    By design? And no explanation...

    The problem is critical - if OpenGL 3 is not available the game crashes immediately.
    What the purpose of having "Auto Graphics API for Linux" if this is misleading and simply will not work?

    It could simply detect what the OpenGL is available and then decide what to use - OpenGL Core or old OpenGL2 renderer. What's "by design" here? This one is a simple one line check for the engine!

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.