No custom type of attribute

A7r

New member
Solved:
Go to Tools -> Opsive -> Unit Options. Select the "type" tab and use the "+" to add your new type. Then click the star next to it in the list so it'll show up in your definitions types.
After that rarity can be selected.

----------------
Try finish:
On 4:09min. Editor cannot find Rarity enum/script.
1598913885551.png
 
Last edited:
@A7r
Indeed that is correct, The video tutorial shows the steps when the custom type does not show up at min 4:30.

We do not automatically add all newly created types as it would bloat the attribute type drop down. So you must add them manually with the Unit Options window.
 
the unity options window , type, when i click the plus button it wont open the search window, i get this error
NullReferenceException: Object reference not set to an instance of an object
Opsive.Shared.Editor.UIElements.FilterWindow.Initialize (UnityEditor.EditorWindow sourceWindow, System.Type[] baseTypes, Opsive.Shared.Editor.UIElements.FilterWindow+FilterType filterType, System.String title, System.Boolean showCollectionType, System.Object selectedObject, System.Action`3[T1,T2,T3] onSelection) (at <d64ce463719e4c3ea88be690b831f279>:0)
Opsive.Shared.Editor.UIElements.FilterWindow.ShowFilterWindow (UnityEditor.EditorWindow sourceWindow, UnityEditor.Experimental.GraphView.SearchWindowContext context, System.Type[] baseTypes, Opsive.Shared.Editor.UIElements.FilterWindow+FilterType filterType, System.String title, System.Boolean showCollectionType, System.Object selectedObject, System.Action`3[T1,T2,T3] onSelection) (at <d64ce463719e4c3ea88be690b831f279>:0)
Opsive.Shared.Editor.UIElements.UnitOptionsWindow+<DisplayAvailableTypes>c__AnonStorey1.<>m__2 () (at <d64ce463719e4c3ea88be690b831f279>:0)
Opsive.Shared.Editor.UIElements.ReorderableList.<ReorderableList>m__1 () (at <d64ce463719e4c3ea88be690b831f279>:0)
UnityEngine.UIElements.Clickable.Invoke (UnityEngine.UIElements.EventBase evt) (at <02231d46709e4238b32c60d30a79e0b6>:0)
UnityEngine.UIElements.Clickable.ProcessUpEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.Vector2 localPosition, System.Int32 pointerId) (at <02231d46709e4238b32c60d30a79e0b6>:0)
UnityEngine.UIElements.Clickable.OnMouseUp (UnityEngine.UIElements.MouseUpEvent evt) (at <02231d46709e4238b32c60d30a79e0b6>:0)
UnityEngine.UIElements.EventCallbackFunctor`1[TEventType].Invoke (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.PropagationPhase propagationPhase) (at <02231d46709e4238b32c60d30a79e0b6>:0)
UnityEngine.UIElements.EventCallbackRegistry.InvokeCallbacks (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.PropagationPhase propagationPhase) (at <02231d46709e4238b32c60d30a79e0b6>:0)
UnityEngine.UIElements.CallbackEventHandler.HandleEvent (UnityEngine.UIElements.EventBase evt) (at <02231d46709e4238b32c60d30a79e0b6>:0)
UnityEngine.UIElements.TextElement.HandleEvent (UnityEngine.UIElements.EventBase evt) (at <02231d46709e4238b32c60d30a79e0b6>:0)
UnityEngine.UIElements.CallbackEventHandler.HandleEventAtTargetPhase (UnityEngine.UIElements.EventBase evt) (at <02231d46709e4238b32c60d30a79e0b6>:0)
UnityEngine.UIElements.MouseCaptureDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <02231d46709e4238b32c60d30a79e0b6>:0)
UnityEngine.UIElements.EventDispatcher.ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, System.Boolean imguiEventIsInitiallyUsed) (at <02231d46709e4238b32c60d30a79e0b6>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <02231d46709e4238b32c60d30a79e0b6>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEventQueue () (at <02231d46709e4238b32c60d30a79e0b6>:0)
UnityEngine.UIElements.EventDispatcher.OpenGate () (at <02231d46709e4238b32c60d30a79e0b6>:0)
UnityEngine.UIElements.EventDispatcherGate.Dispose () (at <02231d46709e4238b32c60d30a79e0b6>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <02231d46709e4238b32c60d30a79e0b6>:0)
UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at <02231d46709e4238b32c60d30a79e0b6>:0)
UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at <02231d46709e4238b32c60d30a79e0b6>:0)
UnityEngine.UIElements.UIElementsUtility.DoDispatch (UnityEngine.UIElements.BaseVisualElementPanel panel) (at <02231d46709e4238b32c60d30a79e0b6>:0)
UnityEngine.UIElements.UIElementsUtility.UnityEngine.UIElements.IUIElementsUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& eventHandled) (at <02231d46709e4238b32c60d30a79e0b6>:0)
UnityEngine.UIElements.UIEventRegistration.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr) (at <02231d46709e4238b32c60d30a79e0b6>:0)
UnityEngine.UIElements.UIEventRegistration+<>c.<.cctor>b__1_2 (System.Int32 i, System.IntPtr ptr) (at <02231d46709e4238b32c60d30a79e0b6>:0)
UnityEngine.GUIUtility.ProcessEvent (System.Int32 instanceID, System.IntPtr nativeEventPtr, System.Boolean& result) (at <69ded5aee0a54ef3a96d5bab3ff941d1>:0)
 
Are you able to reproduce this within a fresh project using the latest version of the inventory system? I just tried and am not able to.
 
i have been trying to start new and fresh, the error i get starting on fresh , is a error with audio is there a way , to have a download that available that has the legacy thrid person that works with the uis, i have been trying everything just to get it back to working , but it is because i am using the 2021.2 version of unity and the libaries are doing something, it is ok, if anything can you have a download made to be start me off fresh, i have made the mistake of updating the third, and the uis, and i have that audio error
 
this is the error i get now on the newer project,
Assets\Opsive\UltimateInventorySystem\Editor\Managers\InventorySystemObjectBaseManager.cs(54,28): error CS1061: 'ScrollView' does not contain a definition for 'verticalScrollerVisibility' and no accessible extension method 'verticalScrollerVisibility' accepting a first argument of type 'ScrollView' could be found (are you missing a using directive or an assembly reference?)
and the other is this

Assets\Opsive\UltimateInventorySystem\Editor\Managers\InventorySystemObjectBaseManager.cs(54,57): error CS0103: The name 'ScrollerVisibility' does not exist in the current context
 
i will get the newset version of unity and start all over again , this is the 2021.1 version, i have no idea why it throws me diffednt errors
 
just saying i got it all updated and well to no avail, there is this error that talks about int, int can not convert to long, int this is in persitable and preset
 
Top