Search Issue Tracker
Fixed in 2020.1.X
Votes
0
Found in
2017.4.0f1
2018.4.0f1
2019.2.0a1
2019.3.0a1
2020.1.0a1
2020.1.0a2
Issue ID
1179872
Regression
No
RevertIsValid with the RevertMode.Unchanged returns true for modified assets and SubmitIsValid returns true for unchecked assets
How to reproduce:
1. Extract and open the attached project ("IsValid bugs.zip") to your preferred workspace
2. Submit the initial project including all of its Assets
3. Observe that the "test" material is not checked out
4. Go to "Simple Window" -> "SubmitIsValid" to perform a SubmitIsValid check on the "test" material
5. Observe the console
6. Check out the "test" material and change its color
7. Go to "Simple Window" -> "RevertIsValid" to perform a RevertIsValid with the RevertMode.Unchanged on the "test" material
8. Observe the console
Expected result: SubmitIsValid does not return true for assets that haven't been checked out/modified and RevertIsValid with RevertMode.Unchanged does not return true for modified assets
Actual result: RevertIsValid with the RevertMode.Unchanged returns true for modified assets and SubmitIsValid returns true for unchecked assets
Reproduced in: 2020.1.0a2, 2019.3.0b1, 2019.2.3f1, 2018.4.8f1, 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
- UI Toolkit throws warning and fails to clear references when fields are not typed as UnityEngine.Object
- "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
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