Search Issue Tracker
Fixed in 2020.1.X
Votes
0
Found in
2017.4.0f1
2018.4.0f1
2019.2.0a1
2019.3.0a1
2020.1.0a1
Issue ID
1177654
Regression
No
[VCS] Pulled empty folder .meta files are automatically deleted after pulling changes with Git
How to reproduce:
- User 1 with an empty folder runs Unity which creates a .meta file.
- User 1 commits and pushes the .meta file.
- User 2 pulls, and gets the new .meta file.
- User 2 opens Unity, but since there is no corresponding folder for the .meta file, Unity deletes the .meta file.
- User 2 commits the deleted .meta file.
- User 1 pulls again, runs Unity, and since the empty folder still exists on their computer, the .meta file is created again.
Expected result: The empty folder is automatically created when pulling its .meta file or alternatively .meta files for empty folders can't be pushed at all
Actual result: The empty folder's .meta file is automatically deleted after pulling it with Git
Reproduced in: 2020.1.0a1, 2019.3.0a12, 2019.2.2f1, 2018.4.7f1, 2017.4.32f1
Note: This behaviour does not reproduce with Perforce, with Perforce the empty folder is automatically created when pulling its .meta file. The folder does not get created when reverting lone .meta files though.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment