Does the issue occur in the editor or during gameplay?
Gameplay
If it's a gameplay issue, please specify which movement system and camera type you're using (free movement vs. grid movement, third-person vs. first-person) or N/A if not applicable:
N/A
Briefly describe the issue you're experiencing:
This is a wierd one that I don't know why it happens, and I beleive SODA had this issue as well (possibly reported it?) but was difficult to reproduce.
I have in my possession a widget causing the issue so will provide it along with a bare bones project.
When using a custom inventory widget setup, occassionally a bug can present itself where a usable item cannot be used (right clicking on the item in the slot does nothing).
Not sure if this could be a route to the cause, but I notice with this particular widget setup as you'll see when you look at it, the Item Slot ID's are numbered not sequentially, and element 0001 is not a item slot.
When picking up a item, it goes into the lowest numbered ID slot (0004) in this case, which is the box in the 2nd row, 4th to the right.
Could there be something in the "usable item" code that might cause an issue if the slots are not sequential? or if the slot doesn't start at 0001?
Just a thought / observation with this particular widget that has the issue.
Are there any errors in the in-game debug console or external console window?
No
Provide the steps necessary to reproduce the issue:
- Play the project provided.
- right click the item (it's set to usable, with a script to display a message)
Provide a download link to the bare bones project (strongly recommended if it's an in-game issue, since this helps significantly when attempting to reproduce it; the report will also be given more priority in this case):