Got it working. There is a bug in the RenderToTexture_LevelBP. To unwrap a mesh (after fixing the blueprint), do the following:
- Drag the RenderToTexture_LevelBP into the scene (it’s under Engine Content).
- Position your static mesh above the RenderToTexture_LevelBP (not necessary but good practice).
- Wire the UnwrapUVsForRender node to the world position offset for each material.
- Under RenderToTexture_LevelBP → Capture Settings → Render Type, select Unwrapped Mesh.
- Under RenderToTexture_LevelBP → Render Unwrapped Mesh, select your static mesh using the dropper icon and click the Unwrap checkbox.