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. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. Dismiss Notice

Question Unity VR- Compatible Graphic APIs

Discussion in 'VR' started by milosbogdan262, May 28, 2023.

  1. milosbogdan262

    milosbogdan262

    Joined:
    Jan 7, 2022
    Posts:
    1
    I am trying to make a VR game in unity but the only API that works as intended is Direct3D. If I use OpenGL or Vulkan and hit play, the game only shows on screen in the editor window but doesn't pop up in VR. Does anyone have a solution for this so that I can render the scene in openGL? I am running version 2021.3.23f1 and using a meta quest 2 linked to my pc
     
  2. EdBlais

    EdBlais

    Unity Technologies

    Joined:
    Nov 18, 2013
    Posts:
    303
    On Windows, DX11 is the only supported graphics API for Oculus/Meta. The Editor uses the Windows settings for graphics api, but if you build for Android and deploy the application to your device, both OpenGL and Vulkan are valid graphics API options.
     
    DevDunk likes this.