Closed danielgoodwin97 closed 10 months ago
Do you confirm you can find the file in public/sounds/music/in-menu-loop.wav
in Xcode ?
Yes - it was present.
I'm no longer using the library due to this issue - I ended up finding another which worked instead but I thought I'd put a report in.
@danielgoodwin97 thanks, i think you put in your path you give to the lib "public/" where you shouldn't.
You should preload like this: sounds/music/in-menu-loop.wav
Describe the bug When running the application on iOS my application loads, shows the main menu screen and then freezes due to an error being thrown. When removing all calls to this package the application works as expected (albeit no sound, obviously).
The asset path seems to be set up correctly and the files exist there. I'm not attempting to play them directly after load either so I'm not sure as to why this error is being thrown.
All of this works on Android for the record.
The debugger lands here and shows this error:
To Reproduce Steps to reproduce the behavior:
preload
method.Expected behavior The sound plays and the app loads as normal.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Here's the source code that actually loads/interacts with the assets.