Hello!
I’ve come across an issue with the latest version of UE5.0 and Nanite.
I can work in UE5 just fine and lumen is working as well. However, when I enable Nanite on static meshes I am noticing that the materials for those meshes don’t get an automatic flag added to their master material “Used with Nanite” and when the shader compilation starts after building the nanite mesh I get a shader compilation crash line: 144 fatal error.
If I reboot the engine and add the “Used with Nanite” flag to the master material before building nanite geometry it seems to work okay and I don’t get the shader compilation crash.
Am I overlooking something obvious or is this a bug?
I’ve been checking various settings and forum posts and can’t seem to a solution that works without manually looking at each asset and seeing if it crashes.
Thank you all for your help!