godotengine / godot-demo-projects

Demonstration and Template Projects
https://godotengine.org
MIT License
5.74k stars 1.59k forks source link

Audio Generator fails because player not started before getting stream playback. #913

Closed blackears closed 1 year ago

blackears commented 1 year ago

Which demo project is affected:

Audio Generator

OS/device including version: Windows 10

Issue description:

https://github.com/godotengine/godot/issues/76324

Tried to use Audio Generator demo with Godot 4. If failed with an error due to $Player.get_stream_playback() returning null. However, moving the line $Player.play() to the line before this one resolved the issue.

Screenshots of issue:

zf-moth commented 1 year ago

I gave it a try and it looks like the issue has been fixed in #782. Everything seems to be working. This issue can be closed.