UE5 material editor preview black floor

When i use the architectural template in UE5 to create a new blank project, the preview sphere in the material editor is very dark, and the floor is black.

This doesnt happen when i use the game template, and create a blank scene; it works like in the ue4.7, like using with the Epic HDRI background.

THe Architectural template is convenient as it auto enables Datasmith for me, so is there any setting I can change to bring back the original behaviour of the editor?

After learning a ton new info, I figured this out: the material preview window is black because it has been converted to nanite. I mas making a transparent material (which is not nanite supported yet) that’s why it was shown as black.
This came about because i used the Nanite tool to convert all of my static meshes to nanite; it’s still a good tool, i just need to disable the SM’s that are in the Engine folder, as these are the ones that are used in the Material editor (sphere, cylinder, box, etc)

2 Likes

Thank you, this helped me a lot!
I had to find the correct folder for the “Asset Viewer’s” Meshes myself.
It’s in “Engine/Content/EditorMeshes/AssetViewer” for those of you who need to find those specific Meshes. They control the HDRI for the background and the Floor Box your asset is on top of.

2 Likes

Thank you!

To change the color of the “Floor_Mesh” from black to white and make it visible :

  1. Open the “Floor_Mesh” by clicking on it
  2. Open the material called “GridMaterial” in the section “Material Slots”
  3. In the blueprint of “GridMaterial”, change the constant value that is connected to ConvertFromDiffSpace → Multiply(A) with the value set to 0 , to another value like 0.5 or 1.
2 Likes