Search Issue Tracker

Fixed in Unity 2017.3

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

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 4Minor or cosmetic issue

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 (11)

  1. 60fd159a096a92af92ced81458b08784?d=mm

    AndyNeoman

    Nov 10, 2017 11:42

    I get this error and the editor crashes when exiting play mode.

  2. Fb9d13c43531a2e3067c909c92110482?d=mm

    JamesArndt

    Nov 07, 2017 22:52

    Why is the voting close when this is not yet fixed. I am seeing this spamming the console in 2017.2.-f1

  3. 9709176a9f978ca4593a6b80e779f77e?d=mm

    lod3

    Oct 27, 2017 15:22

    Also seeing this with 2017.2.0f3.

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

  5. D08ed1102a970944e9252d105ba9ff72?d=mm

    Noss1325

    Oct 22, 2017 20:06

    Still having this in 2017.2.0f3.

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

  7. 689283fa2d906390fa951a5d93ad9888?d=mm

    Bartolomeus755

    Oct 16, 2017 16:07

    I have the same issue Unity 2017.2.0f3

  8. 96f03b85dae01734a5d566a7fa0d8060?d=mm

    sylon

    Oct 16, 2017 10:00

    me too. 2017.2.0f3

  9. 2c55f48a7c980f78b0d6476b1cc0b3a6?d=mm

    Mohamed-Anis

    Oct 15, 2017 08:17

    same issue here Unity Version 2017.2.0.f3

  10. C4b439e42b7ca7a76b6b4c7bd742a565?d=mm

    5566s183

    Oct 14, 2017 11:16

    same issue here Unity Version 2017.2.0.f3

All about bugs

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