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
- Texture is stored upside down when using Blit
- [VFX] Missing Expand Toggle with Output Slot
- [OpenGLES][XR] Zooming in on the camera's URP opaque texture causes "double vision" on Quest in OpenGLES3
- “[Worker0] Could not generate preview image“ error when opening macOS native plugin in the Inspector with Architecture to build for set to ARM 64-bit
- [iOS] Application.absoluteURL is empty on Awake/Start when opening via deep link with Splash Screen disabled
Add comment