Search Issue Tracker
Fixed in 2020.1.X
Votes
0
Found in
2017.4.0f1
2018.4.0f1
2019.2.0a1
2019.3.0a12
2020.1.0a1
Issue ID
1178325
Regression
No
[VCS] GetLatestIsValid and LockIsValid always returns false for "asset" types
How to reproduce:
1. Extract the attached project to your preferred workspace and open it ("GetLatestIsValid and LockIsValid issue.zip")
2. Connect it to Perforce and submit the project
3. Check out the two new material files and go to "Simple Window" -> "LockIsValid"
4. Observe that "New Material 1" (added as AssetList type) returned true and "New Material" (added as Asset type) returned false
Additional repro steps for GetLatestIsValid:
5. Make changes to the two materials and submit the files
6. Grab their previous revisions to get them to an out of sync state
7. Go to "Simple Window" -> GetLatestIsValid" and observe the console
Expected result: GetLatestIsValid and LockIsValid returns true when appropriate for both AssetList and Asset types
Actual result: GetLatestIsValid and LockIsValid returns false for both Asset types no matter what
Reproduced in: 2020.1.0a1, 2019.3.0a12, 2019.2.2f1, 2018.4.7f1, 2017.4.32f1
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 (fix version 2020.1):
The Provider API will be reworked in the future. We've decided to update the documentation to better reflect the method's peculiarities instead