Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Auto Graphics API Causing Players Issues

Discussion in 'Editor & General Support' started by MacFBG, Nov 10, 2016.

  1. MacFBG

    MacFBG

    Joined:
    Jan 23, 2016
    Posts:
    18
    Hey folks,

    I've had some players with OpenGL and D3DLL errors in their output logs. I started looking at the player settings I'm using and noticed the 'Auto Graphics API' is enabled for all my build platforms (Windows, Mac & Linux).

    For Linux users we've found that if they alter the system variables it's possible to fake their systems OpenGL capabilities, this results in them being able to play. But it seems strange that the system would appear incompatible but run just fine.

    export MESA_GL_VERSION_OVERRIDE=3.2
    export MESA_GLSL_VERSION_OVERRIDE=150

    For other users most notably Windows users, they simply cannot run the game.

    I'm wondering whether this Auto Graphics API being on is forcing an incompatible DirectX or OpenGL version for some users. Could anyone enlighten me on the purpose of the Auto Graphics and whether it's better to perhaps untick this and have the prioritised list instead?
     
  2. MacFBG

    MacFBG

    Joined:
    Jan 23, 2016
    Posts:
    18
    [SOLVED]

    The answer is this instance was to change the Auto Graphics API for Linux users to use OpenGL2 by default.

    We will likely use a similar approach for PC users to ensure Directx 9 can be used. I had assumed the fact that it was 'Auto' would take care of this automatically, apparently not.