zerosphere / Open and Tune Unreal Project
Open the HormuzSim project in Unreal, run the sim, and find out why the scene renders black.
Create virtual session (\\.\DISPLAY5) · Open and tune Unreal project
Unreal Engine Open Unreal Engine
Captured screen state
Editor loaded cleanly. Viewport is showing the default empty level with the SkyLight actor visible in the Outliner. ScenarioDirector should spawn all ships and ocean geometry once PIE starts. Going to hit Play and see what the runtime state looks like.
Click Play to run simulation
Clicked at 498, 79
Captured screen state
PIE is running, 20 actors spawned according to the Outliner, but the viewport is completely black. This is not a scene setup issue since geometry is clearly present. Looks like the lighting path is broken entirely. Going to switch to Unlit mode to rule out geometry first, then dig into the light sources.
Focus the console command field
Clicked at 480, 1013
Typed 'viewmode unlit'
240 chars/min · 14 keystrokes
Execute console command
Pressed Enter
Captured screen state
Unlit renders fine, geometry and actors are all there. So the mesh pipeline is clean, it is purely the lighting. Focusing on SunDusk in the Outliner. Intensity reads 0 at runtime which explains the black viewport. Need to trace whether this is set wrong in the ini file or clamped somewhere in code.
Ran Get-Content Saved\Logs\HormuzSim.log...
Read SunRigComponent.cpp
Read DuskLighting.ini
Edited DuskLighting.ini +4−1
Edited SunRigComponent.cpp +12−5
Edited DuskSkyProfile.json +2−2
Edited DefaultEngine.ini +1−1
Ran Build.bat HormuzSimEditor Win64 Dev...
Relaunch simulation in editor
Pressed Shift+F5
Captured screen state
Clean up session
Worked for 23 min 04 second
Done. The root cause was DuskLighting.ini shipping Intensity=0.0 for the SunDusk light, while SunRigComponent.cpp had a clamp that locked any value at or below zero, so PIE always rendered with a completely dark key light. Fixed by setting intensity to 150,000 lux in the ini, removing the broken clamp in the component, and rebuilding the editor module. Scene now renders correctly with the full dusk lighting pass.
Sol xHigh
UE
Loading HormuzSim…
HormuzSim
▲ L_Hormuz
▤ Selection Mode 💾 ⇩ ➤ ⚲ ⤾ ⬡ 📷 0.25× ▶ ❚❚ ▣ ⇵ Trace ⌨ Cmd
◉ Perspective ⌄ Lit ⌄ 🕶 📷 ⚙ ⌄ ⛶
✓ Lit
Wireframe
Detail Lighting
Lumen
97 FPS — 10.3 ms (GPU 9.8 / Game 2.1 / Draw 8.2)
ZYX
Outliner
Item LabelType
L_Hormuz (Editor)World
HeightFogExponential…
PostProcessVolumePostProcess…
ScenarioDirectorScenario
SkyAtmosphereSkyAtmos…
SkyLightSkyLight
SunDuskDirectional…
VolumetricCloudVolumetric…
9 actors
▦ Content Drawer 🗒 Output Log ⌘ Cmd
Enter Console Command
Diagnostics ✔ Zen Server All Saved
Take control