Substrate Materials not compatible with City Sample?

Hi all, I’m using 5.2 and just downloaded the city sample assets. However, when I enabled substrate materials in the project settings the file just simply crashed and subsequently keeps crashing without fail on open. Any ideas?

Hi,

Thank you for reporting the issue. We were not aware of that. We will have a look soon, and report if there is any ways to mitigate these crashes.

/Charles.

There a typo in 5.2 in Engine\Shaders\Private*BasePassPixelShader.usf* line 675. You just need to change BenNormal into BentNormal, and restart the engine. After that the demo should run, but a few material won’t work due to VT issue. I need to investigate that as it seems Substrate related.

Cheers,

/Charles.

2 Likes

The material conversion issue was due to some validation logic for detecting OpacityMask usage with virtual texture. Our Substrate’s material conversion was incorrectly triggering that validation, causing material error. This will be fixed in 5.3.

/Charles.

1 Like