Search Issue Tracker

Fixed in 2017.3.0f3

Votes

0

Found in

2017.2.0b2

Issue ID

927365

Regression

Yes

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

Terrain

-

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'

and

- 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.

Notes:
- 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. D08ed1102a970944e9252d105ba9ff72?d=mm

    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. D08ed1102a970944e9252d105ba9ff72?d=mm

    Noss1325

    Oct 22, 2017 20:06

    Still having this in 2017.2.0f3.

  3. D233aca5af7749d3e823af33cd354bd4?d=mm

    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. 689283fa2d906390fa951a5d93ad9888?d=mm

    Bartolomeus755

    Oct 16, 2017 16:07

    I have the same issue Unity 2017.2.0f3

  5. 96f03b85dae01734a5d566a7fa0d8060?d=mm

    sylon

    Oct 16, 2017 10:00

    me too. 2017.2.0f3

  6. 2c55f48a7c980f78b0d6476b1cc0b3a6?d=mm

    Mohamed-Anis

    Oct 15, 2017 08:17

    same issue here Unity Version 2017.2.0.f3

  7. C4b439e42b7ca7a76b6b4c7bd742a565?d=mm

    5566s183

    Oct 14, 2017 11:16

    same issue here Unity Version 2017.2.0.f3

  8. 10756f141d1e0f996d01482edb7b1ea4?d=mm

    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.