idzhurov Posted December 17, 2020 Share Posted December 17, 2020 Hello everyone, I am using pixi-sound in my game and have a very strange problem - some of the sounds are not playing, even though pixi says that they are. This is what I get when I use sound.exists(alias).play(). I see that media is null and maybe this is the problem, but I cannot see a reason why it may happen. I am preloading all sounds like this: PIXI.Loader.shared.add(pixiSound.add(resource.id, pixiSound.Sound.from(resource.url))); Only after everything gets loaded I am allowing the game to start and some of the sounds are just not playing. I am using pixi 5.3.3 and pixi-sound 3.0.5 Can anyone help? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.