cancel
Showing results for 
Search instead for 
Did you mean: 

[Solved] UNITY immediately crashing on play with oculus avatar prefab as of today. HELP!!!!!!!!

ICED01
Protege
Something just changed This was working fine until today in unity on a game we have had in development for months.  as soon as you press play in unity you see your avatar hands for a few second then unity does a hard crash. disabling the local avatar object makes unity stable. This only started today. Did oculus just role out an update? Running 5.5.2p4 with 1.12 of all oculus sdk's. Re importing assets and reverting to a known good backup of the project changed nothing. HELP!!!!!!
20 REPLIES 20

haskins
Protege
Same issue here. CRASH!  😐

Unity 5.5.1f1
Oculus Utilites 1.12.0
Oculus Platform 1.12.1
Oculus Avatar 1.12.0

Fresh project.. crashes as soon as the hands are involved in the localAvatar sample scene. Also crashes my other projects that worked before. Also same results in unity 5.6.0b6

There's also the lovely shader bug in 5.6:
https://forums.oculus.com/developer/discussion/45203/weird-flickering-with-avatars-sdk-mesh

I've attached the error.log file, maybe that will help.



Wilzonz
Explorer
Hey folks,

If you are seeing this crash in the 1.12 release, you should be able to mitigate it with the following:

In OvrAvatarRenderComponent.cs -->  UpdateSkinnedMesh()  after this line:

        bool forceUpdate = (firstSkinnedUpdate && 
            type == ovrAvatarRenderPartType.SkinnedMeshRender);

Add this ->>>>
        if (type != ovrAvatarRenderPartType.SkinnedMeshRender)
            return;


Ross_Beef
Heroic Explorer
Per the above from @Wilzonz , this fix has been included in the 1.13 SDK package, which we're expecting to go out later this week.

Thanks all for reporting the issue - let me know if this doesn't solve the crash you're seeing.

ICED01
Protege
Ill check it as soon as I make it home tonight.

haskins
Protege
@Wilzonz  - aw ya! Seems to be working, just tested in 5.5

THANK YOU!!

ICED01
Protege
Awesome. ill test when i get home but sounds like ill be back in buisness

MikeF
Trustee
confirmed here, seems to do the trick
Thanks guys

ICED01
Protege
That did it. 

tappticpolska
Honored Guest
also worked for me, thank you!

AprilFlow
Honored Guest
Worked here too