You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The audio providers/components/etc. are always initialized in a game, even if all scenes don't have any audio component/listener.
Describe the solution you'd like
Have the audio system initialize on-demand (when it is first needed).
Describe alternatives you've considered
This behavior could be driven by a configuration option, where audio is
opt-out: in which case any attempt to initialize it would throw
lazy-load: initialized on first use
pre-load (current behavior): initialized at the start
Additional context
While rare, some games might not need any audio. Not initializing that part of the engine might save some memory and improve performance.
Another use case is when trying to run a game from WSL where audio is not supported by default. Granted, it is niche but very useful for developers to quickly test whether a game works correctly on Linux without requiring dual-boot or another machine.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
The audio providers/components/etc. are always initialized in a game, even if all scenes don't have any audio component/listener.
Describe the solution you'd like
Have the audio system initialize on-demand (when it is first needed).
Describe alternatives you've considered
This behavior could be driven by a configuration option, where audio is
Additional context
While rare, some games might not need any audio. Not initializing that part of the engine might save some memory and improve performance.
Another use case is when trying to run a game from WSL where audio is not supported by default. Granted, it is niche but very useful for developers to quickly test whether a game works correctly on Linux without requiring dual-boot or another machine.
The text was updated successfully, but these errors were encountered: