Search Issue Tracker
Fixed
Fixed in 2022.3.58f1, 6000.0.37f1, 6000.1.0b5, 6000.2.0a2, 7000.0.0a16
Votes
0
Found in
2022.3.56f1
6000.0.35f1
6000.1.0b3
6000.2.0a1
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
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
- Font character thickness does not adjust properly in UI Toolkit text when changing Bold Weight in Font Asset
- Multiple "[...] is inaccessible due to its protection level" errors are thrown when opening project with Unity Version Control installed
- Sorting icons are tiny and misaligned in Import Activity window
- The Undo system does not record HideFlags.HideInHierarchy changes
- [Linux] Bug Reporter window is in Light mode when the Editor theme is Dark mode
Resolution Note (fix version 7000.0.0a16):
Editor: Fix UnauthorizedAccessException when edits are made to SceneTemplateSettings with Perforce Integration Enabled.
Resolution Note (fix version 6000.2.0a2):
Editor: Fix UnauthorizedAccessException when edits are made to SceneTemplateSettings with Perforce Integration Enabled.
Resolution Note (fix version 6000.1.0b5):
Editor: Fix UnauthorizedAccessException when edits are made to SceneTemplateSettings with Perforce Integration Enabled.
Resolution Note (fix version 6000.0.37f1):
Editor: Fix UnauthorizedAccessException when edits are made to SceneTemplateSettings with Perforce Integration Enabled.
Resolution Note (fix version 2022.3.58f1):
Editor: Fix UnauthorizedAccessException when edits are made to SceneTemplateSettings with Perforce Integration Enabled.