Search Issue Tracker

In Progress

Fixed in 2022.3.58f1, 6000.0.37f1, 6000.1.0b5, 6000.2.0a2

Fix In Review for 7000.0.0a16

Votes

0

Found in

2022.3.56f1

6000.0.35f1

6000.1.0b3

6000.2.0a1

7000.0.0a17

Issue ID

UUM-93720

Regression

No

UnauthorizedAccessException is outputted when edits are made to SceneTemplateSettings with Perforce Integration Enabled

-

Steps to reproduce:
1. Download and open the attached user's project "CoverageCheckout.zip"
2. Setup a Perforce server
3. Enable Version Control in the Project Settings
4. Once the project is connected to Perforce, enable/disable any of the settings under "Project Settings -> Scene Template" e.g Texture
5. Observe the UnauthorizedAccessException outputted

Expected Results: UnauthorizedAccessException is not outputted
Actual Results: UnauthorizedAccessException is outputted when edits are made to SceneTemplateSettings with Perforce Integration Enabled

Reproducible on: 2022.3.56f1, 6000.0.35f1, 6000.1.0b3

Testing Environment: Windows 11
Not reproducible on: No other environment tested

Notes:
-Error message:
UnauthorizedAccessException: Access to the path "/Users/user/perforce/TestProject/CoverageCheckout/ProjectSettings/SceneTemplateSettings.json" is denied.
-With a project tracked in Perforce and with the Perforce Unity Version Control Integration enabled, attempts to change the global Scene Template parameters try and fail writing to the SceneTemplateSettings.json file because it is not checked out and thus R/W enabled
-Additionally, observe that the file has not been checked out or updated with the change. Closing the project and re-opening shows that the change is lost

  1. Resolution Note (fix version 7000.0.0a16):

    Editor: Fix UnauthorizedAccessException when edits are made to SceneTemplateSettings with Perforce Integration Enabled.

  2. Resolution Note (fix version 6000.2.0a2):

    Editor: Fix UnauthorizedAccessException when edits are made to SceneTemplateSettings with Perforce Integration Enabled.

  3. Resolution Note (fix version 6000.1.0b5):

    Editor: Fix UnauthorizedAccessException when edits are made to SceneTemplateSettings with Perforce Integration Enabled.

  4. Resolution Note (fix version 6000.0.37f1):

    Editor: Fix UnauthorizedAccessException when edits are made to SceneTemplateSettings with Perforce Integration Enabled.

  5. Resolution Note (fix version 2022.3.58f1):

    Editor: Fix UnauthorizedAccessException when edits are made to SceneTemplateSettings with Perforce Integration Enabled.

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.