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

RenderMeshProxy NotImplementedException in p24

Discussion in 'Graphics for ECS' started by JooleanLogic, Feb 24, 2019.

  1. JooleanLogic

    JooleanLogic

    Joined:
    Mar 1, 2018
    Posts:
    447
    Just updated to p24 and the Editor is spewing these exceptions if I add a hybrid RenderMeshProxy component to a GameObject. I haven't seen this mentioned yet so perhaps I'm missing a new package in 24?
    I've deleted library and reimported assets already and rest works fine.
    I'm on 2019.1.0b1.
    Code (CSharp):
    1. NotImplementedException: The method or operation is not implemented.
    2. Unity.Rendering.InstancedRenderMeshBatchGroup.OnPerformCulling (UnityEngine.Rendering.BatchRendererGroup rendererGroup, UnityEngine.Rendering.BatchCullingContext cullingContext) (at /home/joolean/Documents/Projects/Unity/TransporterECS_2019/Library/PackageCache/com.unity.rendering.hybrid@0.0.1-preview.4/Unity.Rendering.Hybrid/InstancedRenderMeshBatchGroup.cs:562)
    3. UnityEngine.Rendering.BatchRendererGroup.InvokeOnPerformCulling (UnityEngine.Rendering.BatchRendererGroup group, UnityEngine.Rendering.BatchRendererCullingOutput& context, UnityEngine.Rendering.LODParameters& lodParameters) (at /home/builduser/buildslave/unity/build/Runtime/Export/Rendering/BatchRendererGroup.bindings.cs:122)
    4. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
     
  2. tertle

    tertle

    Joined:
    Jan 25, 2011
    Posts:
    3,753
    Can't use orthographic camera, culling for it is not supported yet.

    -edit-

    Code (CSharp):
    1.             if (lodParams.isOrtho)
    2.                 throw new System.NotImplementedException();
    A message in there would have been handy though!
     
  3. JooleanLogic

    JooleanLogic

    Joined:
    Mar 1, 2018
    Posts:
    447
    Ah, thanks Tertle.
    I've just commented out the exception.
     
  4. Joachim_Ante

    Joachim_Ante

    Unity Technologies

    Joined:
    Mar 16, 2005
    Posts:
    5,203
    This will be fixed in the next Unity.Entities release.
     
    FROS7 likes this.