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
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
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
- Text is unreadable when DLSS is applied to the Canvas with Render Mode set to World Space
- NullReferenceException errors appear in the Console when changing the values of Visual Effect Control Clip Events' Attributes
- Crash on TextCore::OTL_TableReader::GetOpenTypeLayoutTables when using Japanese Font as TMP Fallback
- TreeView.AddItem performance regression when opening EditorWindow
- Shadows are not visible in Player when using DX12 with Forward+ or Deferred+ rendering in URP
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.