How to reproduce:
1. Install PlasticSCM (https://www.plasticscm.com/download )
2. Create or open a project with Unity Version Control package installed
3. Read the Unity.exe process “PATH” environment variable value (using a script or other means)
4. Observe the environment variable
Actual result: The PATH variable is: “C:\Program Files\PlasticSCM5\client;System.Collections.Generic.List`1[System.String]”
Expected result: PATH variable contains System PATH entries and PlasticSCM paths
Reproducible with: 2.3.1 (6000.0.0f1), 2.13.3 (6000.0.80f1, 6000.7.0a3)
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Notes:
- When the issue occurs Android components detection breaks (SDK, JDK, NDK)
- Editor attempting to use PowerShell will also result in an “Win32Exception”
- If the package or PlasticSCM are removed and Editor is restarted, PATH gets restored