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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
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