05-06-2022 08:35 AM
Hello everyone,
Basically I encountered two main problems after installing the Meta Avatar SDK 12.0 in a Quest 2 project and in a fresh new one. I followed this youtube tutorial to learn the fundamentals https://www.youtube.com/watch?v=Lz5PEOTHey4 but with very different results.
I tried both Unity 2021.x and 2020.3.23f1 but got the exact same problems.
The first one is about the avatar rig in every example scene (the CornellBoxLightingExample for reference in this case):
As you can see in the image above every avatar has the left arm and head shrinked down to the center of the body:
I read in the Meta Avatar SDK page that AMD GPUs are not supported or something similar:
https://developer.oculus.com/downloads/package/meta-avatars-sdk/
Here the snippet in question:
The Second problem, which appears even worse in the MirrorScene is about the avatar that should move alongside the user.
First of all I receive 3 errors:
The first one refers to the appId, which I already set in the Oculus Developer Site and inside Unity
[ovrAvatar2 examplePlatformInit] Update your app id by selecting 'Oculus Platform' -> 'Edit Settings'
at Oculus.Platform.Core.getAppID (System.String appId) [0x00046] in D:\Unity Projects\VR Test - Copia\Assets\Oculus\Platform\Scripts\Platform.cs:50
at Oculus.Platform.Core.AsyncInitialize (System.String appId) [0x00000] in D:\Unity Projects\VR Test - Copia\Assets\Oculus\Platform\Scripts\Platform.cs:64
at OvrPlatformInit.InitializeOvrPlatform () [0x00020] in D:\Unity Projects\VR Test - Copia\Assets\Oculus\Avatar2\Example\Common\Scripts\OvrPlatformInit.cs:34
UnityEngine.Debug:LogError (object,UnityEngine.Object)
Oculus.Avatar2.OvrAvatarLog:Log (Oculus.Avatar2.OvrAvatarLog/ELogLevel,string,string,UnityEngine.Object) (at Assets/Oculus/Avatar2/Scripts/OvrAvatarLog.cs:101)
Oculus.Avatar2.OvrAvatarLog:LogError (string,string,UnityEngine.Object) (at Assets/Oculus/Avatar2/Scripts/OvrAvatarLog.cs:159)
OvrPlatformInit:InitializeOvrPlatform () (at Assets/Oculus/Avatar2/Example/Common/Scripts/OvrPlatformInit.cs:88)
SampleAvatarEntity/<LoadCdnAvatar>d__24:MoveNext () (at Assets/Oculus/Avatar2/Example/Common/Scripts/SampleAvatarEntity.cs:137)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)
After that I get this one other twice:
[ovrAvatar2 sampleAvatar] Error initializing OvrPlatform. Falling back to local avatar
UnityEngine.Debug:LogError (object,UnityEngine.Object)
Oculus.Avatar2.OvrAvatarLog:Log (Oculus.Avatar2.OvrAvatarLog/ELogLevel,string,string,UnityEngine.Object) (at Assets/Oculus/Avatar2/Scripts/OvrAvatarLog.cs:101)
Oculus.Avatar2.OvrAvatarLog:LogError (string,string,UnityEngine.Object) (at Assets/Oculus/Avatar2/Scripts/OvrAvatarLog.cs:159)
SampleAvatarEntity/<LoadCdnAvatar>d__24:MoveNext () (at Assets/Oculus/Avatar2/Example/Common/Scripts/SampleAvatarEntity.cs:144)
UnityEngine.SetupCoroutine:InvokeMoveNext (System.Collections.IEnumerator,intptr)
If the Quest 2 is connected via Usb and AirLink to Unity the two avatars are completely broken or glitched, may due to a corruption of the models? I'm not able to tell
I'm actually completely lost, I hope someone has any idea how to solve this problem.
05-18-2022 08:15 PM
Hey, did you figure this out? I'm having the same issue here.