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
- After converting a Built-in project to URP render texture related errors are spammed that can lead to Game view being rendered on top of Scene view
- UI Builder slider value lags and stutters when sliding/modifying certain property values
- "Reset UI Builder Layout" functionality inconsistently changes Canva Size when "Match Game View" is enabled/disabled
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
Add comment