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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
Resolution Note (2020.1.X):
Too many triangles rendered causing the framerate to be slow.