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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
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