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
- Create Node Menu is not closing and “NullReferenceException: Object reference not set to an instance of an object” error is thrown when Shader Graph window is closed
- Assert error is thrown when the Editor language is set to one of the experimental ones in an HDRP project
- A BatchDrawCommand is using a pass from the shader “Universal Render Pipeline/Particles/Lit” that is not SRP Batcher compatible
- The Scene does not get rendered in the Player when MSAA is enabled and more than one Camera is used
- Crash on mono_object_get_class when generating Font Atlas of a specific font file
Resolution Note (fix version 2021.2):
Fixed in 2021.2.0a20