Unity Issue Tracker - Multiple ArgumentExceptions are thrown when adding a VisualTreeAsset with Sprite Glyphs to a UIDocument
Fixed
UUM-101232
Multiple ArgumentExceptions are thrown when adding a VisualTreeAsset with Sprite Glyphs to a UIDocument
Unity: Text (TextCore)
Fixed
6.2.X
6.1.X
6.0.X
Fixed argument exceptions when using SpriteAsset in UITK.
Fixed argument exceptions when using SpriteAsset in UITK.
Fixed argument exceptions when using SpriteAsset in UITK.
Reproduction steps:
1. Open the attached “IN-97781.zip” project
2. Open the “BUGREPORT” Scene (Assets > Assets > Scenes)
3. Enter Play mode
4. Observe the Console
Expected result: No errors
Actual result: Multiple “ArgumentException: An item with the same key has already been added.” and “InvalidOperationException: Operations that change non-concurrent collections must have exclusive access.“ errors