Search Issue Tracker
Fixed in 2019.1.X
Fixed in 2018.3.X
Votes
0
Found in
2018.3.0a1
2018.3.0b4
2019.1.0a1
Issue ID
1090199
Regression
Yes
Crash on PhysicsScene2D::IgnoreCollision_Binding when passing GetComponent() which returns null to Physics2D.IgnoreCollision()
How to reproduce:
1. Open the "Physics2D Ignore Collision crash.zip" project
2. Open the "SampleScene.unity" scene
3. Press Play
Actual result: Unity crashes.
Reproducible with: 2019.1.0a9, 2019.1.0a1, 2018.3.0b10, 2018.3.0a1.
Regression introduced in: 2018.3.0a1.
Not reproducible with: 2018.2.16f1, 2018.2.0a1, 2018.1.9f2, 2018.1.0a1, 2017.4.15f1.
----------------------------
Fixed in 2018.3.0b12, 2019.1.0a11.
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
- 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
Resolution Note (fix version 2019.1):
This and other cases of crashes when passing the special null values from GetComponent to APIs has been fixed.