Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2021.3.X, 2022.1.X
Votes
0
Found in
Issue ID
1402588
Regression
Yes
Asset reimportation/refresh cause exception when displayed on the game view
no present in 2022.1.0a16.2319
present in 2022.2.0a1.319
Create a new UXML t with a few elements, assign in a UI document and set the game view to be visible.
Update the UXML using the builder or directly in the file, save.
This error occurs:
InvalidOperationException: Collection was modified; enumeration operation may not execute.
System.Collections.Generic.List`1+Enumerator[T].MoveNextRare () (at <1e9cd68e7ce24991a6446c83955843f7>:0)
System.Collections.Generic.List`1+Enumerator[T].MoveNext () (at <1e9cd68e7ce24991a6446c83955843f7>:0)
UnityEngine.UIElements.UIElementsRuntimeUtility.UpdateRuntimePanels () (at U:/U/t3/ModuleOverrides/com.unity.ui/Core/UIElementsRuntimeUtility.cs:218)
UnityEngine.UIElements.UIElementsRuntimeUtilityNative.UpdateRuntimePanels () (at U:/U/t3/Modules/UIElementsNative/UIElementsUtility.bindings.cs:26)
Comments (2)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- GfxDevice::UpdateBufferRanges when running UIBuilder tests
- [Android][BiRP] Depth processing is handled incorrectly on certain Android devices when using 2 camera's
- [APV] Cancelling Display Dialog Error is thrown after Adaptive Probe Volumes tab is open in Lighting Window
- [APV] NullReferenceException is thrown when baking Adaptive Probe Volume for a Terrain with Non-GI Contributing Tree Prototypes and multiple APV objects with different LayerMasks are present on the scene
- Hands are not recognized when using Hololens 2
SLotman
Nov 03, 2024 00:47
I'm also having this same issue in 2021.3.31f1 LTS.
spider853
Aug 16, 2022 16:53
Still having this in 2021.3.0f1
ProBuilder Version 5.0.6 - July 08, 2022