Search Issue Tracker
By Design
Votes
0
Found in
2019.3.0a2
2019.3.15f1
2019.4
2020.1
2020.2
2021.1
Issue ID
1278749
Regression
Yes
FPS drops when the Camera is on the right side of the instantiated GameObject with Graphics.DrawMeshInstancedIndirect method
How to reproduce:
1. Open the user's attached "GPU instancing test.zip" project
2. Open the "InstancedIndirectExample" Scene
3. Enter Play Mode
4. Move the Camera to the right side of the instantiated GameObject with the mouse (See attached "1278749_repro.mp4")
5. Observe the FPS in the Statistics window
Expected result: FPS is the stay when the Camera is on the left and right side of the instantiated GameObject
Actual result: FPS is lower (around 30-40) when the Camera is on the right side of the instantiated GameObject, while on the left side is higher (around 70-120)
Reproducible with: 2019.3.0a2 2019.4.12f1, 2020.1.9f1, 2020.2.0b8, 2021.1.0a1
Not reproducible with: 2018.4.28f1, 2019.3.0a1
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
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
Resolution Note:
This is normal slow down due to large GPU overdraw. Depending of the cubes generation order, the pixels can be fastly rejected or not by the depth-test.