Search Issue Tracker

Fixed

Votes

0

Found in

6000.0.35f1

6000.1.0b3

Issue ID

UUM-93215

Regression

Yes

An error 'AssertionException: Assertion failure. Value was False' is displayed in the Console when maximizing or unmaximizing the UI Builder

-

*Steps to reproduce:*
# Create any new project or open an existing one
# Go to: Assets -> Create -> UI Toolkit -> UI Document
# Please open it
# If the UI Builder window was not docked, please dock it
# Double-click on it to maximize 
# Double-click on it to unmaximize it
# Go to the Console window

*Actual results:* Video is added in the "Attachments" section. A Console error: 

"AssertionException: Assertion failure. Value was False
Expected: True"

*Expected results:* No errors.

*Reproducible with versions:* 6000.0.34f1, 6000.1.0b3.

*Not reproducible with versions:* 2022.3.56f1, 6000.0.33f1.  

*Can’t test with versions:* -

*Tested on (OS):* Apple M1 Max - Sequoia 15.1.1

*Notes:* Full error message displayed below

AssertionException: Assertion failure. Value was False
Expected: True
UnityEngine.Assertions.Assert.Fail (System.String message, System.String userMessage) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Assertions/Assert/AssertBase.cs:29)
UnityEngine.Assertions.Assert.IsTrue (System.Boolean condition, System.String message) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Assertions/Assert/AssertBool.cs:20)
UnityEngine.Assertions.Assert.IsTrue (System.Boolean condition) (at /Users/bokken/build/output/unity/unity/Runtime/Export/Assertions/Assert/AssertBool.cs:13)
UnityEngine.UIElements.VisualTreeDataBindingsUpdater.ProcessAllBindingRequests () (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Bindings/VisualTreeDataBindingUpdater.cs:375)
UnityEngine.UIElements.VisualTreeDataBindingsUpdater.Update () (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Bindings/VisualTreeDataBindingUpdater.cs:148)
UnityEngine.UIElements.VisualTreeUpdater.UpdateVisualTreePhase (UnityEngine.UIElements.VisualTreeUpdatePhase phase) (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/VisualTreeUpdater.cs:138)
UnityEngine.UIElements.Panel.UpdateDataBinding () (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Panel.cs:1326)
UnityEngine.UIElements.Panel.TickSchedulingUpdaters () (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/Panel.cs:1338)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.UpdateSchedulers () (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/UIElementsUtility.cs:277)
UnityEngine.UIElements.UIEventRegistration.UpdateSchedulers () (at /Users/bokken/build/output/unity/unity/Modules/UIElements/Core/UIElementsUtility.cs:108)
UnityEditor.RetainedMode.UpdateSchedulers () (at /Users/bokken/build/output/unity/unity/Modules/UIElementsEditor/RetainedMode.cs:47)

  1. Resolution Note:

    Fixed by another internal issue: UUM-93248: "AssertionException: Assertion failure. Value was False" error is thrown when unmaximizing a docked UI Builder Window

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.