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
- TMP material doesn't update when using Localized Property to change the font assets
- New Artifact generated for Video when reimporting with identical settings
- “ArgumentOutOfRangeException: Length cannot be less than zero.“ error or “NullReferenceException: Object reference not set to an instance of an object“ error is thrown when CoreUnsafeUtils.FixedBufferStringQueue reads out of bounds
- URPPreprocessBuild.OnPostProcessBuild is never executed when building the Player
- [Linux] Using CTRL+Shift+A shortcut for Add Component throws GUI Rendering Errors
Resolution Note (2020.1.X):
Too many triangles rendered causing the framerate to be slow.