Search Issue Tracker
Won't Fix
Won't Fix in 2023.1.X
Votes
11
Found in
2023.1.0b1
Issue ID
UUM-3235
Regression
Yes
Adding and removing data from and to Serializable arrays with arrays in them throws errors and exceptions
Reproduction steps:
1. Open the attached project
2. Open Inspector
3. Select Cube in Hierarchy
4. Under Testing script add multiple layers of data and try to remove the same data
Expected result: No errors are thrown
Actual result: Different errors are thrown almost for every action
Reproducible with: 2022.2.0a9
Not reproducible with: 2022.2.0a8
Notes: there are two different errors, one about layout when adding new elements and one is an exception being thrown due to elements being removed
Error on adding element higher in depth:
Layout update is struggling to process current layout (consider simplifying to avoid recursive layout): VisualElement unity-panel-container (x:0.00, y:0.00, width:454.00, height:939.00) world rect: (x:0.00, y:0.00, width:454.00, height:939.00)
UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)
Examples of exceptions on removing elements:
First:
ObjectDisposedException: SerializedProperty pointList.Array.data\[0].pointList.Array.size has disappeared\!
UnityEditor.SerializedProperty.get_intValue () (at <06ca3c5658e740a9bcc6fb07c341ef04>:0)
UnityEditor.UIElements.Bindings.ListViewSerializedObjectBinding.Update () (at <2ffb7de365ad400a83c70a4ea2b91309>:0)
UnityEngine.UIElements.VisualTreeBindingsUpdater.UpdateBindings () (at <42bf909ce99b4ceb9b0349fc9f8a1e37>:0)
UnityEngine.UIElements.VisualTreeBindingsUpdater.Update () (at <42bf909ce99b4ceb9b0349fc9f8a1e37>:0)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <42bf909ce99b4ceb9b0349fc9f8a1e37>:0)
UnityEngine.UIElements.Panel.UpdateBindings () (at <42bf909ce99b4ceb9b0349fc9f8a1e37>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.UpdateSchedulers () (at <42bf909ce99b4ceb9b0349fc9f8a1e37>:0)
UnityEngine.UIElements.UIEventRegistration.UpdateSchedulers () (at <42bf909ce99b4ceb9b0349fc9f8a1e37>:0)
UnityEditor.RetainedMode.UpdateSchedulers () (at <2ffb7de365ad400a83c70a4ea2b91309>:0)
Second:
InvalidOperationException: The operation is not possible when moved past all properties (Next returned false)
UnityEditor.SerializedProperty.get_contentHash () (at <06ca3c5658e740a9bcc6fb07c341ef04>:0)
UnityEditor.UIElements.Bindings.SerializedObjectBindingToBaseField`2\[TValue,TField].Update () (at <2ffb7de365ad400a83c70a4ea2b91309>:0)
UnityEngine.UIElements.VisualTreeBindingsUpdater.UpdateBindings () (at <42bf909ce99b4ceb9b0349fc9f8a1e37>:0)
UnityEngine.UIElements.VisualTreeBindingsUpdater.Update () (at <42bf909ce99b4ceb9b0349fc9f8a1e37>:0)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at <42bf909ce99b4ceb9b0349fc9f8a1e37>:0)
UnityEngine.UIElements.Panel.UpdateBindings () (at <42bf909ce99b4ceb9b0349fc9f8a1e37>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.UpdateSchedulers () (at <42bf909ce99b4ceb9b0349fc9f8a1e37>:0)
UnityEngine.UIElements.UIEventRegistration.UpdateSchedulers () (at <42bf909ce99b4ceb9b0349fc9f8a1e37>:0)
UnityEditor.RetainedMode.UpdateSchedulers () (at <2ffb7de365ad400a83c70a4ea2b91309>:0)
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
- Adaptive Performance documentation link leads to outdated package documentation when the documentation hyperlink is pressed in the Project Settings window
- After converting a Built-in project to URP render texture related errors are spammed that can lead to Game view being rendered on top of Scene view
- UI Builder slider value lags and stutters when sliding/modifying certain property values
- "Reset UI Builder Layout" functionality inconsistently changes Canva Size when "Match Game View" is enabled/disabled
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
Resolution Note:
There are no fixes planned for this Bug
Resolution Note (2023.1.X):
There are no fixes planned for this Bug