Search Unity

Bug UI Toolkit preview 11 spams errors in Shader Graph

Discussion in 'UI Toolkit' started by Refeas, Nov 14, 2020.

  1. Refeas

    Refeas

    Joined:
    Nov 8, 2016
    Posts:
    192
    Unity 2020.1.13f1, URP/SG 8.2.
    I upgraded to UI Toolkit preview.11 package from preview.9 and when I open Shader Graph, I get these exceptions spammed heavily in the console:

    Code (CSharp):
    1. MissingFieldException: Field 'UnityEngine.UIElements.Vertex.idsFlags' not found.
    2. UnityEditor.Experimental.GraphView.EdgeControl.OnGenerateVisualContent (UnityEngine.UIElements.MeshGenerationContext mgc) (at <8f44d91b549e47c9883e180579f26ef6>:0)
    3. UnityEngine.UIElements.VisualElement.InvokeGenerateVisualContent (UnityEngine.UIElements.MeshGenerationContext mgc) (at Library/PackageCache/com.unity.ui@1.0.0-preview.11/Core/VisualElement.cs:1317)
    4. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
     
    Last edited: Nov 15, 2020
  2. Nexer8

    Nexer8

    Joined:
    Dec 10, 2017
    Posts:
    271
    Make sure you are using the latest (2020.2.0b.11) version. Should fix the errors.
     
  3. mcoted3d

    mcoted3d

    Unity Technologies

    Joined:
    Feb 3, 2016
    Posts:
    1,003
    Thanks for reporting, we're working on it.
     
  4. Refeas

    Refeas

    Joined:
    Nov 8, 2016
    Posts:
    192
    Thank you for letting me know!