cancel
Showing results for 
Search instead for 
Did you mean: 

EntryPointNotFoundException when using Avatar SDK

Weensome
Honored Guest
I'm trying to use the hand meshes provided by the Avatar SDK. I'm following the Avatar SDK Getting Started Guide and the Avatar SDK Guide, but when running the project the console displays EntryPointNotFoundExceptions and the hands don't show up.
I'm using Unity 5.6.0f3 PersonalOculus Utilities 1.13.0 and Avatar SDK 1.13.0
  1. I create a fresh project and import Oculus Utilities and Avatar SDK
  2. Then I run the LocalAvatar sample scene
  3. When the project starts running the log fills up with this message:
EntryPointNotFoundException: ovrAvatarSkinnedMeshRender_MaterialStateChanged
OvrAvatarSkinnedMeshRenderComponent.UpdateSkinnedMeshRender (.OvrAvatarComponent component, .OvrAvatar avatar, IntPtr renderPart) (at Assets/OvrAvatar/Scripts/OvrAvatarSkinnedMeshRenderComponent.cs:32)
OvrAvatarComponent.UpdateAvatar (ovrAvatarComponent component, .OvrAvatar avatar) (at Assets/OvrAvatar/Scripts/OvrAvatarComponent.cs:207)
OvrAvatar.UpdateAvatarComponent (ovrAvatarComponent component) (at Assets/OvrAvatar/Scripts/OvrAvatar.cs:187)
OvrAvatar.UpdateSDKAvatarUnityState () (at Assets/OvrAvatar/Scripts/OvrAvatar.cs:305)
OvrAvatar.Update () (at Assets/OvrAvatar/Scripts/OvrAvatar.cs:484)
I have been told I should add the three AvatarSurfaceShaders to the Preloaded Assets section of PlayerSettings and also to the Always Included Shaders section of GraphicsSettings. But the same error message occurs. 

Any idea why this is happening?
1 ACCEPTED SOLUTION

Accepted Solutions

Weensome
Honored Guest
So the problem has been solved.
It turns out the Oculus App wasn't updating past version 1.12 for whatever reason. The app has updated in the past, but hadn't been able to update for at least a week (individual games had updated themselves in that time). This version of the Oculus App was also causing hands not to show up in Facebook Spaces.

The solution was to uninstall the entire Oculus App and then reinstall it. Uninstalling the app also deletes the local copies of any Oculus games/apps you have by the way :/.

This brought the Oculus App up to version 1.14. Now the avatar and hands show up when running the LocalAvatar scene and in Facebook Spaces. The EntryPointNotFoundException has gone away too :smile:.

View solution in original post

2 REPLIES 2

Weensome
Honored Guest
So the problem has been solved.
It turns out the Oculus App wasn't updating past version 1.12 for whatever reason. The app has updated in the past, but hadn't been able to update for at least a week (individual games had updated themselves in that time). This version of the Oculus App was also causing hands not to show up in Facebook Spaces.

The solution was to uninstall the entire Oculus App and then reinstall it. Uninstalling the app also deletes the local copies of any Oculus games/apps you have by the way :/.

This brought the Oculus App up to version 1.14. Now the avatar and hands show up when running the LocalAvatar scene and in Facebook Spaces. The EntryPointNotFoundException has gone away too :smile:.

juanoldinho
Heroic Explorer

Weensome said:

The solution was to uninstall the entire Oculus App and then reinstall it. Uninstalling the app also deletes the local copies of any Oculus games/apps you have by the way :/.



Regarding uninstalling the Oculus app, it looks like you found out the hard way about losing your games and apps 😕 but fortunately you can backup your games by locating your installation directory and copying the Software folder to a new directory. 

More information can be found in our Support Center documentation:
https://support.oculus.com/1715420212071737
Please tag me, @juanoldinho, in your forum post/response if you need immediate assistance or want additional support or context on an issue you are having with our software or integrations.

Having an issue with our platform, services, or integrations?

Try using our new bug tool to report this and receive emailed updates as we proceed to address it internally.