[Solved] Weird flickering with Avatars SDK mesh - Page 2 — Oculus
Welcome to the Oculus Developer Forums!

Your participation on the forum is subject to the Oculus Code of Conduct.

In general, please be respectful and kind. If you violate the Oculus Code of Conduct, your access to the developer forums may be revoked at the discretion of Oculus staff.

[Solved] Weird flickering with Avatars SDK mesh

2»

Comments

  • Ross_BeefRoss_Beef Posts: 170 Oculus Staff
    Hey @BlastoIO - can you let me know specifically what SDK and unity integration you were using when you encountered this crash?
  • BlastoIOBlastoIO Posts: 3
    NerveGear
    @Ross_Beef - Let me know if you need more info.

    Unity v5.4.4f1
    Oculus Utilities v1.12.0 (OVRPlugin.wrapperVersion)
    OVRPlugin v1.10.0 (OVRPlugin.version)
    SDK v1.13.0 [also happens on 1.12] (OVRPlugin.nativeSDKVersion)
    Avatar SDK v1.12.0

    Crash only occurs after pressing a button on touch controller.

    ========== OUTPUTING STACK TRACE ==================

    0x00007FFB940CEDD2 (libovravatar) ovrAvatarSkinnedMeshRender_GetJointTransform
    0x000000002768E7A7 (Mono JIT Code) (wrapper managed-to-native) Oculus.Avatar.CAPI:ovrAvatarSkinnedMeshRender_GetJointTransform (intptr,uint)
    0x000000002768E16D (Mono JIT Code) [G:\Unity\Mini\Mini_OculusPackages_112__Avatar544f1\Assets\OvrAvatar\Scripts\OvrAvatarRenderComponent.cs:74] OvrAvatarRenderComponent:UpdateSkinnedMesh (OvrAvatar,UnityEngine.SkinnedMeshRenderer,UnityEngine.Transform[],ovrAvatarTransform,ovrAvatarVisibilityFlags,intptr)
    0x0000000027698A94 (Mono JIT Code) [G:\Unity\Mini\Mini_OculusPackages_112__Avatar544f1\Assets\OvrAvatar\Scripts\OvrAvatarSkinnedMeshRenderPBSComponent.cs:25] OvrAvatarSkinnedMeshRenderPBSComponent:UpdateSkinnedMeshRenderPBS (OvrAvatar,intptr)
    0x000000002768BABF (Mono JIT Code) [G:\Unity\Mini\Mini_OculusPackages_112__Avatar544f1\Assets\OvrAvatar\Scripts\OvrAvatar.cs:191] OvrAvatar:UpdateAvatarComponent (ovrAvatarComponent)
    0x0000000027680D3E (Mono JIT Code) [G:\Unity\Mini\Mini_OculusPackages_112__Avatar544f1\Assets\OvrAvatar\Scripts\OvrAvatar.cs:319] OvrAvatar:UpdateSDKAvatarUnityState ()
    0x00000000272C0312 (Mono JIT Code) [G:\Unity\Mini\Mini_OculusPackages_112__Avatar544f1\Assets\OvrAvatar\Scripts\OvrAvatar.cs:498] OvrAvatar:Update ()
    0x00000000241468E2 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
    0x00007FFB46A4539F (mono) mono_set_defaults
    0x00007FFB46998385 (mono) mono_runtime_invoke
    0x00000001404CD59B (Unity) Renderer::Transfer<JSONWrite>
    0x00000001404CD527 (Unity) Renderer::Transfer<JSONWrite>
    0x0000000140344461 (Unity) Renderer::Transfer<JSONWrite>
    0x00000001403480E2 (Unity) Renderer::Transfer<JSONWrite>
    0x000000014013065A (Unity) Behaviour::Transfer<JSONRead>
    0x00000001401309D9 (Unity) Behaviour::Transfer<JSONWrite>
    0x000000014046AF17 (Unity) Renderer::Transfer<JSONWrite>
    0x0000000140BE0A95 (Unity) Renderer::Transfer<JSONWrite>
    0x0000000140BE2019 (Unity) Renderer::Transfer<JSONWrite>
    0x0000000140BE9EB4 (Unity) Renderer::Transfer<JSONWrite>
    0x0000000140E4CC6E (Unity) AnimationEvent::Transfer<JSONRead>
    0x0000000140E4E2A1 (Unity) AnimationEvent::Transfer<JSONRead>
    0x00000001415B2F10 (Unity) GlobalGameManager::Transfer<StreamedBinaryWrite<1> >
    0x00007FFB9A942774 (KERNEL32) BaseThreadInitThunk

    ========== END OF STACKTRACE ===========
  • MikeFMikeF Posts: 571
    Neo
    edited March 2017
    I'm getting the same crash under v1.13 runtime
    Unity 5.5.2p3
    latest utilities, platform and avatar SDK

    Stacktrace is identical to what BlastoIO has posted above
  • Ross_BeefRoss_Beef Posts: 170 Oculus Staff
    Thanks both - passing it to the team to investigate now. 
  • Ross_BeefRoss_Beef Posts: 170 Oculus Staff
    See https://forums.oculus.com/developer/discussion/comment/507743#Comment_507743 for the solution to the crash, which will also be rolled out shortly in the 1.13 Unity package
Sign In or Register to comment.