Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2019.1.0f2
Issue ID
1158736
Regression
No
Perforce Integration re-adds deleted files
How to reproduce:
1. Create a new project and set it up to use Perforce version control
2. Submit the project
3. In the Packages folder create a new text file
4. Close Unity and in Perforce add the newly created text file
5. In the depot, delete the added text file
6. Sync to the previous revision, when the file was added
7. Open the Unity project again, go to Window -> Asset Management -> Version Control
8. Observe the outgoing list
Expected result: the newly added text file is not automatically re-added
Actual result: the text file is automatically marked for add even when the "Automatic add" option is unchecked
Reproduced in: 2019.3.0a5, 2019.2.0b5, 2019.1.5f1, 2018.4.f1
Couldn't test with: 2017.4.28f1 (No packages folder in this version, checked with "UnityPackageManager" but it was not reproducible with it)
Note: This only reproduces with files in the Packages folder
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
This is by design.
The file is marked for delete on the server, but the local user has not updated to the server status, thus it's shown as deleted on the incoming list.
It's marked for add locally, however, the user is out of sync with the server status.
I.e. The local user sees the head action as marked for delete, but the file is added in their local project.