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
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
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.