Disable Nanite problem?

Tried turning off Nanite in the Project settings but has caused a slight problem. In the editor and on lots of my Material thumbnails shows the message “Nanite is enabled but cannot render”. How can I fix this?

1 Like

Hi espr3ss0,

Select all your static meshes in the content browser and right-click - from the menu that opens, turn off Nanite for them.

That’s the prolem, I’ve not been using Nanite.

Found this post and the most helpful has been “r.Nanite 0” however have to enter that every time I restart the project.
https://forums.unrealengine.com/t/nanite-is-enabled-but-cannot-render/725865

3 Likes

That last post about changing to SM5 from SM6 may work and keep the setting for your project.

Mine is only on “Disable Preview”, should I still change it?

Yeah give it a go - it may take a while to compile the shaders though…

Yeh it took a while but the error msg was only removed from the Viewport not the thumbnails …
Screenshot 2023-05-07 211817

A good start… you can change to DX11 from project settings, that will hopefully fix the thumbnails too:

3 Likes

Thanks, that does work. Left me wondering though what I might have lost from 12.

1 Like

I think mostly it’s nanite and virtual shadow maps - you can use Lumen, but software only…

Put ExecuteConsoleCommand “r.Nanite 0” into Level Blueprint and problem will be solved

Go here, put this text in defaultengine.ini so you dont have to keep restarting

4 Likes