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