sourceItemInfo 1 Abyssal Full Helm (3331785353) || ItemCollection(Main) Main || ItemStack(1210947416)[ 1 Abyssal Full Helm (3331785353) in ItemCollection(Main) Main]
DestinationItemInfo None ItemInfo
sourceCanGive True
destinationCanGive True
sourceCanAdd False
destinationCanAdd True
sourceIsNull False
destinationIsNull True
sourceSlotCanContain True
destinationSlotCanContain True
UnityEngine.Debug:Log (object)
Opsive.UltimateInventorySystem.UI.Item.DragAndDrop.DropActions.ItemViewDropContainerCanSmartExchangeCondition:CanDrop (Opsive.UltimateInventorySystem.UI.Item.DragAndDrop.ItemViewDropHandler) (at Assets/Opsive/UltimateInventorySystem/Scripts/UI/Item/DragAndDrop/DropActions/ItemViewDropContainerSmartExchangeAction.cs:63)
Opsive.UltimateInventorySystem.UI.Item.DragAndDrop.ItemViewDropActionsWithConditions:CanDrop (Opsive.UltimateInventorySystem.UI.Item.DragAndDrop.ItemViewDropHandler) (at Assets/Opsive/UltimateInventorySystem/Scripts/UI/Item/DragAndDrop/ItemViewSlotDropActionSet.cs:225)
Opsive.UltimateInventorySystem.UI.Item.DragAndDrop.ItemViewSlotDropActionSet:GetFirstPassingConditionIndex (Opsive.UltimateInventorySystem.UI.Item.DragAndDrop.ItemViewDropHandler) (at Assets/Opsive/UltimateInventorySystem/Scripts/UI/Item/DragAndDrop/ItemViewSlotDropActionSet.cs:129)
Opsive.UltimateInventorySystem.UI.Item.DragAndDrop.ItemViewDropHandler:ItemViewSlotSelected (Opsive.UltimateInventorySystem.UI.Item.ItemViewSlotEventData) (at Assets/Opsive/UltimateInventorySystem/Scripts/UI/Item/DragAndDrop/ItemViewDropHandler.cs:310)
Opsive.UltimateInventorySystem.UI.Item.ItemViewSlotsContainerBase/<>c__DisplayClass78_0:<Initialize>b__1 () (at Assets/Opsive/UltimateInventorySystem/Scripts/UI/Item/ItemViewSlotsContainerBase.cs:227)
Opsive.UltimateInventorySystem.UI.CompoundElements.ActionButton:OnSelect (UnityEngine.EventSystems.BaseEventData) (at Assets/Opsive/UltimateInventorySystem/Scripts/UI/CompoundElements/ActionButton.cs:316)
Opsive.UltimateInventorySystem.UI.Item.ItemViewSlot:OnSelect (UnityEngine.EventSystems.BaseEventData) (at Assets/Opsive/UltimateInventorySystem/Scripts/UI/Item/ItemViewSlot.cs:106)
UnityEngine.EventSystems.EventSystem:SetSelectedGameObject (UnityEngine.GameObject)
Opsive.UltimateInventorySystem.UI.CompoundElements.ActionButton:OnPointerEnter (UnityEngine.EventSystems.PointerEventData) (at Assets/Opsive/UltimateInventorySystem/Scripts/UI/CompoundElements/ActionButton.cs:207)
Opsive.UltimateInventorySystem.UI.Item.ItemViewSlot:OnPointerEnter (UnityEngine.EventSystems.PointerEventData) (at Assets/Opsive/UltimateInventorySystem/Scripts/UI/Item/ItemViewSlot.cs:169)
UnityEngine.EventSystems.EventSystem:Update () (at ./Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/EventSystem.cs:530)
sourceItemInfo 1 Abyssal Chainbody (2609963923) || ItemCollection(Equipped) Equipped || ItemStack(-1927287200)[ 1 Abyssal Chainbody (2609963923) in ItemCollection(Equipped) Equipped]
DestinationItemInfo 12 Death Rune (3575815334) || ItemCollection(Main) Main || ItemStack(1452676138)[ 12 Death Rune (3575815334) in ItemCollection(Main) Main]
sourceCanGive True
destinationCanGive True
sourceCanAdd False
destinationCanAdd True
sourceIsNull False
destinationIsNull False
sourceSlotCanContain False
destinationSlotCanContain True
UnityEngine.Debug:Log (object)
Opsive.UltimateInventorySystem.UI.Item.DragAndDrop.DropActions.ItemViewDropContainerCanSmartExchangeCondition:CanDrop (Opsive.UltimateInventorySystem.UI.Item.DragAndDrop.ItemViewDropHandler) (at Assets/Opsive/UltimateInventorySystem/Scripts/UI/Item/DragAndDrop/DropActions/ItemViewDropContainerSmartExchangeAction.cs:63)
Opsive.UltimateInventorySystem.UI.Item.DragAndDrop.ItemViewDropActionsWithConditions:CanDrop (Opsive.UltimateInventorySystem.UI.Item.DragAndDrop.ItemViewDropHandler) (at Assets/Opsive/UltimateInventorySystem/Scripts/UI/Item/DragAndDrop/ItemViewSlotDropActionSet.cs:225)
Opsive.UltimateInventorySystem.UI.Item.DragAndDrop.ItemViewSlotDropActionSet:GetFirstPassingConditionIndex (Opsive.UltimateInventorySystem.UI.Item.DragAndDrop.ItemViewDropHandler) (at Assets/Opsive/UltimateInventorySystem/Scripts/UI/Item/DragAndDrop/ItemViewSlotDropActionSet.cs:129)
Opsive.UltimateInventorySystem.UI.Item.DragAndDrop.ItemViewDropHandler:ItemViewSlotSelected (Opsive.UltimateInventorySystem.UI.Item.ItemViewSlotEventData) (at Assets/Opsive/UltimateInventorySystem/Scripts/UI/Item/DragAndDrop/ItemViewDropHandler.cs:310)
Opsive.UltimateInventorySystem.UI.Item.ItemViewSlotsContainerBase/<>c__DisplayClass78_0:<Initialize>b__1 () (at Assets/Opsive/UltimateInventorySystem/Scripts/UI/Item/ItemViewSlotsContainerBase.cs:227)
Opsive.UltimateInventorySystem.UI.CompoundElements.ActionButton:OnSelect (UnityEngine.EventSystems.BaseEventData) (at Assets/Opsive/UltimateInventorySystem/Scripts/UI/CompoundElements/ActionButton.cs:316)
Opsive.UltimateInventorySystem.UI.Item.ItemViewSlot:OnSelect (UnityEngine.EventSystems.BaseEventData) (at Assets/Opsive/UltimateInventorySystem/Scripts/UI/Item/ItemViewSlot.cs:106)
UnityEngine.EventSystems.EventSystem:SetSelectedGameObject (UnityEngine.GameObject)
Opsive.UltimateInventorySystem.Input.EventSystemManager:SelectInternal (UnityEngine.GameObject) (at Assets/Opsive/UltimateInventorySystem/Scripts/Input/EventSystemManager.cs:107)
Opsive.UltimateInventorySystem.Input.EventSystemManager:Select (UnityEngine.GameObject) (at Assets/Opsive/UltimateInventorySystem/Scripts/Input/EventSystemManager.cs:89)
Opsive.UltimateInventorySystem.UI.CompoundElements.ActionButton:Select () (at Assets/Opsive/UltimateInventorySystem/Scripts/UI/CompoundElements/ActionButton.cs:96)
Opsive.UltimateInventorySystem.UI.Item.ItemViewSlotsContainerBase:SelectSlot (int) (at Assets/Opsive/UltimateInventorySystem/Scripts/UI/Item/ItemViewSlotsContainerBase.cs:637)
Opsive.UltimateInventorySystem.UI.Panels.ItemViewSlotContainers.ItemViewSlotsContainerPanelBinding:OnOpen () (at Assets/Opsive/UltimateInventorySystem/Scripts/UI/Panels/ItemViewSlotContainers/ItemViewSlotsContainerPanelBinding.cs:128)
Opsive.UltimateInventorySystem.UI.Panels.DisplayPanel:OpenInternal () (at Assets/Opsive/UltimateInventorySystem/Scripts/UI/Panels/DisplayPanel.cs:333)
Opsive.UltimateInventorySystem.UI.Panels.DisplayPanel:Open (Opsive.UltimateInventorySystem.UI.Panels.DisplayPanel,UnityEngine.UI.Selectable,bool) (at Assets/Opsive/UltimateInventorySystem/Scripts/UI/Panels/DisplayPanel.cs:273)
Opsive.UltimateInventorySystem.UI.Panels.DisplayPanelManager:OpenPanel (Opsive.UltimateInventorySystem.UI.Panels.DisplayPanel) (at Assets/Opsive/UltimateInventorySystem/Scripts/UI/Panels/DisplayPanelManager.cs:300)
Opsive.UltimateInventorySystem.UI.Panels.DisplayPanel:SmartOpen () (at Assets/Opsive/UltimateInventorySystem/Scripts/UI/Panels/DisplayPanel.cs:187)
Opsive.UltimateInventorySystem.UI.Panels.DisplayPanelSelector:SelectPanel () (at Assets/Opsive/UltimateInventorySystem/Scripts/UI/Panels/DisplayPanelSelector.cs:43)
Opsive.UltimateInventorySystem.UI.Panels.DisplayPanelSelector:OnPointerEnter (UnityEngine.EventSystems.PointerEventData) (at Assets/Opsive/UltimateInventorySystem/Scripts/UI/Panels/DisplayPanelSelector.cs:62)
UnityEngine.EventSystems.EventSystem:Update () (at ./Library/PackageCache/com.unity.ugui@1.0.0/Runtime/EventSystem/EventSystem.cs:530)
The main component is the ItemViewDropHanlder & the ContainerCanSmartExchange function.What are all components associated with making it work? I'm unsure but that'd help me take screenshots for comparisons
That's probably because your ItemViewDropHandler on the Bank references a different ItemViewSlotDropActionConditionObject. Check that it also has one were the debug is set for the ContainerCanSmartExchange to get logs.Dragging from Bank to player inventory produces no debug.
Debug.Log($"" +
$"sourceContainer {itemViewDropHandler.SourceContainer}\n" +
$"DestinationContainer {itemViewDropHandler.DestinationContainer}\n" +
$"sourceItemInfo {itemViewDropHandler.SourceItemInfo}\n" +
$"DestinationItemInfo {itemViewDropHandler.DestinationItemInfo}\n" +
$"sourceCanGive {sourceCanGive}\n" +
$"destinationCanGive {destinationCanGive}\n" +
$"sourceCanAdd {sourceCanAdd}\n" +
$"destinationCanAdd {destinationCanAdd}\n" +
$"sourceIsNull {sourceIsNull}\n" +
$"destinationIsNull {destinationIsNull}\n" +
$"sourceSlotCanContain {sourceSlotCanContain}\n" +
$"destinationSlotCanContain {destinationSlotCanContain}\n");