Search Issue Tracker
Won't Fix
Votes
0
Found in
2017.4
2019.3.16f1
2020.2
Issue ID
1252537
Regression
No
Machine lags when instancing properties are absent from the MaterialPropertyBlock object sent to DrawMeshInstanced calls
How to reproduce:
1. Download attached "case_1115627-instancingCrash.zip" project and open in Unity
2. Open the "SampleScene" Scene
3. Enter Play mode
Expected result: Play mode functions smoothly without lagging
Actual result: Play mode is entered but the entire machine lags
Reproducible with: 2017.4..40f1, 2018.1.9f2, 2018.4.23f1, 2019.3.16f1, 2019.4.0f1, 2020.1.0b11, 2020.2.0a13, 2020.2.0a21 (on OSX and Windows)
Notes:
1. 2019.2.0a4 causes an Editor crash when entering Play mode in both OSX and Windows (stack traces in edit).
2. 2018.1.9f2 on Windows causes an ArgumentNullException (full error in edit)
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
- UI Builders incorrectly informs about a circular dependency when the reference in the second UI Document is removed
- TextMeshPro Text is misaligned when it should align in the "flush" style
- Vehicle body is lifted way above wheels containing a WheelCollider Component when entering Play Mode
- A bright horizontal line appears in Game view while underwater, when the cloud layer is enabled
- [HDRP] Clear coat materials produce screen-space reflections when the clear coat value is 0 in "Forward Only" Lit Shader Mode
Resolution Note (2020.1.X):
Too many triangles rendered causing the framerate to be slow.