Search Issue Tracker

Fixed in Unity 2018.3

Votes

0

Found in

2017.2.0f3

Issue ID

968454

Regression

Yes

Unity crashes at Scripting::ScriptingWrapperFor when Collider is passed as a reference to OnCollisionEnter function

Scripting

-

-

Priority: 3Not yet prioritized for a release

-

Severity: 1Crash, freeze, data loss, work stops

How to reproduce:
1. Download repro.zip
2. Open "sss" scene
3. Enter play mode
4. Unity crashes when two game objects collide

Result: Unity crashes because in newscript.cs (line 18) we are passing Collision reference to OnCollisionEnter function

Regression first introduced in: 5.6.0b3
Reproducible with: 5.6.4p3, 2017.1.2p3, 2017.2.0p2, 2017.3.0b10, 2018.1.0a5
Not reproducible with: 5.5.5p1, 5.6.0b2

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.