New Scenarios -Node2D -AudioStreamPlay- AudioStreamPlay .play() -Path is null

Hello, so for this game project
003 Frutas Coleccionables_bilibili_哔哩哔哩_bilibili


Looks like “frutasssonido” is not the name of the node. Looks like too many “sss” in the name. Make sure is the same as the node.
You can drag the node into the code, tha will create the $ notation variable for you.

Thank you for your reply. Sorry, I have changed the name of the AudioStreamPlay node , I have created a new scene and added a Node node, while adding a child node AudioStreamPlayer,Assign AudioStreamPlayer audio to Sistema de Archivos

But after triggering the node, an error will be reported

Thank you for replying to me,
After initializing with @ onready, there won’t be any issues when calling it

1 Like