Search Issue Tracker
Fixed
Fixed in 1.3.3
Votes
0
Found in [Package]
1.3.1
Issue ID
MTTB-566
Regression
No
Write access error with "VirtualProjectSettings.json" when creating a MPPM Player Tag with Perforce connected
Steps to reproduce:
1. Download and connect the attached user's project "NetCode.zip" to a Perforce server
2. Submit the project in the P4V client
3. Open the MPPM Window
4. Create a new player tag
5. Observe the console error
Expected results: Perforce checks out the "VirtualProjectSettings.json" file when creating a MPPM Player Tag
Actual results: Write access errors is printed in the Console window when creating a MPPM Player Tag
Reproducible with: MPPM 1.3.1 (6000.0.25f1, 6000.1.0a2)
Could not test on: 2021.3.45f1 and 2022.3.52f1 due to MPPM package not existing
Testing Environment: Windows 11
Not reproducible on: no other environment tested
Notes:
-A workaround is to checkout the "VirtualProjectSettings.json" file manually in the P4V client
-Error:
UnauthorizedAccessException: Access to the path "ProjectPath\ProjectSettings\VirtualProjectsConfig.json" is denied.
Unity.Multiplayer.Playmode.Workflow.Editor.ProjectDataStore.WritePlayerTags (System.Collections.Generic.List`1[T] playerTags) (at ./Library/PackageCache/com.unity.multiplayer.playmode/Workflow/Editor/Configuration/ProjectDataStore.cs:168)
Unity.Multiplayer.Playmode.Workflow.Editor.ProjectDataStore.Add (System.String tag, Unity.Multiplayer.Playmode.Workflow.Editor.ProjectDataStore+ProjectDataStoreError& error) (at ./Library/PackageCache/com.unity.multiplayer.playmode/Workflow/Editor/Configuration/ProjectDataStore.cs:112)
Unity.Multiplayer.Playmode.Workflow.Editor.UnityPlayerTags.Add (System.String tag, Unity.Multiplayer.Playmode.Workflow.Editor.TagError& error) (at ./Library/PackageCache/com.unity.multiplayer.playmode/Workflow/Editor/UnityPlayerTags.cs:31)
Unity.Multiplayer.Playmode.Workflow.Editor.ProjectSettingsProvider+<>c_{_}DisplayClass3_1.<OnActivate>b{_}_3 () (at ./Library/PackageCache/com.unity.multiplayer.playmode/Workflow/Editor/Settings/PlaymodeSettingsSection.cs:48)
Unity.Multiplayer.Playmode.Workflow.Editor.NewTagDialogueView.OnSaveButtonClicked () (at ./Library/PackageCache/com.unity.multiplayer.playmode/Workflow/Editor/Settings/PlayerTags/NewTagDialogueView.cs:49)
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [Happy Harvest] #ThunderLabel text is "\u26C8" instead of "⛈"
- Warning “New Sprite Atlas: There is a mismatch in secondary textures of sprites compared to WhiteUnit, wasting texture space and potentially break draw call batching. Affected Sprites are (Flag)“ is thrown when packing Atlas with Sprite Atlas V2
- Sprite Editor dropdown text is cut-off for options with longer text
- Sprite Editor can't be scrolled horizontally using the trackpad gesture
- BRG picking skips BatchDrawCommandProcedural when selecting the GameObject in the scene
Add comment