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
- Inspector's custom tooltip is displayed incorrectly when the name is truncated in UI toolkit
- Crash on ScriptableRenderLoopDraw when rendering a specific VFX in Play Mode
- The script is not renamed in the Project window when renaming and a compilation Error is present
- Average FPS in Play Mode degradation on a newly created BiRP project when it's upgraded from 2020.3.48f1 to a newer Editor version
- DecoratorDrawer indentation is incorrect when it is called with EditorGUI
Add comment