Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drawing MFCC's Error: InvalidOperationException: The UNKNOWN_OBJECT_TYPE CreateMfccTextureJob has been deallocated. All containers must be valid when scheduling a job #42

Open
Genji-MS opened this issue Jun 3, 2023 · 0 comments

Comments

@Genji-MS
Copy link

Genji-MS commented Jun 3, 2023

Unity v 2020.3.22f1, After setup and adding uLipSync to an object with audioSource and adding a Profile it will endlessly spam the following errors. It appears to be an issue in drawing the MFCCs as it only occurs when trying to view that component in the editor.

InvalidOperationException: The UNKNOWN_OBJECT_TYPE CreateMfccTextureJob.texColors has been deallocated. All containers must be valid when scheduling a job.
Unity.Jobs.LowLevel.Unsafe.JobsUtility.Schedule (Unity.Jobs.LowLevel.Unsafe.JobsUtility+JobScheduleParameters& parameters) (at <07c89f7520694139991332d3cf930d48>:0)
Unity.Jobs.IJobExtensions.Schedule[T] (T jobData, Unity.Jobs.JobHandle dependsOn) (at <07c89f7520694139991332d3cf930d48>:0)
uLipSync.TextureCreator.CreateMfccTexture (UnityEngine.Texture2D tex, uLipSync.MfccData mfcc, System.Single min, System.Single max) (at Library/PackageCache/com.hecomi.ulipsync@383958db11/Runtime/Core/TextureCreator.cs:199)
uLipSync.ProfileEditor.DrawMFCC (UnityEngine.Rect position, System.Int32 index, System.Boolean showCalibration) (at Library/PackageCache/com.hecomi.ulipsync@383958db11/Editor/ProfileEditor.cs:183)

&

A Native Collection has not been disposed, resulting in a memory leak. Enable Full StackTraces to get more details.

Searching for a fix I only found a resource to enable full stack traces

As a temporary fix; Commenting out lines 181-200 in TextureCreator.cs will create a grey texture, and the scene will run just fine without any further issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant