Shiyatzu / OculusLipsyncPlugin-UE5

Oculus LipSync Plugin compiled for Unreal Engine 5. This plugin allows you to synchronize the lips of 3D characters in your game with audio in, using the Oculus LipSync technology.
79 stars 4 forks source link

Failed to start async prediction error #3

Closed barisGoArt closed 11 months ago

barisGoArt commented 12 months ago

Hi!

Thank you very much for the project.

I use demo project of Oculus Lip Sync, and I got "Failed to start async prediction" error when I try to call UOVRLipSyncContextWrapper::ProcessFrameAsync through UOVRLipSyncActorComponent::FeedAudio on Unreal Engine 5.3 from source code.

This is caused by feeding it with invalid parameter according to ovrLipSyncResult enum:

/// An invalid parameter, e.g. NULL pointer or out of range
ovrLipSyncError_InvalidParam = -2202,

However, when I print the values I feed, there seems to be no problem as AudioBuffer[0] is between -20000 to 20000, AudioBufferSize is 1500, and mean value of AudioBuffer values is between -20 to 20

I don't know the cause of this issue because that part of the plugin is not open sourced.

Do you have any idea why this may happen or can you lead me in any ways?