cancel
Showing results for 
Search instead for 
Did you mean: 

Oculus application crashes when calling AvatarComponent->RequestAvatar in Unreal Engine

ImerzaCeleste
Level 2
Hello,

We are experiencing a crash when implementing the Avatar Component into our project and calling RequestAvatar in Unreal Engine. 
It seems to be able to retrieve 3 to 4 materials properly and then fails a check, causing a crash. I have attached the callstack as a .txt file to the post.

I have tried calling AvatarComponent->RequestAvatar both with UseCombinedMesh to true and to false.

Please advise with any information you may require to debug or resolve this issue. Right now this is a blocker for us to be able to display the avatar in the project.

Information:
* Binary Unreal Engine 4.25.4
* Oculus Avatar SDK plugin integrated into the binary engine

Thank you for your time,
Stay safe,
Céleste

The last lines in the log before the crash are:

[2020.11.09-11.00.40:152][  0]LogAvatars: Display: UOvrAvatarGazeTarget::BeginPlay - GUID 13369, Type: AvatarHead 
[2020.11.09-11.00.40:152][  0]LogAvatars: Display: [Avatars] - Loading Material /OculusAvatar/Materials/AvatarsPBR_2/OculusAvatars_PBRV2_Exp_Opaque_Body_Mobile for body part 0
[2020.11.09-11.00.40:153][  0]LogAvatars: Display: [Avatars] - Loading Material /OculusAvatar/Materials/AvatarsPBR_2/OculusAvatars_PBRV2_Exp_Opaque_Simple_Mobile for body part 1
[2020.11.09-11.00.40:153][  0]LogAvatars: Display: [Avatars] - Loading Material /OculusAvatar/Materials/AvatarsPBR_2/OculusAvatars_PBRV2_Exp_Opaque_Simple_Mobile for body part 3
[2020.11.09-11.00.40:153][  0]LogAvatars: Display: [Avatars] - Loading Material /OculusAvatar/Materials/AvatarsPBR_2/OculusAvatars_PBRV2_Exp_Opaque_Simple_Mobile for body part 4
[2020.11.09-11.00.40:158][  0]LogOutputDevice: Warning: 

Script Stack (0 frames):

0 REPLIES 0