Search Issue Tracker
Won't Fix
Votes
0
Found in
6000.0.61f1
6000.2.8f1
6000.3.0b8
6000.4.0a3
Issue ID
UUM-125562
Regression
No
[macOS] Library folder of the opened project can be deleted which leads to the crash
How to reproduce:
1. Create any Unity project
2. While the project is opened, navigate to the root folder and delete the "Library" folder
3. Observe the results
Expected results: The whole Library or some files can't be deleted since they are currently used by the Engine and there is a protection from deleting them
Actual results: The whole Library can be deleted and project crashes
Reproducible with: 6000.0.61f1, 6000.2.8f1, 6000.3.0b8, 6000.4.0a3
Reproducible on: macOS Tahoe 26 (M1)
Not reproducible on: Windows 11
Note: Some files in Windows can't be deleted since the protection from deletion works, and the project doesn't crash in this case
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
- Shadow cascades and lights flicker when using Shadowmap Sampling
- Frame Debugger is not disabled when switching Scenes if the Frame Debugger window is not open during the transition
- Standalone Profiler Targets another Project if a Standalone Profiler was launched in it before when switching between Edit or Play Mode Targets
- Crash on ForwardRenderLoopJob when opening a specific project
- [Android] Memory leak and eventual crash on Snapdragon 8 Gen 1+ devices when a Clear Pass is executed after Framebuffer Fetch
Resolution Note:
It is generally not safe to delete the Library folder while the project is open in the Editor.
There are some old docs that refer to this:
https://docs.unity3d.com/530/Documentation/Manual/BehindtheScenes.html
"However, it is always safe to delete the Library folder (while the project is not open in Unity) as all its data is generated from what is stored in the Assets and ProjectSettings folders"