I am reporting a critical, 100% reproducible bug in Unreal Engine 5.6.0 that leads to permanent project corruption. The bug is triggered by a specific sequence of enabling and then disabling the Allow Static Lighting
setting in a C++ project.
The issue first manifests as a permanent loss of dynamic shadows and then escalates to a complete module rebuild failure, rendering the project unusable.
Engine Version: 5.6.0 Project Type: C++
Exact Steps to Reproduce (STR):
The bug occurs following this exact sequence:
- Create a new project using the “First Person” template, with the project type set to “C++”.
- After the project is created and compiled, observe that by default, the
Allow Static Lighting
setting inProject Settings -> Engine -> Rendering
is disabled. - Action 1 (Breaking Shadows): Enable the
Allow Static Lighting
checkbox. The editor will prompt for a restart. - After the editor restarts, dynamic shadows from the default Stationary Light will now be permanently broken and will not render on the movable character, even after rebuilding lighting.
- Action 2 (Corrupting the Project): Now, navigate back to the same setting and disable the
Allow Static Lighting
checkbox again, returning it to its original default state. - The editor will prompt for another restart. Close the editor.
- Attempt to launch the project again.
Expected Result:
The project should function correctly at all stages. Toggling a core rendering feature should not lead to permanent, unrecoverable issues.
Actual Result:
The project enters a permanently broken state.
- After Step 4, the dynamic shadows are lost and cannot be recovered, even if lighting is rebuilt.
- After Step 7, the project fails to launch entirely, displaying an error message: “The following modules are missing or built with a different engine version… Would you like to rebuild them now?”
- Attempting to rebuild the modules fails.
- Even after a full manual recovery (deleting
Saved
,Intermediate
,Binaries
folders and regenerating Visual Studio project files), the dynamic shadow functionality does not return, proving that the project’s lighting configuration has been permanently corrupted by this process.
Conclusion:
The workflow of enabling, and then later disabling, the Allow Static Lighting
feature in a C++ project is fundamentally broken in UE 5.6.0. It causes irreversible damage to the project’s compiled state and lighting behavior. This is a highly critical bug as it can easily be triggered by developers experimenting with rendering settings, leading to catastrophic project failure.
I hope this precise report helps your team to investigate and fix this severe issue.
Thank you.