How to reproduce:
- Open the user’s attached “ConsoleStripcallstackBug” project
- 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