Search Issue Tracker
Won't Fix
Votes
0
Found in
5.4.2f2
Issue ID
860925
Regression
No
[Graphics] DrawMeshInstanced appears to renders empty instances in some cases
Steps to reproduce:
1. Open the attached project (CharacterInstancing (u5.6.0a2).zip)
2. Open the Assets/AnimationMatrixExtraction/AnimationMatrixAssetTestScene.unity scene
3. Run the scene (You should see 10,000 Lerpz characters rendering, arranged as a grid ( 100x100 ) on a plane. Each instance is unique, with its own color and frame animation. Due to size its hard to see any details, but switching to scene view fixes that)
4. Open the Frame Debugger
5. Start stepping through the drawMeshInstance calls
6. Upon reaching the 5th and 6th drawMeshInstance calls you should not see any change in the frame Debugger view
Expected result: DrawMeshInstanced should not render empty instances
Actual result: DrawMeshInstanced appears to renders empty instances
Note:
Bug relates to features introduced in 5.6.0
If you want to play with the number of instances rendered per DrawMeshInstance call, select the 'TestFramework Combine' gameObject and check the inspector, 'NumInstancesPerGroup' be set to 1000 (with 1000, 1020, 600, 400, 200, same behavior)
Reproduced with: 5.6.0a1, 5.6.0a6, 5.6.0b1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment