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
- Performance Markers Search window shows an empty entry in the list
- Enabling Deep Profiling in Performance Markers Search window breaks Inspector panel buttons when navigating through the marker items
- An "InvalidOperationException" error is thrown when TryRemoveItem is used with rebuildTree set to false
- Build fails with IL2CPP error when building on Android platform in a specific project
- Resize to Fit option for Import Activity window's Columns does nothing
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