Hello
For the past few days I keep getting this error. I have explored different options to resolve it with out any luck,.
Hope some one can help.
protected override IEnumerator LoadAvatarAsync(AvatarUri uri)
{
this.uri = uri;
yield return DownloadAvatar(uri).Run();
#if !UNITY_EDITOR && UNITY_WEBGL
GameObject avatar = Importer.LoadFromBytes(avatarBytes, new ImportSettings() { useLegacyClips = true });
OnImportFinished(avatar);
#else
/* This line is causing the error. */
Importer.ImportGLBAsync(avatarBytes, new ImportSettings() { useLegacyClips = true }, OnImportFinished);
#endif
}