Search Issue Tracker

Fixed in 2019.1.X

Votes

0

Found in

2019.1.0a10

2019.1.0a12

Issue ID

1107172

Regression

Yes

Shortcut Manager - An assertion failure occurs when entering a user profile name with multiple spaces at the beginning

Themes

-

If you start creating a new shortcut user profile, enter a name with two or more spaces at the beginning and then close the modal window, an error will appear in the console:

Assertion failedUnityEditor.GenericMenu:CatchMenu(Object, String[], Int32)

1. Install Unity
2. Open Unity
3. Create a new project with any settings
4. When the project is created, go to Edit > Shortcuts
5. Go to User Profile > Create New Profile
6. Select the name text input field and enter a name consisting of two spaces
7. Select Cancel or Close the modal window

Expected Result:
The modal window is closed and Unity continues without any errors.

Actual Result:
An assertion failure occurs.

Tested on Windows.

Occurs on:
2019.1.0a11, 2019.1.0a12

Does not occur on:
2019.1.0a10

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.