cancel
Showing results for 
Search instead for 
Did you mean: 

Saving and recalling an avatar's specification at a fixed point in time

johnluxford
Protege
First, I'm using Unity 2017.2.0f3 with the latest Oculus Integration package from the asset store.

I'd like to try recording something with Oculus Avatars and play it back later, but I want the avatar's look to stay what it was at that point in time, so if a user modifies their avatar later the playback should still look like their old self.

Is this currently possible in Unity? I'm only seeing the ability to get a user's current avatar specification based on their user ID, and my attempts to store the value returned by RequestAvatarSpecification() as an Int64 and later pass it manually to CAPI.ovrAvatar_Create() are causing Unity to crash on the call to CAPI.ovrAvatar_Create() with my IntPtr.

Leaving my Int64 -> IntPtr code active, but calling CAPI.ovrAvatar_Create() with the current value from RequestAvatarSpecification() works fine, but then it's not referring to the saved specification.
0 REPLIES 0