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
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment