Search Issue Tracker

Fixed

Votes

3

Found in [Package]

1.0.0

Issue ID

1344785

Regression

Yes

Assertion failed on expression: 'didInsert' when opening gradient editor

Package: UI Toolkit

-

How to reproduce:
1. Create a new VFX Graph in URP/HDRP project
2. Select gradient in 'Set Color over Lifetime' block to open color editor and observe the console

Actual result: Error 'Assertion failed on expression: 'didInsert'' is thrown to the Console

Reproducible with: 2019.4.29f1, 2021.1.14f1, 2021.1.15f1, 2021.2.0b1, 2021.2.0b4, 2022.1.0a1(master)
Not reproducible with: 2019.4.28f1, 2021.1.13f1, 2021.2.0a21

Notes: Happens with any gradient editor (Shader Graph, VFX Graph, etc.)

  1. Response avatar

    Resolution Note:

    Fixed in 2022.1.0a3

  2. Response avatar

    Resolution Note:

    Fixed in 2021.1.18f1

  3. Response avatar

    Resolution Note:

    Fixed 2021.2.0b6

  4. Response avatar

    Resolution Note:

    Fixed in 2020.3.16f1

  5. Response avatar

    Resolution Note:

    Fixed in 2019.4.29f1

Comments (5)

  1. A2f2b2e4a15fae620150d83ac81cf304?d=mm

    cottage_master

    Aug 22, 2021 09:27

    PWCommon5.EditorUtils:Panel (UnityEngine.GUIContent,string,System.Action`1<bool>,bool,bool,bool,UnityEngine.GUILayoutOption[])
    PWCommon5.EditorUtils:Panel (string,System.Action`1<bool>,bool,UnityEngine.GUILayoutOption[])
    Gaia.GaiaUnderwaterEffectsEditor:OnInspectorGUI () (at Assets/Procedural Worlds/Gaia/Scripts/Water System/Editor/GaiaUnderwaterEffectsEditor.cs:48)
    UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

  2. 53027c7164b9f50961de4ac9787d9d36?d=mm

    goofghost

    Aug 16, 2021 19:53

    Definitely still happening in 2021.1.16f1.

  3. Ad8cbdd4a334917e16b9e834e05ba0ab?d=mm

    Thygrrr

    Aug 03, 2021 15:56

    Occurs in Both 2021.2.b5 as well as 2021.1.16f1.

    Assertion failed on expression: 'didInsert'
    UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)

  4. 23a866368e38d8b385d42991611c8efb?d=mm

    Fernando-Ferreira

    Jul 27, 2021 19:16

    Error still occurs in Unity 2021.1.15f1

  5. Bc75b90edcac1ec26cfd78a350b44d9f?d=mm

    fherbst

    Jul 02, 2021 20:13

    Also happens in 2021.2.0b1 with ShaderGraph and with custom material inspectors that use EditorGUILayout.GradientField.

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.