Search Issue Tracker
Fixed in 2021.2.X
Fixed in 2020.3.X, 2021.1.X
Votes
3
Found in
2019.4
2020.1.8f1
2020.3
2021.1
Issue ID
1316724
Regression
No
[UI Builder] UnauthorizedAccessException is thrown when trying to save files under Version Control
Reproduction steps:
1. Install Version Control - Perforce (P4V)
2. Create a new Workspace in Perforce
3. Create a new project in the Workspace's root folder
4. Install UI builder
5. Create .uxml and .uss files in Window -> UI (Toolkit) -> UI Builder
6. Submit changes to the Workspace in P4V, but do not Check out
7. Try to edit and save .uss file in Window -> UI (Toolkit) -> UI Builder
Expected result: Version Control does not conflict with Unity and lets the user edit UI Builder files (.uss, .uxml)
Actual result: This error is thrown: "UnauthorizedAccessException: Access to the path "...uss" is denied.". The user is unable to save the file.
Reproducible with: 0.11.2-preview - 1.0.0-preview.12 (2019.4.23f1, 2020.3.2f1, 2021.1.0f1, 2021.2.0a10)
Notes:
- https://www.perforce.com/downloads/helix-visual-client-p4v
- No such problem when editing anything else in the Scene
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 Editor becomes unresponsive and memory allocation errors are spammed in the Console when Generating Lightning
- Crash on BatchApplyPropertiesFromSourceAssetDB when opening a specific project
- Scene view Camera cannot be moved with WASD/QE keys when the Right Mouse Button is held down and the Mouse is not moved
- Crash when calling default interface method from virtual method with same name
- [Android] Unity does not include the ".aab" extension for an AppBundle when it is built via script with the buildPlayerOptions.locationPathName = "AppName.apk" and EditorUserBuildSettings.buildAppBundle = true
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a20