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
- Build fails when building a project containing an 18+ dimension array with IL2CPP
- [Android][Sentis] Human poses are not detected when using the BlazePose model
- Sprite Editor Outline Tool Overlay is not displayed when no Sprite is selected
- “No method with RuntimeInitializeOnLoadMethod attribute” warning from ReadmeEditor.cs is thrown after installing Project Auditor Rules
- Projection matrix is altered when using RasterCommandBuffer.ClearRenderTarget on DX12 and Metal
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"