Search Issue Tracker

Fixed in Unity 2018.2

Votes

14

Found in

2017.1.0b9

Issue ID

919769

Regression

Yes

Crash in SplatMaterials::FindMaterialProperties when opening a scene with a certain Terrain and Material combination

Scene Management

-

-

Priority: 2Necessary for shipping a final release

-

Severity: 1Crash or major loss of functionality

To reproduce:
1. Attempt to open the attached project (or "Tilt Brush Landscape" scene);
2. Remove "crystal.mat" material from the Assets folder;
3. Open the attached project.

Expected result: Unity does not crash when opening a scene.
Actual result: Unity crashes when opening a scene with a certain Terrain and Material combination.

Reproduced on versions: 2017.1.0a1, 2017.1.0f3, 2017.2.0b2.
Not reproduced on versions: 5.5.4p1, 5.6.2p2.

Regression introduced on version: 2017.1.0a1.

Comments (6)

  1. 14c8e09f577fef41247fa552152a035d?d=mm

    Elapse

    Feb 05, 2018 13:21

    I'm using Unity 2017.3.0f3

  2. 14c8e09f577fef41247fa552152a035d?d=mm

    Elapse

    Feb 05, 2018 13:20

    I tryed as you commented. I'm able to get to the terrain with all its materials and look as is should be. But Unity keeps crashing when I restart it.

  3. 5dc592b46e50537b46bbda7b3a8335b0?d=mm

    BearHugMark

    Jan 01, 2018 12:38

    So we just found a fix for the landscape with custom material crash.

    Test: Go to your terrain->settings and try changing your custom material and it'll crash.

    Fix: First change "Material" from "Custom" to "Built In Standard".
    Now change it back from "Built In Standard" to "Custom".
    Set your material to whatever you want and it works. Save and your project will reload fine without crashes.

  4. 5dc592b46e50537b46bbda7b3a8335b0?d=mm

    BearHugMark

    Dec 14, 2017 14:21

    Having the exact same problem. Thanks for the tip about closing the scene and game tabs and loading that way.

  5. 2a2e240c722f11a980d9ab4b31f8bb31?d=mm

    frankadimcosta

    Sep 06, 2017 21:03

    If I open the scene in editor with scene tab and game tab closed, loading is compled without crash.

  6. 2a2e240c722f11a980d9ab4b31f8bb31?d=mm

    frankadimcosta

    Sep 05, 2017 11:08

    How can I find the offending material ?

All about bugs

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