Search Issue Tracker
Fixed in 2018.2.X
Fixed in 2017.1.X, 2017.2.X, 2017.3.X, 2018.1.X
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
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 (9)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Android] Stage information is not logged when Log Shader Compilation is enabled
- [Vulkan] The memory allocation increases rapidly when there are multiple (three or more) Real-Time Reflection Probes in the Scene
- [macOS] Library folder of the opened project can be deleted which leads to the crash
- “Default Scene” dropdown field contains a spelling mistake “Default Builtin”
- Editor crashes on PPtr<Mesh> after adding Text Mesh and Cloth Components to the same GameObject
Elapse
Feb 05, 2018 13:21
I'm using Unity 2017.3.0f3
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.
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.
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.
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.
frankadimcosta
Sep 05, 2017 11:08
How can I find the offending material ?