readyplayerme / rpm-unity-sdk-core

This Module contains all the core functionality required for using Ready Player Me avatars in Unity, including avatar loading and creation
MIT License
97 stars 33 forks source link

VoiceHandler memory access out of bounds on WebGL #323

Open johanqlic opened 4 weeks ago

johanqlic commented 4 weeks ago

Describe the bug Copy of #320, after updating to version 7.3.1 it seems the bug is back.

Files

I'm using an empty project with no modifications, only an imported character and a tiny mp3 file.

To Reproduce

  1. Import a RPM character
  2. Add the VoiceHandler component
  3. Set AudioProvider to "AudioClip" on that component
  4. Assign a random audio clip (I had the same error on different audio files)
  5. Build to WebGL and play the audio (via canvas button for example, or play on awake)

Expected behavior

There should be no memory exception. When playing the audio manually without the VoiceHandler on a differen unity node produces no error.

Screenshots

image

Desktop (please complete the following information):

additionally (if significant for the bug):