UnassignedReferenceException on Crafting Menu

Theremy

New member
Hi,

I think I accidentally messed up with the grid tabs on the Crafting Menu.
I tried to delete the tab because I don't want to use it on my crafting UI, but then I got the UnassignedReferenceException error with the full message as attached. Looks like I can't find a way to undo this conventionally.

I think that happen because I tick the Keep prefab link on the schema info, then I delete the prefab on the hierarchy.

Anything I need do to solve this?

Additionally, how to get rid of the recipe tabs on the crafting menu?

Code:
UnassignedReferenceException: The variable m_Content of TabControl has not been assigned.
You probably need to assign the m_Content variable of the TabControl script in the inspector.
UnityEngine.Component.GetComponentsInChildren[T] (System.Boolean includeInactive) (at <e414e10bfe5f45729ff122f3359de21b>:0)
UnityEngine.Component.GetComponentsInChildren[T] () (at <e414e10bfe5f45729ff122f3359de21b>:0)
Opsive.UltimateInventorySystem.Editor.Managers.UIDesigner.RecipeGridTabOptions.Refresh (Opsive.UltimateInventorySystem.UI.Menus.Crafting.CraftingMenu craftingMenu) (at Assets/Opsive/UltimateInventorySystem/Editor/Managers/UIDesigner/CraftingDesigner.cs:461)
Opsive.UltimateInventorySystem.Editor.Managers.UIDesigner.CraftingDesignerEditor.NewValidTargetAssigned () (at Assets/Opsive/UltimateInventorySystem/Editor/Managers/UIDesigner/CraftingDesigner.cs:136)
Opsive.UltimateInventorySystem.Editor.Managers.UIDesigner.UIDesignerEditor`1[T].TargetObjectChanged () (at Assets/Opsive/UltimateInventorySystem/Editor/Managers/UIDesigner/UIDesignerManager.cs:656)
Opsive.UltimateInventorySystem.Editor.Managers.UIDesigner.UIDesignerEditor`1[T].Refresh () (at Assets/Opsive/UltimateInventorySystem/Editor/Managers/UIDesigner/UIDesignerManager.cs:613)
Opsive.UltimateInventorySystem.Editor.Managers.UIDesigner.UIDesignerCreateEditTabContent`3[To,Tc,Te].Refresh () (at Assets/Opsive/UltimateInventorySystem/Editor/Managers/UIDesigner/UIDesignerManager.cs:469)
Opsive.UltimateInventorySystem.Editor.Managers.UIDesigner.UIDesignerManager.Refresh () (at Assets/Opsive/UltimateInventorySystem/Editor/Managers/UIDesigner/UIDesignerManager.cs:184)
Opsive.UltimateInventorySystem.Editor.Managers.UIDesigner.UIDesignerSchemaSetupSubMenu.UpdateUIDesignerSchema (Opsive.UltimateInventorySystem.Editor.Managers.UIDesigner.UIDesignerSchema schema) (at Assets/Opsive/UltimateInventorySystem/Editor/Managers/UIDesigner/SetupDesigner.cs:339)
Opsive.UltimateInventorySystem.Editor.Managers.UIDesigner.UIDesignerSchemaSetupSubMenu.<.ctor>b__17_3 (UnityEngine.UIElements.ChangeEvent`1[T] evt) (at Assets/Opsive/UltimateInventorySystem/Editor/Managers/UIDesigner/SetupDesigner.cs:186)
UnityEngine.UIElements.EventCallbackFunctor`1[TEventType].Invoke (UnityEngine.UIElements.EventBase evt) (at <3cdf672c21b849dea215f9c9aff21f77>:0)
UnityEngine.UIElements.EventCallbackRegistry.InvokeCallbacks (UnityEngine.UIElements.EventBase evt) (at <3cdf672c21b849dea215f9c9aff21f77>:0)
UnityEngine.UIElements.CallbackEventHandler.HandleEvent (UnityEngine.UIElements.EventBase evt) (at <3cdf672c21b849dea215f9c9aff21f77>:0)
UnityEngine.UIElements.EventDispatchUtilities.PropagateEvent (UnityEngine.UIElements.EventBase evt) (at <3cdf672c21b849dea215f9c9aff21f77>:0)
UnityEngine.UIElements.DefaultDispatchingStrategy.DispatchEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <3cdf672c21b849dea215f9c9aff21f77>:0)
UnityEngine.UIElements.EventDispatcher.ApplyDispatchingStrategies (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, System.Boolean imguiEventIsInitiallyUsed) (at <3cdf672c21b849dea215f9c9aff21f77>:0)
UnityEngine.UIElements.EventDispatcher.ProcessEvent (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel) (at <3cdf672c21b849dea215f9c9aff21f77>:0)
UnityEngine.UIElements.EventDispatcher.Dispatch (UnityEngine.UIElements.EventBase evt, UnityEngine.UIElements.IPanel panel, UnityEngine.UIElements.DispatchMode dispatchMode) (at <3cdf672c21b849dea215f9c9aff21f77>:0)
UnityEngine.UIElements.BaseVisualElementPanel.SendEvent (UnityEngine.UIElements.EventBase e, UnityEngine.UIElements.DispatchMode dispatchMode) (at <3cdf672c21b849dea215f9c9aff21f77>:0)
UnityEngine.UIElements.VisualElement.SendEvent (UnityEngine.UIElements.EventBase e) (at <3cdf672c21b849dea215f9c9aff21f77>:0)
UnityEngine.UIElements.BaseField`1[TValueType].set_value (TValueType value) (at <3cdf672c21b849dea215f9c9aff21f77>:0)
UnityEditor.UIElements.PopupField`1[T].set_value (T value) (at <e020ad89c1af43769f98694c4076cf19>:0)
UnityEditor.UIElements.PopupField`1[T].ChangeValueFromMenu (T menuItem) (at <e020ad89c1af43769f98694c4076cf19>:0)
UnityEditor.UIElements.PopupField`1+<>c__DisplayClass25_0[T].<AddMenuItems>b__0 () (at <e020ad89c1af43769f98694c4076cf19>:0)
UnityEditor.GenericMenu.CatchMenu (System.Object userData, System.String[] options, System.Int32 selected) (at <1e441e8684a14fe4b8f8a926d91afc3a>:0)
 
The error says that you are missing a reference for the "Content" field in the TabControl component.

If I understand correctly you removed the Tabs completely?
If that's the case, on the Crafting Recipe Grid gameobject you'll also want to remove the tabcontrol component
1615796833152.png
Let me know if that fixes it.
 
Top