-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add a function to toggle strict error handling for audio functions #7285
Comments
I think the default should be for stricter handling of errors |
Added the function Note that 'bad sound instance' is a separate error type from a 'bad index', and will not be thrown for until we can make certain guarantees about their behaviour in the engine. Any error types not thrown for (including those suppressed by the new function) will have their error messages printed to the console. Example project: gmb-7285-x.zip |
Verified fixed on IDE v2024.1100.0.626 Runtime v2024.1100.0.652. Thank you. |
Is your feature request related to a problem?
In 2024.8 we had intended to begin throwing for certain types of audio errors, but this has turned out to be a high-impact change (see #7284).
Describe the solution you'd like
We should add an option to toggle stricter handling of audio errors via a new audio function. This will throw for:
-1
).Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: