Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
RubenBarrow's avatar
RubenBarrow
Honored Guest
3 years ago

Avatar apply stream data error: "ovrAvatar2Streaming_DeserializeRecording failed with NotFound"

Hi I am trying to synchronize avatar poses over the network. For this I send the byte array I get from 

OvrAvatarEntity.RecordStreamData_AutoBuffer(lod,  ref tempArray);

When I try to apply this to the avatar with

OvrAvatarEntity.ApplyStreamData(in slice)

I get the error: "[ovrAvatar2 OvrAvatarAPI_Streaming] Operation (ovrAvatar2Streaming_DeserializeRecording) failed with result (NotFound)". 

This seems to be because the result returned from this external call

ovrAvatar2Streaming_DeserializeRecording(entityId, sourceBuffer, bytes)

to the oculus api on line 87 in OvrAvatarAPI_Streaming.cs is NotFound. 

Does anybody know what this result code means or what could cause it?
As far as I can tell my byte array gets transferred correctly and the entityId is set as well.

3 Replies

Replies have been turned off for this discussion
  • RubenBarrow Did you manage to resolve this issue? I'm currently facing the same. I've been testing with one build on the Oculus Quest 2 and another from Unity editor. I'm not exactly able to debug the data as it is all just a byte array. Please let me know if you've figured out a solution.

  • For anyone who has came across this issue make sure on remote rig avatar entity you set CreationInfo->Features->Preset_Remote. The reason being OVR_Entity will not be able to deserialse data on remote with other  checks in creation info enabled.(atleast that was the issue in my case)