Material expression custom node crash on mac
I use "SceneTextureLookup(UV, TexIndex, false)" to get scene texture in my Material expression custom node code. The code work fine on PC but crash on mac. And I pretty sure that "SceneTextureLookup(UV, TexIndex, false)" cause the crash. Because after I comment this line, it won't crash any more. Plz help me. BTW Is there any way to get the scene texture as texture object?
asked Nov 26 '16 at 11:43 AM in Using UE4
So I learned this is a bug with engine version 4.18 (and earlier probably, as OP was on 4.14 at the time of asking). It does not crash on 4.21. If you want to stay on version 4.18, you'll need to switch out your custom material expression call to SceneTextureLookup for SceneTexture nodes using the material editor. In my case it sucked a lot in my case, as I really needed a for loop, which can only be done in custom material expressions, and not with the visual material editor. But at least it's no longer crashing.
answered Jan 18 '19 at 03:02 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here