Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Official OpenGL Deprecation and Removal for macOS and Windows

Discussion in 'General Graphics' started by dnach, Jul 22, 2022.

  1. dnach

    dnach

    Unity Technologies

    Joined:
    Mar 9, 2022
    Posts:
    89
    Greetings from the graphics platforms team!

    With the release of macOS Mojave 10.14, Apple discontinued official support for OpenGL (core), and a Metal support GPU is a system requirement.

    As a result, we will officially deprecate the OpenGL graphics API for macOS platforms in the 22.2 release, and Unity 2022.2’s system requirements increase the minimum required macOS version to 10.14 for both the Editor and the Player. We are going to remove OpenGL support for macOS entirely in Unity 2023.1.

    Removal of the OpenGL backend will reduce our developers' maintenance overhead, allowing us to spend more time on meaningful improvements to performance and stability, as well as new features. With this in mind, we are now evaluating the deprecation and removal of OpenGL support for Windows platforms.

    Our existing analytics indicate that the absolute majority of Windows editors and players are targeting DirectX and are also capable of supporting the Vulkan graphics API as a reliable alternative. However, to ensure no negative impact on users, we are also investigating and evaluating all possible dependencies on OpenGL (such as native plugin usage).

    To better understand your needs in regards to OpenGL support, we would appreciate it if you could take a few minutes to fill out the following survey: OpenGL Deprecation and Removal for Desktop Platforms.

    We will continue to maintain support for the OpenGL graphics backend for Linux in the foreseeable future as we monitor the state of Vulkan support and utilization for the Linux Editor and Player.

    Your feedback is essential - so if you are currently targeting OpenGL, please let us know your use cases and share any insights you would like us to consider moving forward!
     
    M_MG_S and ali_mohebali like this.
  2. wwWwwwW1

    wwWwwwW1

    Joined:
    Oct 31, 2021
    Posts:
    761
    I think it'd be nice to keep the OpenGL backend support in Unity Editor on Windows.

    The reason that I switch from DirectX to OpenGL in Unity is to test shaders (for OpenGL ES devices and WebGL) and it's quite convenient because I don't need to build the project each time.

    Considering that URP is the only future pipeline that supports OpenGL (though with limited features support), I recommend considering removing OpenGL support in Unity Editor (Windows) only after BiRP has been deprecated.
     
  3. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983
    Please keep in mind that this doesn't guarantee anything. The real devices are backed by different GPUs, drivers and shader compilers, and the way editor works is very different from the player.
     
    wwWwwwW1 likes this.
  4. martinofigueroa

    martinofigueroa

    Joined:
    Feb 8, 2017
    Posts:
    11
  5. aleksandrk

    aleksandrk

    Unity Technologies

    Joined:
    Jul 3, 2017
    Posts:
    2,983
  6. martinofigueroa

    martinofigueroa

    Joined:
    Feb 8, 2017
    Posts:
    11
    dnach, DevDunk and aleksandrk like this.
  7. Chris-RH

    Chris-RH

    Joined:
    Apr 21, 2022
    Posts:
    218
    Out of curiosity, I'm wondering if you could tell me if there are still plans to depreciate OpenGL support in Windows please. If so, what sort of timescale are we looking at? Thank you.

    @dnach @aleksandrk