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

DOTS Entity not displayed

Discussion in 'Entity Component System' started by Risine, Apr 27, 2022.

  1. Risine

    Risine

    Joined:
    Dec 10, 2009
    Posts:
    154
    Hello,
    I'm just beginning in DOTS and trying to experiment by creating a new 3D empty project.
    1/
    I added packages:
    com.unity.entities
    com.unity.Rendering.hybrid (and added the symbol flag ENABLE_HYBRID_RENDERER_V2)
    universal RP
    2/
    I added a subscene, and a simple cube prefab in the subscene.
    However, when launching to see the cube as an entity, it's not diplayed on the screen, and there are no errors.

    If someone has an idea...
    Thanks
     
    NoFuchsGavin likes this.
  2. dorianvasile

    dorianvasile

    Joined:
    Jul 1, 2020
    Posts:
    7
    I'm having the same issue, unable to render any entities after upgrading to 0.50. I tried a fresh test project and rendering a cube with ConvertToEntity, but on launch the cube does not render.

    The packages installed:
    Code (JavaScript):
    1. "com.unity.render-pipelines.universal": "10.8.1",
    2. "com.unity.entities": "0.50.0-preview.24",
    3. "com.unity.rendering.hybrid": "0.50.0-preview.24",
    Components on the cube that is not rendering
    upload_2022-4-27_18-34-25.png
     
    NoFuchsGavin likes this.
  3. Risine

    Risine

    Joined:
    Dec 10, 2009
    Posts:
    154
    I succeeded to make that work, what Unity version are you using? You have to use 2020.3.33f1, newer versions (2021/2022 are not compatible with entity 0.5)
     
  4. dorianvasile

    dorianvasile

    Joined:
    Jul 1, 2020
    Posts:
    7
    I was using 2020.3.30f1, tried upgrading to 2020.3.33f1 and still no luck. Have tried the cube with ConvertToEntity and a cube in a subscene, neither render with the packages listed in my earlier post.
     
  5. dorianvasile

    dorianvasile

    Joined:
    Jul 1, 2020
    Posts:
    7
    Ah sorry I finally figured it out, I was not using URP correctly. Followed this tutorial
     
    slushieboy99 and Antypodish like this.