Search Issue Tracker
In Progress
Fix In Review for 2022.3.68f1
Fixed in 6000.0.60f1, 6000.2.8f1, 6000.3.0b5, 6000.4.0a1
Votes
0
Found in
2022.3.62f1
6000.0.49f1
6000.1.4f1
6000.2.0b3
6000.3.0a1
6000.4.0a1
Issue ID
UUM-107295
Regression
No
Unity Perforce Integration: VCS Connection Active State Fails via CLI with Valid Inputs
Steps to reproduce:
1. Open the attached project "P4Test.zip"
2. Make sure to the Version Control settings the perforce fields are empty and the VCSMode set as Visible Metafiles
3. Close the project
4. Open CMD/Terminal
5. Enter the following command (modified with relevant changes):
"C:\Program Files\Unity\Hub\Editor\6000.0.37f1\Editor\Unity.exe" -batchmode -projectPath "C:\Your\Perforce\Project\Path" -executeMethod VCSModeSample.RunTest -quit -vcsModeSession Perforce -vcPerforceUsername your_username -vcPerforcePassword your_password -vcPerforceWorkspace your_workspace -vcPerforceServer ssl:your_perforce_server:port
6. Look for [VCSModeSample] lines in the Editor.log file
Expected Results: "[VCSModeSample] Provider enabled? True isActive? True OnlineState: Online" is returned in the Editor Log
Actual Results: "[VCSModeSample] Provider enabled? True isActive? False OnlineState: Offline" is returned and connection is not established
Reproducible with: 2021.3.52f1, 2022.3.62f1, 6000.0.49f1, 6000.1.4f1, 6000.2.0b3, 6000.3.0a1
Environment tested: Windows 11 24H2
Notes:
-The connection only becomes active and online when a workaround (Provider.UpdateSettings.Wait()) is used within a script executed by the Unity editor. This behavior deviates from expected results and is inconsistent with the documentation, which suggests that CLI parameters alone should fully establish the connection automatically
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
- Number "0" is not visible in Unity Documentation page button tooltips
- Selected Korean input text in UIToolkit TextField is not fully replaced when refocusing and entering new input
- [UITK Controls] Non text InputField can't be reset by API
- Control Scheme name field has no character limit, causing “Add Control Scheme” window to expand if name is too long
- Prefab variants do not keep the values of linear drag and angular drag while upgrading the project from Unity 6000.0
Resolution Note (fix version 6000.4.0a1):
Documentation update: "We have documented `Provider.UpdateSettings()` behavior clearly, so users are aware of the asynchronous nature and the need to wait for completion if their workflow depends on the provider being immediately active."