InvalidOperationException: Material needs to enable instancing for use with DrawMeshInstanced.
InvalidOperationException:材料需要启用实例化才能与DrawMeshInstanced一起使用。
选中材质,Inspector视图中,Advanced Options-Enable GPU Instancing勾选,为勾选状态。
再次运行,错误消失。
InvalidOperationException: Material needs to enable instancing for use with DrawMeshInstanced.
InvalidOperationException:材料需要启用实例化才能与DrawMeshInstanced一起使用。
选中材质,Inspector视图中,Advanced Options-Enable GPU Instancing勾选,为勾选状态。
再次运行,错误消失。