Search Issue Tracker

Fixed in 2017.3.0f3



Found in


Issue ID




[Regression][API] 'scriptParameterClass != NULL' exceptions thrown when opening project containing OnTerrainChanged API



Steps to repro:

1. Open attached project and 't1' scene.

Expected result:
No errors thrown.

Actual result:

2 errors:

- Assertion failed: Assertion failed on expression: 'scriptParameterClass != NULL'


- Script error: OnTerrainChanged
This message parameter has to be of type: int
The message will be ignored.

are thrown in the console. See attached screenshot.

Regression introduced in Unity 2017.2.0a2.

- Reproducible in 2017.2.0b2, 2017.1.0a2;
- Not reproducible in 2017.1.0a1, 2017.1.0f2, 5.6.1p2;
- Reproducible on OSX 10.12.5 and Windows 10.

Comments (18)

  1. Noss1325

    Oct 22, 2017 20:07

    Also happens in Unity 2017.2.0f3, AND each time I press start in editor, and many times (randomly ?) when navigating through scene objects from Hierarchy view.

  2. Noss1325

    Oct 22, 2017 20:06

    Still having this in 2017.2.0f3.

  3. Devon-L

    Oct 19, 2017 08:41

    Is this issue going to be reopened for 2017.2.0.f3?
    and yes "same issue here Unity Version 2017.2.0.f3"

  4. Bartolomeus755

    Oct 16, 2017 16:07

    I have the same issue Unity 2017.2.0f3

  5. sylon

    Oct 16, 2017 10:00

    me too. 2017.2.0f3

  6. Mohamed-Anis

    Oct 15, 2017 08:17

    same issue here Unity Version 2017.2.0.f3

  7. 5566s183

    Oct 14, 2017 11:16

    same issue here Unity Version 2017.2.0.f3

  8. alienheretic

    Oct 13, 2017 20:51

    same issue here Unity Version 2017.2.0.f3

Add comment

Log in to post comment

All about bugs

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