Search Issue Tracker

Fixed

Fixed in 6000.0.0b11

Votes

0

Found in

6000.0.0b1

Issue ID

UUM-62233

Regression

No

Console displays an error "KeyNotFoundException: The given key '-2862' was not present in the dictionary." when build profile is selected and user clicks "Play"

--

-

How to reproduce:
# Create a new project
# Go to "File" ->"Build Profiles"
# Select any platform and create a build profile
# Go to Project ->Assets ->Settings ->BuildProfiles
# Select the newly created build profile
# Go to the "Inspector" tab
# Click a preset icon next to the build profile title in the "Inspector" tab
# Create a build profile preset
# Select the newly created preset in the "BuildProfiles" folder
# Select it and click "Play"

Actual result: The console displays an error. An attachment (video) is added below in the "Attachments" section.
Expected result: No errors in the Console. 

Reproducible with:  2023.3.0b1, 2023.3.0b5
Not reproducible with: 2023.3.0a19.

Note - Error:

KeyNotFoundException: The given key '-4980' was not present in the dictionary.
System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) (at <107439755c2c4e4f961430e1c757b578>:0)
UnityEditor.Presets.PresetEditor.DestroyInternalEditor () (at /Users/bokken/build/output/unity/unity/Modules/PresetsUIEditor/PresetEditor.cs:383)
UnityEditor.Presets.PresetEditor.OnDisable () (at /Users/bokken/build/output/unity/unity/Modules/PresetsUIEditor/PresetEditor.cs:286)

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.