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
- ArgumentOutOfRangeException when manipulating the Project Settings search bar
- [Linux] Touch freezes in Player when any mouse button is clicked
- UnityEngine.Rendering.Volume.OnEnable() is called twice before OnDisable() creating multiple copies of the same volume when a volume is enabled right after Domain Reload when entering Play Mode
- Hinge Joint transforms are reset when toggling the "useMotor" property
- Motion Vector texture reports incorrect Mesh data when Mesh is coming from off-screen
Resolution Note (2020.1.X):
Too many triangles rendered causing the framerate to be slow.