Search Issue Tracker

Fixed in Unity 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

-

-

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

  1. Aae952efebaedfb2c13853c5fb29b951?d=mm

    Wothanar

    Mar 24, 2018 20:09

    2017.2.0.f3 still happens

  2. 9709176a9f978ca4593a6b80e779f77e?d=mm

    lod3

    Dec 16, 2017 18:13

    Do we still have to wait for 2017.3 for this to be fixed, or is it possible it was slipped into one of the 2017.2.x interim builds and patches?

  3. D0d36734d264c3560e67b93c58f27d60?d=mm

    kenmarold

    Dec 14, 2017 18:44

    any resolution on this yet? I'm getting the same thing on 2017.2.0.f3

  4. 91e201bf2de894168645e44768e815ee?d=mm

    Dayn1

    Dec 13, 2017 14:57

    Yes I have it as well. Is there a fix?

  5. 2d1ccd202259b914e2589084ae06fdd3?d=mm

    Shocktor

    Dec 07, 2017 07:32

    I get this error in 2017.2.0f3

  6. 463a55e328bb295f64a79b81d5f52607?d=mm

    Vladimir-Cherkalin

    Dec 03, 2017 11:10

    get the error in Unity Version 2017.2.0f3

  7. Dd44c73ba2f1960af80995401b31b381?d=mm

    boysenberry

    Dec 02, 2017 10:24

    I get the error in Unity Version 2017.2.0f3

  8. 60fd159a096a92af92ced81458b08784?d=mm

    AndyNeoman

    Nov 10, 2017 11:42

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

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

  10. 9709176a9f978ca4593a6b80e779f77e?d=mm

    lod3

    Oct 27, 2017 15:22

    Also seeing this with 2017.2.0f3.

All about bugs

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