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 have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Entities not rendering on Linux build

Discussion in 'Graphics for ECS' started by RoughSpaghetti3211, Jun 18, 2021.

  1. RoughSpaghetti3211

    RoughSpaghetti3211

    Joined:
    Aug 11, 2015
    Posts:
    1,695
    Hello, Ive reached the end of my sanity trying to render entities on my Linux build. Im on Unity 2020.3 LTS and the latest packages for Entities, Hybrid Rendered ect. Im in the URP example scene with a cube containing a convertToEntity component and im also testing EntityManager.Instantiate, both work in the editor but not the build. please help


    upload_2021-6-17_19-23-13.png

    upload_2021-6-17_19-27-22.png
    upload_2021-6-17_19-33-28.png
     
  2. RoughSpaghetti3211

    RoughSpaghetti3211

    Joined:
    Aug 11, 2015
    Posts:
    1,695
    AHHHH I had Vulkan off
     
  3. Srokaaa

    Srokaaa

    Joined:
    Sep 18, 2018
    Posts:
    169
    @francois85 Could you please post here how to fix it? I am having the same problem and I hate dual-booting to windows just to have it working :/
     
  4. RoughSpaghetti3211

    RoughSpaghetti3211

    Joined:
    Aug 11, 2015
    Posts:
    1,695
    Make sure you use Vulkan graphic api in your settings.
     
  5. joshm_1

    joshm_1

    Joined:
    Mar 18, 2023
    Posts:
    1
    To be more clear, this is under Edit > Preferences > Player > Other Settings > Rendering and then un-check "Auto Graphics API for Linux" and then move Vulkan to the top and the IDE will restart.

    (Although this didn't fix the issue for me.)