Search Issue Tracker
Fixed in 2021.1.X
Fixed in 2020.1.X, 2020.2.X
Votes
0
Found in
2020.1.0a23
2020.1.3f1
2020.2
Issue ID
1275466
Regression
Yes
Unity crashes when connecting to a perforce server with an invalid workspace name in the Project Settings
How to reproduce:
1. Start a local Perforce server with a valid user and a valid workspace
2. Create and open a new project
3. Open Project Settings from Edit > Project settings
4. Open the Version Control tab
5. Change Mode to Perforce
6. Fill in the correct Username, Password, and Server values
7. In the Workspace field type in a random string that isn't a Workspace name
8. Press the Connect button
9. Repeat step 8 until Unity crashes
Expected results: Unity throws errors in the Console window but doesn't crash
Actual results: Unity crashes
Reproducible with: 2020.1.0a23, 2020.1.6f1, 2020.2.0b2
Not reproducible with: 2018.4.27f1, 2019.4.10f1, 2020.1.0a22
Notes:
-Usually, 3-5 clicks are enough to crash the Editor
-If the button is clicked once but the Editor is left open, the Editor seems to crash after a few minutes with a different stack trace
-The full error which is being thrown when reproducing the bug:
Version Control: Perforce Version Control Plugin connected to Unity. Perforce connection is not online. Perforce client workspace not present on the Perforce server. Please check your Workspace setting in the Editor Settings.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Curve" window workspace doesn't update the scale to match the selected curve preset unless reopened
- StackOverflowException occurs and tests fail to load when the Test Runner window is opened while System.Windows.Forms.dll and System.Deployment.dll are present in the project
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
Add comment