The work around is to use the modeling mode normal tool to regenerate normals.
This appears to mainly occur on any cubes added by the "Copy Mesh from Static Mesh"
Regression tested in 5.0.3 at CL 20979098 where the issue is not able to be tested.

Steps to Reproduce
  1. Create a Blank Project
  2. Enable the Geometry Script plugin (restart when prompted)
  3. Open a basic level
  4. Create a new blueprint class
  5. Search for the blueprint type "GeneratedDynamicMeshActor"
  6. In the event graph, add a "Event On Rebuild Generated Mesh" node
  7. drag off the mesh pin, search for and add "Copy Mesh from Static Mesh"
  8. Set the static mesh component to "Editor Cube"
  9. Compile and save blueprint
  10. Bring the blueprint into the level
  11. add a stand alone instance of Editor Cube to the level to use as reference
  12. Create and open a new material
  13. Connect a Texture Sample using "ReferenceNormalMap" to the normal output
  14. apply the material to both cubes
    Actual Result:
    The cube created with the geometry script will have an inverted normal map
    Expected result:
    The cube's will render the same.

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-187523 in the post.

Login to Vote

Fix Commit26433210
Main Commit26433246
Release Commit26433210
CreatedMay 31, 2023
ResolvedJul 18, 2023
UpdatedJul 21, 2023