© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
35 replies
Sangit

❔ Inventory item stacking

i am working on a inventory system in unity where i am trying to add item stacking, however i am having issues where its not displaying the correct number of items that are stacked. , i managed to spot something which might be the main reason why items are not stacking properly.
so whenever i am incrementing items, the item count goes up as expected however when i click on the inventory icon, the values reset for some reason
not really sure how to fix it.
InventoryItemController.cs2.08KB
InventoryManager.cs4.21KB
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Item stacking in unity c#
C#CC# / help
3y ago
❔ Image For inventory
C#CC# / help
4y ago
❔ Locking of serialized inventory
C#CC# / help
3y ago
Inventory Maintence Project Issue
C#CC# / help
3y ago