Which 2021.2 version are you on exactly? There was a regression which disabled realtime GI updates introduced in 2021.2.0a14, but has since been fixed in 2021.2.0a19. I would suggest updating to 2021.2.0a19 and trying again.
I’m using 2021.2.0b1.3029. Everything works fine in the Unity editor, and I’m able to set Realtime Global Illumination in the Lighting panel, but when I build the project, and run it, there is no longer any realtime light bounce.
To reproduce:
Create a new project using HDRP.
Using the SampleScene, change the light mode of “Directional Light Sun” to Realtime.
Enable Realtime Global Illumination in the Lighting panel. (Disable Baked Global Illumination for faster lightmap generation)
Generate Lighting. (The Realtime GI of the sun should work fine at this point)
Build the project with the SampleScene.
Run the EXE. (At this point, the Realtime GI doesn’t work in-game for me).
If it helps:
I’m using Windows 10.
Building for Windows x64.
Using Auto Graphics API for Windows.
Graphics card is a Nividia GeForce GTX 1650.
Yes, horrible support of the Enlighten. Nothing fixed at all. Also it still reset all GI after exit and enter the editor, and you always need to rebuild it.
I also discovered another bug shortly after submitting this one: enabling/disabling the checkbox for Realtime Global Illumination in the Lighting panel doesn’t update the realtime lightmaps. I have a feeling this problem is related to the initial bug, and I filed another report for that:
The case ID is: 1346418
There’s some additional information regarding the problem on that second bug report. The lightmaps will update if you rapidly click the Realtime Global Illumination checkbox in the editor, but only when the scene has large realtime lightmaps to calculate.