Search Issue Tracker
Duplicate
Votes
12
Found in
5.0.0b22
Issue ID
672973
Regression
No
[OcclusionCulling] Occlusion Bake doesn't remove old occlusion bake files.
Baking occlusion the old occlusion cache files are not removed.
1. Open scene "BugReporting".
2. Go to Window->Occlusion Culling.
3. Bake occlusion.
4. Go to (Project Folder)/Library/Occlusion, notice the files in folder.
5. In Occlusion Culling change "Smallest occluder" to 0.08.
6. Bake occlusion.
7. Go to (Project Folder)/Library/Occlusion, notice that old occlusion files still exist.
I noticed that occlusion can reuse same occlusion files that had same scene and same options (but it will never be if you always update your scene). And after some time
(Project Folder)/Library/Occlusion folder can be very stuffed.
Reproduced: 5.0.0f4
-
shubhamswaraj2021
Aug 18, 2020 09:45
good one <a href="https://www.lyricsauto.com">lyricsauto</a>
-
Acreates
May 27, 2017 18:24
I've noted performance issues if you don't delete them: my hypothesis is that the old files are some how corrupting a clean occlusion bake.
Current deletion takes hours, approximately 4.
-
Zakowicz
Apr 12, 2017 07:34
@JTOWN- what kind of script did you use? I'm having the same issue here- 500k files/thrashes :-/. I was about to move my project folder, but it would copy in 7 hours!! (Unity 5.5.1f1).
-
J_P_
Mar 15, 2017 18:59
I had over half a million files sitting in that folder... had to make a script to manually delete them whenever I baked occlusion.
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Inspector's custom tooltip is displayed incorrectly when the name is truncated in UI toolkit
- Crash on ScriptableRenderLoopDraw when rendering a specific VFX in Play Mode
- The script is not renamed in the Project window when renaming and a compilation Error is present
- Average FPS in Play Mode degradation on a newly created BiRP project when it's upgraded from 2020.3.48f1 to a newer Editor version
- DecoratorDrawer indentation is incorrect when it is called with EditorGUI
This is a duplicate of issue #689310