You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had to load the .pck with GodotPckExplorer to notice the change.
After some discutions on the Godot Engine Discord, one the Godot dev tell me :
Godot does some preprocessing on the ogg stream [...], so the preprocessed-serialized stream gets put into an oggstr file and then that's what gets included in the export
Steps to reproduce
Import an .ogg file.
Export the game.
Open the .pck file (with program like GodotPckExplorer)
Compare the path before and after export.
Minimal reproduction project
In this project there is one scene with an AudioStreamPlayer
The .ogg file is loaded by script
Run from the editor the game load the .ogg correctly.
But if you run the exported .exe the .ogg path is broken.
Godot version
3.5
System information
Windows 10
Issue description
With gdscript you can load an .ogg file by its path like this one :
But when you export the game, without telling you, Godot change the path inside the .pck from .ogg to .oggstr with some md5 hash
I had to load the .pck with GodotPckExplorer to notice the change.
After some discutions on the Godot Engine Discord, one the Godot dev tell me :
Steps to reproduce
Minimal reproduction project
In this project there is one scene with an AudioStreamPlayer
The .ogg file is loaded by script
Run from the editor the game load the .ogg correctly.
But if you run the exported .exe the .ogg path is broken.
GodotOggExportIssue.zip
or link to the repo
https://github.com/LavandePotions/lpGodotOggExportIssue
The text was updated successfully, but these errors were encountered: