Search Issue Tracker
Fixed
Votes
0
Found in [Package]
2020.1.0a17
2021.1
2021.2
2021.2.0a13
Issue ID
1333656
Regression
Yes
[VCS, AssetDatabase] AssetDatabase.DeleteAsset throws an error if the path is invalid when using Perforce as VCS
How to reproduce:
1. Open the user's attached project
2. Make sure that Version Control Mode is set as Perforce in the Project Settings
3. In the Menu bar, select Test and Test Delete Asset Invalid File or Test Delete Asset Invalid Path
Expected result: There are no errors
Actual result: ArgumentNullException appears
Reproducible with: 2020.1.0a17, 2020.3.7f1, 2021.1.6f1, 2021.2.0a16
Not reproducible with: 2018.4.34f1, 2019.4.26f1, 2020.1.0a16
Note: This error does not occur when the Version Control Mode is set to "Visible Meta Files" or "Hidden Meta Files"
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
- NullReferenceException when setting 'isTextObjectScaleStatic' to false on a disabled TextMeshPro GameObject
- Shader Stripping Custom Options disappear when exiting Play mode without reloading Domain
- Decals do not get projected when 'Rendering Layer Mask' on a GameObject is 23rd Layer or above due to encoding/decoding issues
- Deriving from SearchContextAttribute doesn't always work
- Scripting API documentation is missing for macOS editor extensions
Resolution Note:
Fixed in: 2022.2.0a3
Resolution Note:
Fixed in: 2021.2.12f1
Resolution Note:
Fixed in: 2022.1.0b8
Resolution Note:
Fixed in: 2020.3.29f1