Reproduction steps:
1. Open the attached project "ReproProj"
2. Open the “/Assets/Samples/SampleSceneAssets/Scenes/SampleScene.unity” Scene
3. Open the Lighting window (Window > Rendering > Lighting)
4. Press “Generate Lighting”
Expected result: Lighting is generated
Actual result: The project is stuck on loading Global Illumination and errors about memory leaks are seen in the Console window
Reproducible with: 2022.2.0b4, 2022.3.5f1, 2023.1.0a19
Not reproducible with: 2021.3.28f1, 2022.1.24f1, 2023.2.0a23
Could not test with: 2022.2.0a1, 2022.2.0b3 (crashes when opening the project)
Fixed in: 2023.1.0a20
Reproduces on: Windows 10 Enterprise 21H2
Notes:
- Warnings about leaked memory are shown in the Console window “Internal: JobTempAlloc has allocations that are more than the maximum lifespan of 4 frames old - this is not allowed and likely a leak”, ”To Debug, run app with -diag-job-temp-memory-leak-validation cmd line argument. This will output the callstacks of the leaked allocations.”
- The Lightmapper stops working when Probe Volumes are enabled, or even when there is just a Probe Volume component in the scene regardless of whether they are enabled in the settings. As soon as you start to generate lighting memory leak warnings will constantly start showing up in the Console and the progress bar will show up in the bottom right but never go above 0%, even after hours of waiting