# Custom material expression not working in 4.20

**URL:** <https://forums.unrealengine.com/t/custom-material-expression-not-working-in-4-20/430086>\
**Category:** Rendering\
**Tags:** unreal-engine, custom-nodes, hlsl, question\
**Created:** [July 23, 2018, 7:33pm UTC](https://forums.unrealengine.com/t/custom-material-expression-not-working-in-4-20/430086 "2018-07-23T19:33:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MrZelektronz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MrZelektronz](https://forums.unrealengine.com/u/MrZelektronz)\
**Post date:** [July 23, 2018, 7:33pm UTC](https://forums.unrealengine.com/t/custom-material-expression-not-working-in-4-20/430086/1 "2018-07-23T19:33:21Z")

</div>

I have also published a bug report for that one, but here is the problem:

I’ve followed this tutorial to create blurry outlines: [Rendering Soft outlines in Unreal Engine - Tom Looman](https://www.tomlooman.com/soft-outlines-in-ue4/)  
And it worked in 4.19.  
But now in 4.20 it doesnt, there are no compiler errors, but there are these warnings in the output log:

 ![248246-screenshot-6.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/0/d/b/0db44a3c4c166a5322719f0da2728813b529f799.png)

You can download the testproject here: [CustomMaterialError](http://www.mediafire.com/file/vcc3g1dnfucuu3z/CustomMaterialError.rar)

To reproduce the error, just open up the showcase map and you’ll see that the post process material, which uses a custom material funtion, is not compiling.

---

<div class="post-metadata">

**Author:** ![MrZelektronz](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@MrZelektronz](https://forums.unrealengine.com/u/MrZelektronz)\
**Post date:** [August 4, 2018, 2:53pm UTC](https://forums.unrealengine.com/t/custom-material-expression-not-working-in-4-20/430086/2 "2018-08-04T14:53:42Z")

</div>

Okay a bug report has been created for that issue. It’s UE-62400 [Unreal Engine Issues and Bug Tracker (UE-62400)](https://issues.unrealengine.com/issue/UE-62400)
