Search Issue Tracker

Active

Under Consideration for 6000.0.X, 6000.1.X

Votes

0

Found in

6000.0.27f1

6000.1.0a3

Issue ID

UUM-87147

Regression

Yes

KeyNotFoundException is thrown when retrieving some values from HyperLinkClickedEventArgs

--

-

Steps to reproduce:
1. Open the “hyperlinks.zip” project
2. In the Menu Bar, click “Hyperlinks Test”
3. Select the “EditorGUIHyperLinkClicked”
4. Double-click the “displayed text”
5. Observe the Console Window

Expected result: The values of variables “data” and “otherData” are shown
Actual result: “KeyNotFoundException: The given key 'otherData' was not present in the dictionary” is thrown

Reproducible in: 2023.3.0b5, 6000.0.27f1, 6000.1.0a3
Not reproducible in: 2021.3.45f1, 2022.3.52f1, 2023.3.0b4

Reproducible on: Windows 11
Not reproducible on: No other environment tested

Note: The code for this script is from the Unity Docs: [https://docs.unity3d.com/6000.1/Documentation/ScriptReference/EditorGUI-hyperLinkClicked.html|https://docs.unity3d.com/6000.1/Documentation/ScriptReference/EditorGUI-hyperLinkClicked.html]

Add comment

Log in to post comment