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
- Crash on when D3D12RenderPass::SetupDeviceResources when opening FBX animation preview
- Serialization errors are thrown when "com.unity.render-pipelines.core" is added as a custom package and Graphics window is opened
- Character Joints unexpectedly rotate when a ragdoll is created using the Ragdoll Wizard
- Crash on GfxDeviceD3D11Base::DrawBuffersBatchMode when rendering the Scene view
- The shared EditorBuildSettings.asset file of symlinked projects is not updated when changing the order of the Scenes in Build Settings in one of the projects
Resolution Note (2020.1.X):
Too many triangles rendered causing the framerate to be slow.