Search Issue Tracker
By Design
Votes
0
Found in
2019.3.0a3
Issue ID
1156647
Regression
No
[UI Elements] InvalidOperationException occurs on setting the binding script to none
InvalidOperationException occurs on setting the binding script to none
Steps to Repro:
1. Open attached project
2. UIE Test Suite > Open FTP
3. Binding > Properties
4. Change biding script to none
Actual Result:
1. IMGUI user interface disappears
2. InvalidOperationException is thrown
Note: In 2019.1 both IMGUI and UI element fileds were disappearing on setting binding to none, however, the errors were still occurring
Expected Result:
IMGUI and UI elements fields should disappear without errors
Environment:
Windows and Mac
Occurring with:
2019.3.0a3, 2019.2.0b3, 2019.1.4f1, 2019.1.b10
Stack Trace:
Error1:
InvalidOperationException: The operation is not possible when moved past all properties (Next returned false)
UnityEngine.UIElements.UIR.RenderChain.Render (UnityEngine.Rect topRect, UnityEngine.Matrix4x4 projection) (at C:/buildslave/unity/build/Modules/UIElements/Renderer/UIRChainBuilder.cs:240)
UnityEngine.UIElements.UIRRepaintUpdater.DrawChain (UnityEngine.Rect topRect, UnityEngine.Matrix4x4 projection) (at C:/buildslave/unity/build/Modules/UIElements/Renderer/UIRRepaintUpdater.cs:60)
UnityEngine.UIElements.UIRRepaintUpdater.Update () (at C:/buildslave/unity/build/Modules/UIElements/Renderer/UIRRepaintUpdater.cs:48)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTree () (at C:/buildslave/unity/build/Modules/UIElements/VisualTreeUpdater.cs:73)
UnityEngine.UIElements.Panel.Repaint (UnityEngine.Event e) (at C:/buildslave/unity/build/Modules/UIElements/Panel.cs:681)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at C:/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:274)
UnityEngine.UIElements.UIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at C:/buildslave/unity/build/Modules/UIElements/UIElementsUtility.cs:107)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at C:/buildslave/unity/build/Modules/IMGUI/GUIUtility.cs:179)
Error2:
InvalidOperationException: The operation is not possible when moved past all properties (Next returned false)
UnityEditor.SerializedProperty.get_isExpanded () (at C:/buildslave/unity/build/Editor/Mono/SerializedProperty.bindings.cs:589)
UIElementsExamples.Bindings.DoDrawDefaultIMGUIProperty (UnityEditor.SerializedObject serializedObject, UnityEditor.SerializedProperty property) (at Assets/Editor/UIElementsFTP/Bindings.cs:133)
UIElementsExamples.Bindings+<>c__DisplayClass9_1.<Refresh>b__0 () (at Assets/Editor/UIElementsFTP/Bindings.cs:95)
UnityEngine.UIElements.IMGUIContainer.DoOnGUI (UnityEngine.Event evt, UnityEngine.Matrix4x4 parentTransform, UnityEngine.Rect clippingRect, System.Boolean isComputingLayout, UnityEngine.Rect layoutSize) (at C:/buildslave/unity/build/Modules/UIElements/IMGUIContainer.cs:280)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Comments (3)
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
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
- [Windows] No minimum “Select” window size
- Enabling “Editor Extension Authoring” in UI Builder doesn’t dirty the document and saving with shortcut doesn’t persist the state
- WebRequest.Create() function fails with "URI prefix is not recognized" errors when the project is built for Linux Standalone or Windows Dedicated Server
tatsuuuuuuu
May 12, 2020 19:57
I'm using UI Builder so fact that it's still beta is probably the cause here but regardless I'm getting this error in 2019 (and it should be noted that in 2020 alpha I do not)
Matze_PD
Mar 30, 2020 14:49
I can only quote the other comment: "This issue is marked as resolved but I'm still facing this in 2019.2.0!" (more specific: I am using 2019.2.0f1).
Trend86
Aug 06, 2019 18:23
This issue is marked as resolved but I'm still facing this in 2019.2.0!