Sound crash a game (DEF-3147)

Hello, i newbie.

I want to try work with Defold, and now i research it.

Well, i found a trouble. My sound crash a game.

Script:

Main collection:

Result:

Would you mind posting the sound file that causes the crash?

Of course. but forum don’t accept .OGG, and i must upload it to another hosting.
https://drive.google.com/file/d/1_y66KbY307Z-yXA974hc296o5cdm8ApQ/view

Thanks. Unfortunately I was unable to reproduce the crash. The file plays just fine on my machine. Do you get anything in the log?

(Added ogg files to the forum btw).

i can give any log if you teach me.

But now i can give project file.
Getting Started Tutorial.zip (5.0 MB)

What platform are you on?

Windows, Classic build and html5

The project runs fine here. On windows you should find log files alongside where you have “Defold.exe”.

i don’t see any log. I even build binary release and don’t see too.

Do you see a console output line about a “_crash” file? If would be great if you could share that file :slight_smile:

Which one? :smiley:
Defold directory:
https://i.imgur.com/DciZNt5.png

Project directory:

Compiled build:

Ah, it doesn’t matter anymore, I can reproduce the crash 100% here. I know that something is “wrong” with the .ogg file, just can’t figure out what. It plays nicely in VLC, and on OSX, it plays (with huge stutters) but I get memory overruns etc, and on Win32 it just crashes… :confused:

Right now, I don’t have a good workaround for you, other than trying to rewrite the .ogg file from a different audio tool. What tool did you use to begin with?

1 Like

I think further discussion too large. I registered in Defold Slack and I’ll be gratefull if we discuss it there.

But I’m grateful that you found bug.

1 Like

I noticed stutter too but attributed that to Slack hogging my machine or something… :slight_smile:

3 Likes

I’ve found that the sound is missing an end tag, and I’m wondering if that messes up things. It would be cool to know if there’s a way to fix such an issue. And, of course, to detect it at build time :slight_smile:

3 Likes

8 posts were split to a new topic: Sound file with incorrect format crashes the engine (DEF-3148)