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
- Shader Graph Material is left in broken state when switching from a .git branch with no HDRP to a branch that contains HDRP
- Crash on buffer_add_value_full when hovering over SerializedProperty.boxedValue in Debug Mode after ISerializationCallbackReceiver.OnAfterDeserialize modifies value
- Editor is not capitalised consistently in Preferences window
- [Linux] “Restore Defaults” warning window appears behind Profiler Modules dropdown
- [iOS] Time.deltaTime is switching between 9.998583E-06 and approximately 0.01 seconds
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 ?