Search Issue Tracker
Fixed
Fixed in 6000.0.57f1, 6000.2.2f1, 6000.3.0a5
Votes
0
Found in
2022.3.64f1
6000.0.54f1
6000.1.13f1
6000.2.0b11
6000.3.0a3
Issue ID
UUM-113152
Regression
No
GI Cache exceeds limit when using batchmode command-line argument
How to reproduce:
1. Open the attached “IN-109289” project
2. Go to Edit → Preferences → GI Cache
3. Set the Maximum Cache Size to 5 GB and set a custom empty folder location for the cache
4. Close the project and reopen it with these command-line arguments: “-batchmode -executeMethod LightingManager.BakeSceneLighting”
5. Open the Task Manager and search for the Unity Editor
6. Wait until the Unity editor dissappears and the Lighting baking is done
7. Right click the selected custom cache folder and select Properties to make sure the folder size is above 5 GB
8. Run the project again with command-line arguments “-batchmode -executeMethod LightingManager.BakeSceneLightingOtherScene”
9. Right click the selected custom cache folder and select Properties to observe the folder size
Expected result: The GI Cache will be cleaned when attempting a new bake because the 5 GB limit is exceeded
Actual result: The GI Cache keeps growing after the second bake
Reproducible with: 2022.3.64f1, 6000.0.54f1, 6000.1.13f1, 6000.2.0b11, 6000.3.0a3
Reproduced on: Windows 11
Not reproduced on: No other environment tested
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Linux] Cannot reorder GameObjects in the Hierarchy when the AI Assistant package is installed
- [iOS] Text Input field stops receiving changes when the "Cancel" button is used on the soft keyboard
- [WebGPU] URP RenderGraph RenderPass doesn't clear textures
- Query Builder items display raw code style names instead of human readable labels in search field
- “+” button does nothing and has no functionality when clicked in Human Template "Bone Template" list
Add comment