Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug inspector garbled when adding a custom blend (1.8.6)

Discussion in 'Cinemachine' started by laurentlavigne, Oct 12, 2022.

  1. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,222
  2. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,222
    InvalidOperationException: Stack empty.
    System.Collections.Generic.Stack`1[T].Pop () (at <9aad1b3a47484d63ba2b3985692d80e9>:0)
    UnityEditor.PropertyDrawer.OnGUISafe (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label) (at <4e64905d831f4883a53259ef37fb023b>:0)
    UnityEditor.PropertyHandler.OnGUI (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren, UnityEngine.Rect visibleArea) (at <4e64905d831f4883a53259ef37fb023b>:0)
    UnityEditor.PropertyHandler.OnGUI (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren) (at <4e64905d831f4883a53259ef37fb023b>:0)
    UnityEditor.EditorGUI.PropertyFieldInternal (UnityEngine.Rect position, UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, System.Boolean includeChildren) (at <4e64905d831f4883a53259ef37fb023b>:0)
    UnityEditor.EditorGUI.PropertyField (UnityEngine.Rect position, UnityEditor.SerializedProperty property, System.Boolean includeChildren) (at <4e64905d831f4883a53259ef37fb023b>:0)
    UnityEditor.EditorGUI.PropertyField (UnityEngine.Rect position, UnityEditor.SerializedProperty property) (at <4e64905d831f4883a53259ef37fb023b>:0)
    Cinemachine.Editor.EmbeddeAssetEditor`1[T].AssetFieldWithCreateButton (UnityEditor.SerializedProperty property, System.String title, System.String defaultName, System.String extension, System.String message) (at Library/PackageCache/com.unity.cinemachine@2.8.6/Editor/Utility/EmbeddedAssetHelpers.cs:130)
    Cinemachine.Editor.EmbeddeAssetEditor`1[T].DrawEditorCombo (System.String title, System.String defaultName, System.String extension, System.String message, System.String showLabel, System.Boolean indent) (at Library/PackageCache/com.unity.cinemachine@2.8.6/Editor/Utility/EmbeddedAssetHelpers.cs:69)
    Cinemachine.Editor.CinemachineBrainEditor.OnInspectorGUI () (at Library/PackageCache/com.unity.cinemachine@2.8.6/Editor/Editors/CinemachineBrainEditor.cs:68)
    UnityEditor.UIElements.InspectorElement+<>c__DisplayClass59_0.<CreateIMGUIInspectorFromEditor>b__0 () (at <46976ad9004e4c8ca11353e8bb94e264>:0)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr, Boolean&)
     
  3. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,222
  4. gaborkb

    gaborkb

    Unity Technologies

    Joined:
    Nov 7, 2019
    Posts:
    856
    I could not reproduce the issue using CM 2.8.6 or CM 2.8.9 in Editor version 2021.3.
    What's your editor version?
     
  5. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,222
    2021.3.11
    I thought that maybe it's due to screen res but that's not the case, it happens on a 1080p and a 1600p screen
    upload_2022-10-13_13-12-13.png
     
    gaborkb likes this.
  6. gaborkb

    gaborkb

    Unity Technologies

    Joined:
    Nov 7, 2019
    Posts:
    856
    What's your Cinemachine Version? You can check in Window->Package Manager->Cinemachine.
     
  7. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,222
    1.8.6 (title)
     
  8. gaborkb

    gaborkb

    Unity Technologies

    Joined:
    Nov 7, 2019
    Posts:
    856
    Can you upgrade your Cinemachine to at least 2.6, but preferably to 2.8 or 2.9?
     
  9. laurentlavigne

    laurentlavigne

    Joined:
    Aug 16, 2012
    Posts:
    6,222
    done, still there
    upload_2022-10-17_19-17-26.png