Unfortunately it is too risky to fix this issue in 6000.0. The fix has been added to 6000.1 and newer releases.
How to reproduce:
1. Extract the “Volume.zip“ project
2. Launch the project through the command line with arguments “<Unity.exe path> -projectPath <project path> -batchmode -quit -executeMethod LightingBaker.BakeLighting”
3. Open the “Assets/Scenes/SampleScene“ directory
4. Observe the Directory
Expected result: There is a file in the directory named “SampleScene Baking Set.asset“
Actual result: There are no files in the directory named “SampleScene Baking Set.asset“
Reproduced on: Windows 11 Pro (23H2)
Not reproduced on: No other environment tested
Note: If the baking is done within the Editor, the file will be created in the supposed directory (baking can be started in the top Menu: “Tools > Bake Lighting”)
Prioritise and Follow this issue
Have a workaround or additional info about this issue?