[BUG] Pistol equip audio playing is context dependent

DankP3

Active member
1. Character controller variant (Ultimate Character Controller, First Person Controller, etc).
UCC 3.0.3
2. Unity version (include which SRP, beta Unity versions aren't supported)
2021.3.12f1
3. Bug description
There is some variability in the item equip audio. Seen in the demo scene the pistol equip sounds do not play when equiping after the body item, but do when equipping after the assault rifle.

I am sure the issue is trivial, but would like to know if changes are made in the demo as it also affects my own weapon items made through the item manager.

4. Steps to reproduce
play demo scene and scroll wheel through the weapons in both directions

5. The full error message (if any)
 
Thank you, I'll add this in the list of things to review.
If this is code related the fix will also fix it in your scene, if not then it I'll let you know
 
Thanks to your bug report I was able to fix a bug in the audio system that would play empty audio clips over "real" audio clips.
The fix will be part of the next update
 
Top