Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Join us on March 30, 2023, between 5 am & 1 pm EST, in the Performance Profiling Dev Blitz Day 2023 - Q&A forum and Discord where you can connect with our teams behind the Memory and CPU Profilers.
    Dismiss Notice

uScript scripts give error after updating to Unity 5.4.0 Beta 21 and 22

Discussion in '5.4 Beta' started by VladimirTa, Jun 22, 2016.

  1. VladimirTa

    VladimirTa

    Joined:
    Jul 17, 2013
    Posts:
    40
    Hi.

    After updating to Unity 5.4.0b21 and b22 all uScript (From the Asset Store) generated scripts that are attached to any game object and after clicking on that game object in the "Hierarchy" or that game object prefab in the project, Unity gives the error below.
    And in the "Inspector" of that game object every component disappear. (Beta 20 and earlier are working fine.)

    I already have made a bug report (Case 807874)

    Screenshot.PNG

    Thanks.
    __________Error______________________________
    InvalidOperationException: The operation is not possible when moved past all properties (Next returned false)
    UnityEditor.PropertyHandlerCache.GetPropertyHash (UnityEditor.SerializedProperty property) (at C:/buildslave/unity/build/Editor/Mono/Inspector/PropertyDrawerCache.cs:31)
    UnityEditor.PropertyHandlerCache.GetHandler (UnityEditor.SerializedProperty property) (at C:/buildslave/unity/build/Editor/Mono/Inspector/PropertyDrawerCache.cs:12)
    UnityEditor.ScriptAttributeUtility.GetHandler (UnityEditor.SerializedProperty property) (at C:/buildslave/unity/build/Editor/Mono/ScriptAttributeGUI/ScriptAttributeUtility.cs:226)
    UnityEditor.EditorGUI.GetPropertyHeightInternal (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, Boolean includeChildren) (at C:/buildslave/unity/build/Editor/Mono/EditorGUI.cs:5028)
    UnityEditor.EditorGUI.GetPropertyHeight (UnityEditor.SerializedProperty property, UnityEngine.GUIContent label, Boolean includeChildren) (at C:/buildslave/unity/build/artifacts/generated/common/editor/EditorGUIBindings.gen.cs:1002)
    UnityEditor.Editor.GetOptimizedGUIBlockImplementation (Boolean isDirty, Boolean isVisible, UnityEditor.OptimizedGUIBlock& block, System.Single& height) (at C:/buildslave/unity/build/artifacts/generated/common/editor/EditorBindings.gen.cs:207)
    UnityEditor.GenericInspector.GetOptimizedGUIBlock (Boolean isDirty, Boolean isVisible, UnityEditor.OptimizedGUIBlock& block, System.Single& height) (at C:/buildslave/unity/build/Editor/Mono/Inspector/GenericInspector.cs:14)
    UnityEditor.InspectorWindow.DrawEditor (UnityEditor.Editor editor, Int32 editorIndex, Boolean rebuildOptimizedGUIBlock, System.Boolean& showImportedObjectBarNext, UnityEngine.Rect& importedObjectBarRect) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1197)
    UnityEditor.InspectorWindow.DrawEditors (UnityEditor.Editor[] editors) (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:1030)
    UnityEditor.InspectorWindow.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/Inspector/InspectorWindow.cs:352)
    System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
     

    Attached Files: