Search Issue Tracker

Fixed in 2023.1.0a1

Fixed in 2022.2.X, 2023.1.X

Votes

0

Found in

2022.2.0b2

Issue ID

UUM-9869

Regression

No

Exception is thrown when a generic method with two different definitions has a HideInCallstack attribute

Scripting

-

How to reproduce:

  1. Open the user’s attached “ConsoleStripcallstackBug” project
  2. Observe the Console log

Expected result: No error is thrown
Actual result: Two ArgumentException errors are thrown

Reproducible with: 2022.2.0b2
Not reproducible with: 2023.1.0a1, 2023.1.0a4
Couldn’t test with: 2020.3.37f1, 2021.3.7f1, 2022.1.10f1 (HideInCallstack attribute isn’t featured)

Reproduced on: macOS 12.3 (Intel)

Thrown errors:
ArgumentException: An item with the same key has already been added. Key: UnityEditor.ConsoleWindow+HideInCallstackGenericMethodKey
ArgumentException: Getting control 0's position in a group with only 0 controls when doing repaint

  1. Resolution Note (fix version 2023.1):

    Fixed in 2023.1.0a1

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.