0 votes

I have two triggers for sounds. One pretty much always works and the other usually doesn't, except for when they are triggered within a few seconds of the game's launch. The issue isn't the trigger, since the other things that happen in the trigger occur. I also know the issue isn't the syntax for playing it, since I use the exact same syntax in triggering the sounds that do work.
Why aren't they playing and what could be a solution?

Godot version 3.4.4
in Engine by (12 points)

Hard to tell without code, but have you tried to writing a debug message into your script to root out what happens? Try inserting a print command to print your variables or trigger when they process and see if they are actually changing. That’s how i would start.

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.