When a material has a static bool parameter AND this is overridden in a material instance, Trying to change Blend Mode or Shading Model under the Material Property Overrides crashes the editor.
This doesn't happen without the static bool parameter in the parent or if the static bool is left alone and not overridden.
Regression: Checked 4.12 and 4.13 but couldn't repro
Here is the important log error:
Couldn't find Shader TShadowDepthVSVertexShadowDepth_OutputDepthfalse for Material Resource BaseMaterial!
With VF=FLocalVertexFactory, Platform=PCD3D_SM5
ShouldCache: Mat=1, VF=1, Shader=1
MaterialUsageDesc: LightingModel=MSM_DefaultLit, BlendMode=BLEND_Masked, SpecialEngine=0, TwoSided=0, TSNormal=1, Masked=1, Distorted=0, WritesEveryPixel=0, ModifiesMeshPosition=0, Usage={}
Attached a sample to make this easier.
1. In the attached project, open BaseMaterial_Inst
2. Override Blend Mode or Shading Model - note it works as expected
3. Check the override box for UseTexture (Static Bool Parameter)
4. Try step #2 again
Result: Editor crashes
Expected: Don't crash
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-39754 in the post.
0 |
Component | UE - Graphics Features |
---|---|
Affects Versions | 4.14.1 |
Target Fix | 4.15 |
Created | Dec 14, 2016 |
---|---|
Resolved | Jan 26, 2017 |
Updated | Jun 23, 2018 |