Search Unity

Where is Unity.Rendering class in Entities?

Discussion in 'Graphics for ECS' started by llxwd008, Feb 18, 2019.

  1. llxwd008

    llxwd008

    Joined:
    Aug 7, 2015
    Posts:
    49
    I'm starting to use ECS now, many examples use MeshInstanceRenderer, which I need using Unity.Rendering. But if I use the newest version of Entities, there is no Unity.Rendering in folder com.unity.entities. If I back to pre version, etc, 0.0.12-preview.5, there is Unity.Rendering.Hybrid.
    So, where is the Unity.Rendering in the newest version of entities package?
     
  2. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,761
    It's in a seperate package.
    com.unity.rendering.hybrid

    And it's now called RenderMesh not MeshInstanceRenderer.
     
  3. llxwd008

    llxwd008

    Joined:
    Aug 7, 2015
    Posts:
    49
    Thank you! I'll try this.
     
  4. llxwd008

    llxwd008

    Joined:
    Aug 7, 2015
    Posts:
    49
    By the way, where can I find all the com.unity.XXXX packages list? So if it changes, I can find the quickly.
     
  5. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,761
    Usually just package manager, but if you really want to be cutting edge you can use the staging directory

    "registry": "https://staging-packages.unity.com",

    and you'll get access to their internal, potentially buggy, packages.