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
i have this problem UE4CC-Windows-58DC12AF4B97F057BD108FBFF569B2E9_0000
I am not able to find world outliner how to enable it?
Delay nodes occasionally don't fire the "Completed" output in a nativized build
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
What method is used to fill polygonal regions when drawing spline mesh at run time?
An error occurred while trying to generate project files !?
How to achieve HLSL Multiple Render Target in Material blueprints?
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 |