Hello, I have an issue when my character (Marine) is killed. A Blueprint Runtime Error Attempted to access AudioComponent_2 via property WeaponFireSound is shown. I even tried the suggestions provided in the lecture but I could not fix it. One of the suggestions fixed the issue of the runtime error but then another issue appeared. The other issue was that after my character got killed, the sound of the weapon firing did not stop. Thank you
Hi there! My recommendation would be to stop all sounds during death (using whichever function you use to handle death).
As you describe the main issue is that you’re trying to access the component after it has been destroyed or “flagged” for deletion and therefore has become non-accessible.