Description of what’s happening
I have a maze mesh, a floor, the firspersoncharacter bp and some exit portals with an emitting color material.
Previewing the scene won’t show you the bug:
Only playing the game or simulate will make this happen, sometimes also in editor when building, playing, seems random.
That’s it, light passes through the maze’s wall
Tests
-
I added a cube after the wall; that makes me think there might be something about the maze’s mesh, maybe…
-
Disabling Affect Dynamic Indirect Lighting and Affect Distance Field Lighting on portaBP mesh fixes the issue but makes the portal look bad for me
ON
OFF
-
PortalWall of PortalBP is currently movable, i tried to set it up to static and build all, nothing changes
-
I rebuilt maze mesh uv map (using unreal engine modeling too auto uv)
-
i tried disabling nanite for both mazem test block and portalwall meshes. No changes.
Notes
Nanite is enabled, lumen is enabled
Question
How can i fix it?