Skip to content
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

Editor Utility Widget audio playback not working #54

Open
parkerchristie1 opened this issue Sep 13, 2023 · 1 comment
Open

Editor Utility Widget audio playback not working #54

parkerchristie1 opened this issue Sep 13, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@parkerchristie1
Copy link

I have been trying to play loaded audio from file & buffers in an Editor Utility Widget. All functionality for importing/exporting is working, but when trying to play the imported audio using Play Sound 2D in the Editor Utility Widget, the audio only plays for a a brief moment (less than half a second) when I select another application other than Unreal.

@gtreshchev
Copy link
Owner

The editor exhibits slightly different behavior in terms of GC as far as I know, and it may also potentially encounter sound playback issues because the sound wave is immediately destroyed. Please try to put your sound wave as a UPROPERTY or use another approach to mark it as a strong reference for the garbage collector in order to prevent it from being prematurely destroyed.

@gtreshchev gtreshchev added the enhancement New feature or request label Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants