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. Resolution Note:

    Fixed in 2022.1.0a3

  2. Resolution Note:

    Fixed in 2021.1.18f1

  3. Resolution Note:

    Fixed 2021.2.0b6

  4. Resolution Note:

    Fixed in 2020.3.16f1

  5. Resolution Note:

    Fixed in 2019.4.29f1

Comments (6)

  1. owenhindley

    Jan 12, 2022 13:40

    Still seeing this in 2021.1.16f1 (in Visual Effect Graph, both in graph editor and exposed property inspector window)

  2. 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&)

  3. goofghost

    Aug 16, 2021 19:53

    Definitely still happening in 2021.1.16f1.

  4. 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&)

  5. Fernando-Ferreira

    Jul 27, 2021 19:16

    Error still occurs in Unity 2021.1.15f1

  6. 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.