Search Issue Tracker

Fixed

Fixed in 6000.1.0b1, 7000.0.0a14

Votes

0

Found in

6000.0.27f1

6000.1.0a3

7000.0.0a1

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]

  1. Resolution Note (fix version 7000.0.0a14):

    Fixed issue when using multiple arguments in a single tag with IMGUI.

  2. Resolution Note (fix version 6000.1.0b1):

    Fixed issue when using multiple arguments in a single tag with IMGUI.

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.