Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

UnityWebPlayer started crashing for no apparent reason

Discussion in 'Editor & General Support' started by HSz, Nov 21, 2013.

  1. HSz

    HSz

    Joined:
    Nov 5, 2013
    Posts:
    9
    Hi,
    We have developped a set of games using Unity3d for the UnityWebPlayer.
    We haven't updated the games in a few weeks.
    However, since today, the WebPlayer started to crash in several PCs (different countries).

    we are looking at this from 2 different perspectives:
    1. what is making it crash?
    2. why it started to crash without us having changed anything?

    as to #1, it seems that the problem lies in the animation part.
    (webplayer_win): AnimationEvent::Transfer<SafeBinaryRead>
    (webplayer_win): UnityWinWebStartData
    (Mono JIT code): UnityEngine.Animator:SetLookAtWeight (single,single,single,single,single)
    (Mono JIT code): UnityEngine.Animator:SetLookAtWeight (single)
    (Mono JIT code): Avatar:FixedUpdate ()

    Now, the big question for us is #2.
    It seems that this is related to WebPlayer being automagically updated to 4.3.
    Can anyone help us understand if this is possible?

    Thanks
     

    Attached Files:

    Last edited: Nov 21, 2013
  2. Cosmik

    Cosmik

    Joined:
    Nov 18, 2012
    Posts:
    6
    Thanks god I am not alone!

    We have the same thing happening!!
    We have over 60 000 daily players and over 20% of them have their client crashing for the last 24h.
    Like you, no update of the binary, but it looks like there was a force update of the WebPlayer that causing the crash.

    We have no way to fix it, and have lost a large amount of money because a lot of our high spender can't access the game.
    I am outrage.

    Unity WebPlayer team, you owe us an answer!
     
  3. HSz

    HSz

    Joined:
    Nov 5, 2013
    Posts:
    9
    Hi,
    Not sure if it helps you, but we just located the cause of the crash.
    It's a call to UnityEngine.Animator.SetLookAtWeight that crashes.
    We are looking for a way around it.

    But, like you, we just had the crash appear a 2 critical demos :(

    Very unhappy with it.
    J
     
  4. HSz

    HSz

    Joined:
    Nov 5, 2013
    Posts:
    9
    Jus tested and, under WebPlayer 4.2.2f1 everything is fine.
    Under 4.3.0f3 it crashes.
     
  5. xxShark

    xxShark

    Joined:
    Sep 28, 2012
    Posts:
    29
    This happened to me on a windows stand alone build as well. 4.2.2 worked fine, but the latest build of my game in 4.3.1f1 broke the game. I'm going to try and rebuild it on 4.3.0f4 and see if I gt the same results. Will post update once I figure out if it works or not.

    This was the footer in my crash log

    (filename not available): AnimationEvent::Transfer<SafeBinaryRead> + 0x11c58e
    (filename not available): AnimationEvent::Transfer<SafeBinaryRead> + 0x18f2f4
    (filename not available): AnimationEvent::Transfer<SafeBinaryRead> + 0x188cd0
    (filename not available): Behaviour::Transfer<StreamedBinaryWrite<0> > + 0x128f9
    (filename not available): Behaviour::Transfer<StreamedBinaryWrite<0> > + 0xacfa0
    (filename not available): Behaviour::Transfer<StreamedBinaryWrite<0> > + 0xf53f4
    (filename not available): AnimationEvent::Transfer<SafeBinaryRead> + 0x1b6748
    (filename not available): AnimationEvent::Transfer<SafeBinaryRead> + 0x1e80b0
     
    Last edited: Dec 12, 2013
  6. valyard

    valyard

    Unity Technologies

    Joined:
    Jun 4, 2010
    Posts:
    291
    Hm, same thing started happening to me too. I blame an fbx file with animation.
     
  7. Dantus

    Dantus

    Joined:
    Oct 21, 2009
    Posts:
    5,667
    Has anyone reported this bug?
     
  8. valyard

    valyard

    Unity Technologies

    Joined:
    Jun 4, 2010
    Posts:
    291
    I just did.
     
  9. LiteralZero

    LiteralZero

    Joined:
    Feb 10, 2014
    Posts:
    13
    Hey, Could you post the bug report number in this thread for me too?

    Thanks

    -Mark
     
  10. Graham-Dunnett

    Graham-Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    590921

    I've added a link back to this forum post since the bug report doesn't even mention the web player. Just FYI "Crashes all the time" isn't actually a good title for a bug report. ;-) Also, the editor logs that are included don't show any crashes, so usually the QA team would just close the report and move onto something they could tackle.
     
  11. HSz

    HSz

    Joined:
    Nov 5, 2013
    Posts:
    9
    Dear Graham,
    We found a workaround based on the computers where it did and did not happen.

    Basically, the crashes happened for a single game (of 4 we used) and whenever the plugin version was 4.0.1f2.
    For completeness, the webplayer version was 4.3.1f1, webdata version was 4.2.0f4 and engineversion was 4.3.1f1.

    Other versions of the plugin (4.3.1f1, 4.3.4f1,4.1.2f1) never caused a crash with any of the weblayer versions (4.3.4f1,4.2.1f4).

    So, we simply detect whenever the plugin is v4.0.1f2 and ask the user to update the webplayer.

    If you want to, we can send a set of logfiles captured in different computers. Just let me know where to send them to.

    Thanks
     
  12. valyard

    valyard

    Unity Technologies

    Joined:
    Jun 4, 2010
    Posts:
    291
    Err.. how do the logs not contain the crash report? It should have attached the crash log folder.
    And I didn't know how to call the bug. It does crash constantly and I really don't know why. Except that the log states something about loading an AnimationEvent.

     
  13. valyard

    valyard

    Unity Technologies

    Joined:
    Jun 4, 2010
    Posts:
    291
    Also in my case it's not web player.
     
  14. stevesan

    stevesan

    Joined:
    Aug 14, 2011
    Posts:
    65
    I'm getting a similar stack trace as well every time I exit my game (Win32 standalone):

    Code (csharp):
    1. (0x015D9EB2) (Subnautica): (filename not available): AnimationEvent::Transfer<SafeBinaryRead> + 0x191722
    2. (0x011D42A8) (Subnautica): (filename not available): (function-name not available) + 0x0
    3. (0x011D50F6) (Subnautica): (filename not available): (function-name not available) + 0x0
    4. (0x011D1CEE) (Subnautica): (filename not available): (function-name not available) + 0x0
    5. (0x011D1D60) (Subnautica): (filename not available): (function-name not available) + 0x0
    6. (0x01327A31) (Subnautica): (filename not available): Behaviour::Transfer<StreamedBinaryWrite<0> > + 0x6c261
    7. (0x013250F9) (Subnautica): (filename not available): Behaviour::Transfer<StreamedBinaryWrite<0> > + 0x69929
    8. (0x013B0045) (Subnautica): (filename not available): Behaviour::Transfer<StreamedBinaryWrite<0> > + 0xf4875
    9. (0x013B0339) (Subnautica): (filename not available): Behaviour::Transfer<StreamedBinaryWrite<0> > + 0xf4b69
    10. (0x767E62FA) (USER32): (filename not available): gapfnScSendMessage + 0x332
    11. (0x767E6D3A) (USER32): (filename not available): GetThreadDesktop + 0xd7
    12. (0x767E6DE8) (USER32): (filename not available): GetThreadDesktop + 0x185
    13. (0x767E6E44) (USER32): (filename not available): GetThreadDesktop + 0x1e1
    14. (0x76F9010A) (ntdll): (filename not available): KiUserCallbackDispatcher + 0x2e
    15. (0x767E6A8C) (USER32): (filename not available): gapfnScSendMessage + 0xac4
    16. (0x72E47744) (uxtheme): (filename not available): GetThemeBool + 0x10f3
    17. (0x72E4A092) (uxtheme): (filename not available): SetWindowThemeAttribute + 0x259
    18. (0x72E40B0D) (uxtheme): (filename not available): (function-name not available) + 0x0
    19. (0x72E40B96) (uxtheme): (filename not available): (function-name not available) + 0x0
    20. (0x767E729A) (USER32): (filename not available): GetPropW + 0x73
    21. (0x013B051B) (Subnautica): (filename not available): Behaviour::Transfer<StreamedBinaryWrite<0> > + 0xf4d4b
    22. (0x767E62FA) (USER32): (filename not available): gapfnScSendMessage + 0x332
    23. (0x767E7316) (USER32): (filename not available): GetDC + 0x52
    24. (0x767E77C4) (USER32): (filename not available): CharPrevW + 0x138
    25. (0x767E7BCA) (USER32): (filename not available): DispatchMessageA + 0xf
    26. (0x013B0600) (Subnautica): (filename not available): Behaviour::Transfer<StreamedBinaryWrite<0> > + 0xf4e30
    27. (0x013B1EFB) (Subnautica): (filename not available): Behaviour::Transfer<StreamedBinaryWrite<0> > + 0xf672b
    28. (0x015FEB28) (Subnautica): (filename not available): AnimationEvent::Transfer<SafeBinaryRead> + 0x1b6398
    29. (0x01630490) (Subnautica): (filename not available): AnimationEvent::Transfer<SafeBinaryRead> + 0x1e7d00
    30. (0x76A8336A) (kernel32): (filename not available): BaseThreadInitThunk + 0x12
    31. (0x76FB9F72) (ntdll): (filename not available): RtlInitializeExceptionChain + 0x63
    32. (0x76FB9F45) (ntdll): (filename not available): RtlInitializeExceptionChain + 0x36
     
  15. HSz

    HSz

    Joined:
    Nov 5, 2013
    Posts:
    9
    Crash!!!
    SymInit: Symbol-SearchPath: '.;C:\Program Files (x86)\Google\Chrome\Application\32.0.1700.102;C:\Program Files (x86)\Google\Chrome\Application;C:\WINDOWS;C:\WINDOWS\system32;SRV*C:\websymbols*http://msdl.microsoft.com/download/symbols;', symOptions: 530, UserName: 'jc'
    OS-Version: 6.3.9600 () 0x100-0x1
    ...
    (0x05379FAF) (webplayer_win): (filename not available): AnimationEvent::Transfer<SafeBinaryRead> + 0xffda
    (0x052DE510) (webplayer_win): (filename not available): UnityWinWebStartData + 0x4da4e
    (0x0E176A95) (Mono JIT code): (filename not available): (wrapper managed-to-native) UnityEngine.Animator:SetLookAtWeight (single,single,single,single,single) + 0x5d (0E176A38 0E176ACC) [06BC4D20 - Unity Child Domain] + 0x0
    (0x0E176A22) (Mono JIT code): (filename not available): UnityEngine.Animator:SetLookAtWeight (single) + 0x6a (0E1769B8 0E176A27) [06BC4D20 - Unity Child Domain] + 0x0
    (0x0E17683E) (Mono JIT code): (filename not available): Avatar:FixedUpdate () + 0x3e (0E176800 0E176924) [06BC4D20 - Unity Child Domain] + 0x0
    (0x0E11E219) (Mono JIT code): (filename not available): (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr) + 0x41 (0E11E1D8 0E11E26D) [06BC4D20 - Unity Child Domain] + 0x0
    (0x069DFEDE) (mono-1-vc): (filename not available): mono_set_defaults + 0x22bf
    (0x0694D680) (mono-1-vc): (filename not available): mono_runtime_invoke + 0x51
    (0x05213C2C) (webplayer_win): (filename not available): Behaviour::Transfer<SafeBinaryRead> + 0x278fb
    (0x05265979) (webplayer_win): (filename not available): Behaviour::Transfer<SafeBinaryRead> + 0x79648
    (0x0526580A) (webplayer_win): (filename not available): Behaviour::Transfer<SafeBinaryRead> + 0x794d9
    (0x0520A945) (webplayer_win): (filename not available): Behaviour::Transfer<SafeBinaryRead> + 0x1e614
    (0x0520A973) (webplayer_win): (filename not available): Behaviour::Transfer<SafeBinaryRead> + 0x1e642
    (0x0520A990) (webplayer_win): (filename not available): Behaviour::Transfer<SafeBinaryRead> + 0x1e65f
    (0x05259AC4) (webplayer_win): (filename not available): Behaviour::Transfer<SafeBinaryRead> + 0x6d793
    (0x05290953) (webplayer_win): (filename not available): UnityGetError + 0x8dd
    (0x05290AA2) (webplayer_win): (filename not available): UnityWinWebLoop + 0x149
    (0x03ECC786) (npUnity3D32): (filename not available): NP_GetEntryPoints + 0x7e9e
    (0x03EC3349) (npUnity3D32): (filename not available): UT_Uninstall + 0x100c
    (0x03EC321E) (npUnity3D32): (filename not available): UT_Uninstall + 0xee1
    (0x03EC72D8) (npUnity3D32): (filename not available): NP_GetEntryPoints + 0x29f0
    (0x76857694) (USER32): (filename not available): CallNextHookEx + 0x97
    (0x76858BAA) (USER32): (filename not available): FindWindowA + 0x214
    (0x76858468) (USER32): (filename not available): CallNextHookEx + 0xe6b
    (0x76859C40) (USER32): (filename not available): DispatchMessageW + 0x10
    (0x65EC78DD) (chrome_child): (filename not available): ovly_debug_event + 0x487599
    (0x65EC759E) (chrome_child): (filename not available): ovly_debug_event + 0x48725a
    (0x65A47A33) (chrome_child): (filename not available): ovly_debug_event + 0x76ef
    (0x65A45957) (chrome_child): (filename not available): ovly_debug_event + 0x5613
    (0x65EAC388) (chrome_child): (filename not available): ovly_debug_event + 0x46c044
    (0x65A458A7) (chrome_child): (filename not available): ovly_debug_event + 0x5563
    (0x65A45845) (chrome_child): (filename not available): ovly_debug_event + 0x5501
    (0x669902E9) (chrome_child): (filename not available): ovly_debug_event + 0xf4ffa5
    (0x65A3D694) (chrome_child): (filename not available): ChromeMain + 0x12ece
    (0x65A3D5F8) (chrome_child): (filename not available): ChromeMain + 0x12e32
    (0x65A2ADAC) (chrome_child): (filename not available): ChromeMain + 0x5e6
    (0x65A2A7F1) (chrome_child): (filename not available): ChromeMain + 0x2b
    (0x00888787) (chrome): (filename not available): (function-name not available) + 0x0
    (0x00888965) (chrome): (filename not available): (function-name not available) + 0x0
    (0x008889E2) (chrome): (filename not available): (function-name not available) + 0x0
    (0x008A8C4B) (chrome): (filename not available): SetCrashKeyValueImpl + 0x1856d
    (0x76C4495D) (KERNEL32): (filename not available): BaseThreadInitThunk + 0xe
    (0x77C898EE) (ntdll): (filename not available): RtlInitializeExceptionChain + 0x84
    (0x77C898C4) (ntdll): (filename not available): RtlInitializeExceptionChain + 0x5a

    ========== END OF STACKTRACE ===========

    140131 19:33:41 Setting error display: 'The content was stopped because a fatal
    content error has been detected.', details: '', link: 0
    web: shutdown player
    web: shutdown finished
    140131 19:33:41 loader: final cleanup
    140131 19:33:41 loader: unload unity dll
     
  16. HSz

    HSz

    Joined:
    Nov 5, 2013
    Posts:
    9
    140204 14:49:37 ------------------------------------------------------------
    140204 14:49:37 Instance starting, version 4.0.1f2_9bb580cddf70, UNITY_WEB_ENABLE_AUTODOWNLOAD: 1, GetDisableAutoUpdates(): 0
    140204 14:49:38 Datafile https://hsz0dev5blob.blob.core.wind.../HSz-TriageMTS-v1.0/_en/bin/WebPlayer.unity3d
    web: player version 4.3.1f1
    ....
    ========== OUTPUTING STACK TRACE ==================

    (0x04D59FAF) (webplayer_win): (filename not available): AnimationEvent::Transfer<SafeBinaryRead> + 0xffda
    (0x04CBE510) (webplayer_win): (filename not available): UnityWinWebStartData + 0x4da4e
    (0x0E696AB5) (Mono JIT code): (filename not available): (wrapper managed-to-native) UnityEngine.Animator:SetLookAtWeight (single,single,single,single,single) + 0x5d (0E696A58 0E696AEC) [065C4D20 - Unity Child Domain] + 0x0
    (0x0E696A42) (Mono JIT code): (filename not available): UnityEngine.Animator:SetLookAtWeight (single) + 0x6a (0E6969D8 0E696A47) [065C4D20 - Unity Child Domain] + 0x0
    (0x0E69685E) (Mono JIT code): (filename not available): Avatar:FixedUpdate () + 0x3e (0E696820 0E696944) [065C4D20 - Unity Child Domain] + 0x0
    (0x0E63E219) (Mono JIT code): (filename not available): (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr) + 0x41 (0E63E1D8 0E63E26D) [065C4D20 - Unity Child Domain] + 0x0
    (0x0638FEDE) (mono-1-vc): (filename not available): mono_set_defaults + 0x22bf
    (0x062FD680) (mono-1-vc): (filename not available): mono_runtime_invoke + 0x51
    (0x04BF3C2C) (webplayer_win): (filename not available): Behaviour::Transfer<SafeBinaryRead> + 0x278fb
    (0x04C45979) (webplayer_win): (filename not available): Behaviour::Transfer<SafeBinaryRead> + 0x79648
    (0x04C4580A) (webplayer_win): (filename not available): Behaviour::Transfer<SafeBinaryRead> + 0x794d9
    (0x04BEA945) (webplayer_win): (filename not available): Behaviour::Transfer<SafeBinaryRead> + 0x1e614
    (0x04BEA973) (webplayer_win): (filename not available): Behaviour::Transfer<SafeBinaryRead> + 0x1e642
    (0x04BEA990) (webplayer_win): (filename not available): Behaviour::Transfer<SafeBinaryRead> + 0x1e65f
    (0x04C39AC4) (webplayer_win): (filename not available): Behaviour::Transfer<SafeBinaryRead> + 0x6d793
    (0x04C70953) (webplayer_win): (filename not available): UnityGetError + 0x8dd
    (0x04C70AA2) (webplayer_win): (filename not available): UnityWinWebLoop + 0x149
    (0x03AFC786) (npUnity3D32): (filename not available): NP_GetEntryPoints + 0x7e9e
    (0x03AF3349) (npUnity3D32): (filename not available): UT_Uninstall + 0x100c
    (0x03AF321E) (npUnity3D32): (filename not available): UT_Uninstall + 0xee1
    (0x03AF72D8) (npUnity3D32): (filename not available): NP_GetEntryPoints + 0x29f0
    (0x75387694) (USER32): (filename not available): CallNextHookEx + 0x97
    (0x75388BAA) (USER32): (filename not available): FindWindowA + 0x214
    (0x75388468) (USER32): (filename not available): CallNextHookEx + 0xe6b
    (0x75389C40) (USER32): (filename not available): DispatchMessageW + 0x10
    (0x6AB878DD) (chrome_child): (filename not available): ovly_debug_event + 0x487599
    (0x6AB8759E) (chrome_child): (filename not available): ovly_debug_event + 0x48725a
    (0x6A707A33) (chrome_child): (filename not available): ovly_debug_event + 0x76ef
    (0x6A705957) (chrome_child): (filename not available): ovly_debug_event + 0x5613
    (0x6AB6C388) (chrome_child): (filename not available): ovly_debug_event + 0x46c044
    (0x6A7058A7) (chrome_child): (filename not available): ovly_debug_event + 0x5563
    (0x6A705845) (chrome_child): (filename not available): ovly_debug_event + 0x5501
    (0x6B6502E9) (chrome_child): (filename not available): ovly_debug_event + 0xf4ffa5
    (0x6A6FD694) (chrome_child): (filename not available): ChromeMain + 0x12ece
    (0x6A6FD5F8) (chrome_child): (filename not available): ChromeMain + 0x12e32
    (0x6A6EADAC) (chrome_child): (filename not available): ChromeMain + 0x5e6
    (0x6A6EA7F1) (chrome_child): (filename not available): ChromeMain + 0x2b
    (0x008C8787) (chrome): (filename not available): (function-name not available) + 0x0
    (0x008C8965) (chrome): (filename not available): (function-name not available) + 0x0
    (0x008C89E2) (chrome): (filename not available): (function-name not available) + 0x0
    (0x008E8C4B) (chrome): (filename not available): SetCrashKeyValueImpl + 0x1856d
    (0x76FE495D) (KERNEL32): (filename not available): BaseThreadInitThunk + 0xe
    (0x772398EE) (ntdll): (filename not available): RtlInitializeExceptionChain + 0x84
    (0x772398C4) (ntdll): (filename not available): RtlInitializeExceptionChain + 0x5a
     
  17. Waz

    Waz

    Joined:
    May 1, 2010
    Posts:
    286
    I'm occasionally also getting reports of this from customers. Windows and Mac.

    Bugs bugs bugs.

    Unity 5 will be even worse as they cram even more features in, some of which obsolete old functionality that will then never be fixed. Note that this bug seems to first appear in the version of Unity where AnimationEvent support was added to Mechanim. I'm not even using Mechanim, but instead the "legacy" animation system, so I worry this will never be fixed.
     
  18. valyard

    valyard

    Unity Technologies

    Joined:
    Jun 4, 2010
    Posts:
    291
    I got an email that they fixed this bug in an upcoming release.
     
  19. Tethys

    Tethys

    Joined:
    Jul 2, 2012
    Posts:
    672
    Like some others, I have the animation event error as well - this one here seems to be consistent as I noticed another dev is having the same exact error as well.

    (AstralTerra) : (filename not available): AnimationEvent::Transfer<SafeBinaryRead> + 0x25385a

    Does anyone know if maybe it was fixed in 4.5? Been dreading downloading and upgrading as Unity has a history of adding new bugs everytime they push out an update (which I suppose might be standard but is dangerous for the team that has a game on the market that is also in dev still). :p
     
    Last edited: Jun 9, 2014
  20. Graham-Dunnett

    Graham-Dunnett

    Unity Technologies

    Joined:
    Jun 2, 2009
    Posts:
    4,287
    It's currently in 5.0 alpha. Not sure yet if it will be a candidate for a 4.5 patch.
     
  21. drewradley

    drewradley

    Joined:
    Sep 22, 2010
    Posts:
    3,063
    What is the status of this issue? Has it been fixed in a recent patch/update? I'm still on 4.3.4f1 and this issue stops my development dead in it's tracks. If it's been fixed, I guess I need to update.
     
    Last edited: Jul 2, 2014
  22. Dantus

    Dantus

    Joined:
    Oct 21, 2009
    Posts:
    5,667
  23. drewradley

    drewradley

    Joined:
    Sep 22, 2010
    Posts:
    3,063
    Last edited: Jul 2, 2014
  24. chechoggomez

    chechoggomez

    Unity Technologies

    Joined:
    Feb 25, 2013
    Posts:
    91
    The crash happens when you use animationClip.AddEvent(animationEvent); in Runtime, you can avoid this crash by adding your events in Editor. Adding animation events in runtime it's not supported.