cc.audioEngine.playEffect doesn't work in native Windows executable

Hello everyone,

Recently I stumble into a weird problem where I cannot play any audio if I compile the game into native Windows executable.
My audio clips are attached to the main scene with @property(cc.AudioClip). Before, when I was testing on a web page hosted in localhost, audio clips would play without any problem. However, when I try to compile the game into a native Windows executable, suddenly all audio clips stop playing. Therefore, I’m wondering if there are additional settings that should be done in order to allow the game to play audio clips in native Windows executables.

I’ve already tried switching to cc.audioEngine.play(), or switching the format of audio clips from Web Audio to DOM audio, but to no avail. All audio clips are in .wav formats. Does anyone know how to solve this problem or have rushed into similar problems before?

Thanks.