TriplePete
2 years agoMember
Unable to render Meta Avatars SDK v24.0
I have updated Meta Avatars SDK to v24.0. I did change to the new AvatarSdkManagerMeta prefab containing the the new MetaAvatarShaderManager. The MetaAvatarShaderManager references the two MetaShaderConfiguration.asset and MetaShaderConfigurationVertex.asset.
Everything looks nice and works well in Unity Editor and in Meta XR Simulator - avatars renders as intended.
But when building apk I get two errors:
"Shader error in 'Avatar/Meta': "UNITY_INSTANCING_PROCEDURAL_FUNC must be defined." and Shader error in 'Avatar/Meta': redefinition of 'UnityDisplayOrientationPreTransform'"
The apk builds but avatars is not rendered on HMD.