Why is my inventory system not picking up all items?

Hello,

This is a LOT of code that is dependent on a LOT of other code.

You may get lucky with someone who has the time to sort through all this, but it looks like hours of debugging for the person who may help you.

If you (and a lot of other users) have been having issues with the system that the tutorial has placed, then it very likely is NOT a stable system you should be using.

If you don’t already have some experience with inventory systems, starting with one as complicated as this is ASKING for trouble.

I would start over, and look for less complicated systems to learn and/or try to create my own (assuming you have a strong enough handle on programming in Unreal to do so).

If you insist on using this system, which seems obfuscate to you, then add PRINT STRINGS to all landmark codestrings so you can keep track, on screen, of what your system is doing and when.

As it stands, your issue could be any and/or all of the following:

  1. Order of operations
  2. Human error (a misconnected node, a spelling mistake, an incorrect reference)
  3. Deprecated or misused nodes
  4. Shoddy programming

Adding PRINT STRINGS will help you diagnose this. But, again, if you don’t fully understand what you did, you will NOT be able to fix it.

1 Like