Since I discovered this on 1.3.3 Alpha, wasn’t sure if it should be reported or mentioned on forum. But in case this helps any…
Describe the bug (REQUIRED)
Getting sound file validation failed when bundling HTML5 (error: Sound file validation failed. Make sure your ‘ogg’ files are correct using ‘oggz-validate’… : unable to open file …)
To Reproduce (REQUIRED)
Downloaded Kenny Game Assets to test with ogg that are not my own set (Kenney Free Game Assets)
Opened an empty project, created a simple script to play sound
Build normally (no issues)
Build HTML5 (ogg error appears)
Expected behaviour (REQUIRED)
Building HTML5 should have no issues, as there were no issues with a regular Build
That’s the error message, only seems to happen for Build HTML5 and bundle HTML. Does not happen for normal Build, and sound plays ok. Attaching the test project too.
Correct, it’s a new feature we’ve added to the bundle step (which the build for HTML5 uses). We will later on add this validation step in the editor as well.
We added the step since we noticed in another project that some ogg files didn’t work properly with our runtime. In that case, the ogg files were saved with a newer version of the ogg format, which we don’t yet support.
Everything as Mathias said (validation for now only in bob.jar but we will add this in the editor as well)
But this error message looks strange. It’s not a validation error, but file opening error, I’ll take a look why it’s happening and come back to you in a while.
Great news! It’s working well on my projects. The update to 1.3.3 for key bindings in HTML5 is doing well, and I’ll announce it in my project’s thread too.