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

UI Builder

-

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

  1. Response avatar

    Resolution Note (fix version 2021.2):

    Fixed in 2021.2.0a20

Comments (1)

  1. 0bb030a0c33aeca7239534a5a77537ce?d=mm

    BVigouroux

    Apr 15, 2021 12:26

    Hi,
    Any ETA about this topic?
    Regards

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.