Search Issue Tracker
Fixed in 2019.1.X
Fixed in 2018.4.X
Votes
0
Found in
2018.2.0a1
2018.2.12f1
Issue ID
1093930
Regression
Yes
Unity crashes when Material.Lerp(start, end, t) with a null "start" or "end" is called (regression)
How to reproduce:
1. Import "MaterialLerpCauseCrash.unitypackage" into any project and open "MatLerp" scene
2. In Hierarchy window, select "GameObject" object
3. In Inspector window -> "Math Lerp (Script)" -> change "Start" material to "None"
4. Enter Play mode
Expected result: the error is thrown that one of the variables is Empty/None/Null
Actual result: Unity crashes
Reproducible with: 2108.2.14f1, 2019.1.0a6
Not reproducible with: 2017.2.4f1, 2017.4.14f1, 2018.1.9f2
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment