Does the issue occur in the editor or during 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:
Briefly describe the issue you're experiencing:
When setting up a ranged weapon item with an On Hit script, if you set the Ammo to either Item By ID or Item By Tag, the On Hit script will not trigger.
Character Stat, None (Umlimited) and None (Single Use) all trigger the On Hit Script.
Are there any errors in the in-game debug console or external console window?
Provide the steps necessary to reproduce the issue:
- Have a ranged weapon that fires a projectile, with a On Hit script
- Set the Ammo to be an item (by tag or ID)
- Play and when firing the weapon, the Hit script will not trigger.
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):
I'll get one prepared shortly.