Search Issue Tracker
By Design
Votes
0
Found in
5.4.0b23
Issue ID
811101
Regression
No
[GPUInstancing] Returning meshes prevents them from being instanced
Reproduction steps:
1. Open the attached project 'Instancing'
2. Open the available scene
3. Change the Tag of the 'Player' Prefab to 'Untagged'
4. Play scene
5. Open the 'Frame Debugger' and enable it
Note: Objects are instanced, like expected
6. Change the Tag of the 'Player' Prefab to 'Instanced'
7. Play scene
8. Enable the 'Frame Debugger'
Result: No instanced objects seen. Returning meshes, like in the 'GPUInstancing' script, prevents them from being instanced.
Reproduced with: 5.5.0a3, 5.4.0b25, 5.4.0b19
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
Resolution Note (2018.2.X):
The user was calling MeshFilter.mesh for each instance, which results in each instance holding a different copy of the original mesh. MeshFilter.sharedMesh should've been used.