Noveltease
Member
I am having an issue where if I do a clean install of the updated TPC/UIS and the new integration, everything works as intended.
However, trying to update an existing project, I keep getting these 3 errors:
1) Assets\Opsive\UltimateCharacterController\Integrations\UltimateInventorySystem\Scripts\ItemSet\InventoryItemSetManager.cs(197,33): error CS0115: 'InventoryItemSetManager.AddItemSet(Item, IItemCategoryIdentifier)': no suitable method found to override
2) Assets\Opsive\UltimateCharacterController\Integrations\UltimateInventorySystem\Scripts\CharacterInventoryBridge.cs(882,30): error CS0115: 'CharacterInventoryBridge.DropItem(Item, int, bool, bool)': no suitable method found to override
3) Assets\Opsive\UltimateCharacterController\Integrations\UltimateInventorySystem\Scripts\CharacterInventoryBridge.cs(822,30): error CS0506: 'CharacterInventoryBridge.RemoveItem(IItemIdentifier, int, int, bool)': cannot override inherited member 'InventoryBase.RemoveItem(IItemIdentifier, int, int, bool)' because it is not marked virtual, abstract, or override
Quick overview of what I did on the existing project.
Steps taken:
1) I deleted my old integration file from the project
2) I updated TPC/UIS and imported
3) I deleted my old integration download file, downloaded the new file, and imported the new integration to my project.
This then gave me the 3 errors above, so I deleted my old Inventory Database completely which luckily only had an apple in it so was no huge loss. I duplicated the emptyInventoryDatabase again and the errors remained. Out of curiosity, I tried duplicating the integrationInventoryDatabase which did not help either.
In the documentation, it shows an integration inspector. On the clean install I did, it also has the integration inspector. However, in my existing project it does not have the integration inspector and acts as if it does not see the integration
I even tried creating a new scene and doing everything from scratch in the exiting project and get the same 3errors listed above.
However, trying to update an existing project, I keep getting these 3 errors:
1) Assets\Opsive\UltimateCharacterController\Integrations\UltimateInventorySystem\Scripts\ItemSet\InventoryItemSetManager.cs(197,33): error CS0115: 'InventoryItemSetManager.AddItemSet(Item, IItemCategoryIdentifier)': no suitable method found to override
2) Assets\Opsive\UltimateCharacterController\Integrations\UltimateInventorySystem\Scripts\CharacterInventoryBridge.cs(882,30): error CS0115: 'CharacterInventoryBridge.DropItem(Item, int, bool, bool)': no suitable method found to override
3) Assets\Opsive\UltimateCharacterController\Integrations\UltimateInventorySystem\Scripts\CharacterInventoryBridge.cs(822,30): error CS0506: 'CharacterInventoryBridge.RemoveItem(IItemIdentifier, int, int, bool)': cannot override inherited member 'InventoryBase.RemoveItem(IItemIdentifier, int, int, bool)' because it is not marked virtual, abstract, or override
Quick overview of what I did on the existing project.
Steps taken:
1) I deleted my old integration file from the project
2) I updated TPC/UIS and imported
3) I deleted my old integration download file, downloaded the new file, and imported the new integration to my project.
This then gave me the 3 errors above, so I deleted my old Inventory Database completely which luckily only had an apple in it so was no huge loss. I duplicated the emptyInventoryDatabase again and the errors remained. Out of curiosity, I tried duplicating the integrationInventoryDatabase which did not help either.
In the documentation, it shows an integration inspector. On the clean install I did, it also has the integration inspector. However, in my existing project it does not have the integration inspector and acts as if it does not see the integration
I even tried creating a new scene and doing everything from scratch in the exiting project and get the same 3errors listed above.