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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Bug Editing RenderMesh.layer in the inspector throws ArgumentOutOfRangeException in 0.51

Discussion in 'Graphics for ECS' started by MNNoxMortem, Jul 14, 2022.

  1. MNNoxMortem

    MNNoxMortem

    Joined:
    Sep 11, 2016
    Posts:
    723
    Edit the value from 0 to 6:
    upload_2022-7-14_16-48-6.png
    Code (CSharp):
    1. [Exception] ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
    2. BitArray.Get() at <695d1cc93cca45069c528c15c9fdd749>:0
    3.  
    4. BitArray.get_Item() at <695d1cc93cca45069c528c15c9fdd749>:0
    5.  
    6. TabViewDrawer+<>c.<Build>b__0_0() at Library/PackageCache/com.unity.entities@0.51.0-preview.32/Unity.Entities.Editor/Common/Controls/TabView/TabViewDrawer.cs:52
    7. 50:   SessionState<State>.GetOrCreate(args.attribute.Id).TabIndex = tabIndex;
    8. -->52:   if (!args.initializedTabs[tabIndex])
    9. 53:   {
    10. 54:       var element = new PropertyElement();
    11.  
    12. UnityEngine.UIElements.EventCallbackFunctor`2[TEventType,TCallbackArgs].Invoke() at <c735460d95a241ccbea413909634f410>:0
    13.  
    14. EventCallbackRegistry.InvokeCallbacks() at <c735460d95a241ccbea413909634f410>:0
    15.  
    16. CallbackEventHandler.HandleEvent() at <c735460d95a241ccbea413909634f410>:0
    17.  
    18. EventDispatchUtilities.PropagateEvent() at <c735460d95a241ccbea413909634f410>:0
    19.  
    20. DefaultDispatchingStrategy.DispatchEvent() at <c735460d95a241ccbea413909634f410>:0
    21.  
    22. EventDispatcher.ApplyDispatchingStrategies() at <c735460d95a241ccbea413909634f410>:0
    23.  
    24. EventDispatcher.ProcessEvent() at <c735460d95a241ccbea413909634f410>:0
    25.  
    26. EventDispatcher.ProcessEventQueue() at <c735460d95a241ccbea413909634f410>:0
    27.  
    28. EventDispatcher.OpenGate() at <c735460d95a241ccbea413909634f410>:0
    29.  
    30. EventDispatcherGate.Dispose() at <c735460d95a241ccbea413909634f410>:0
    31.  
    32. EventDispatcher.ProcessEvent() at <c735460d95a241ccbea413909634f410>:0
    33.  
    34. EventDispatcher.Dispatch() at <c735460d95a241ccbea413909634f410>:0
    35.  
    36. BaseVisualElementPanel.SendEvent() at <c735460d95a241ccbea413909634f410>:0
    37.  
    38. UIElementsUtility.DoDispatch() at <c735460d95a241ccbea413909634f410>:0
    39.  
    40. UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent() at <c735460d95a241ccbea413909634f410>:0
    41.  
    42. UIEventRegistration.ProcessEvent() at <c735460d95a241ccbea413909634f410>:0
    43.  
    44. UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2() at <c735460d95a241ccbea413909634f410>:0
    45.  
    46. GUIUtility.ProcessEvent() at <681fdbd9389e4d6e8755fe4f632bfbbe>:0
    47.