Skip to content

uLipSync 3.0.2 not working with WebGL in Unity 2022.3 #57

@horeatrinca

Description

@horeatrinca

Hi! I'm trying to use the plugin in a WebGL build, but the lips are not moving.

Test procedure:

  1. Start a brand new project, install the 3.0.2 unity package.
  2. Comment out anything microphone related, so the build can succeed.
  3. Do a WebGL build of the scene called 01-1. Play Audio Clip

Result:
Lips are not moving. No errors are shown in the browser console, apart from a warning:

An AudioContext was prevented from starting automatically. It must be created or resumed after a user gesture on the page

Tested on the latest Firefox and Chrome browsers (Windows 10).

Notes:

  • Lips are moving correctly in the editor and Windows standalone builds
  • I've read the internet high and low and it looks like the job system should be supported, it's just that the job count is set to 0 so that everything runs on the main thread
  • I tried setting max job count to 0 in the unity editor to see if that makes any difference, but the editor works well with that setting as well. I did it by setting JobsUtility.JobWorkerCount = 0; in uLipSync.cs's awake method.

Has anyone solved this issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions