Search Issue Tracker

Duplicate

Votes

12

Found in

2017.3.0b7

Issue ID

962788

Regression

Yes

Crash when entering playmode

Mono

-

This bug looks like it might be a tricky one to repro. Working on uploading a project to repro in properly.

It seems to happen only when using .NET 4.6

Regression introduced on 2017.3.0b7. Not sure on 'true' impact on users (not repro'ed by anyone else I know), but could be because of specific features I am using that they are not (e.g. TextMesh Pro Input Field's). If this is an issue with TMPro, please accept my apologies and reassign away!

Having a peek at the log seems like a missing function or something?

There is a separate parsing error in the crash analyser, preventing the crash dump to show up there. Pasting from Editor.log:

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

0x00007FFB77C0C676 (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\metadata\class.c:4877] mono_class_init
0x00007FFB77C05BC2 (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\metadata\class.c:2945] collect_implemented_interfaces_aux
0x00007FFB77C1158F (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\metadata\class.c:4095] mono_class_setup_vtable_general
0x00007FFB77C114AE (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\metadata\class.c:3630] mono_class_setup_vtable_full
0x00007FFB77C0B7BB (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\metadata\class.c:2540] mono_class_get_vtable_entry
0x00007FFB77AB2779 (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\mini\mini-trampolines.c:903] mono_vcall_trampoline
ERROR: SymGetSymFromAddr64, GetLastError: 'The specified module could not be found.' (Address: 0000000010D41838)
ERROR: SymGetModuleInfo64, GetLastError: 'A dynamic link library (DLL) initialization routine failed.' (Address: 0000000010D41838)
0x0000000010D41838 ((<unknown>)) (function-name not available)
0x0000000057A047EC (Mono JIT Code) System.Collections.Generic.Stack`1<T_REF>:Push (T_REF)
0x0000000057A04460 (Mono JIT Code) [C:\buildslave\unity\build\Extensions\guisystem\UnityEngine.UI\UI\Core\Utility\ObjectPool.cs:46] UnityEngine.UI.ObjectPool`1<T_REF>:Release (T_REF)
0x00000000560B5C42 (Mono JIT Code) [C:\buildslave\unity\build\Extensions\guisystem\UnityEngine.UI\UI\Core\Utility\ListPool.cs:20] UnityEngine.UI.ListPool`1<UnityEngine.Vector3>:Release (System.Collections.Generic.List`1<UnityEngine.Vector3>)
0x00000000560B5805 (Mono JIT Code) [C:\buildslave\unity\build\Extensions\guisystem\UnityEngine.UI\UI\Core\Utility\VertexHelper.cs:105] UnityEngine.UI.VertexHelper:Dispose ()
0x00000000560B5541 (Mono JIT Code) TMPro.TMP_InputField:OnFillVBO (UnityEngine.Mesh)
0x00000000560B47AD (Mono JIT Code) TMPro.TMP_InputField:UpdateGeometry ()
0x00000000560A3A71 (Mono JIT Code) TMPro.TMP_InputField:Rebuild (UnityEngine.UI.CanvasUpdate)
0x0000000055F5CDD9 (Mono JIT Code) [C:\buildslave\unity\build\Extensions\guisystem\UnityEngine.UI\UI\Core\CanvasUpdateRegistry.cs:151] UnityEngine.UI.CanvasUpdateRegistry:PerformUpdate ()
0x0000000055F5C1ED (Mono JIT Code) [C:\buildslave\unity\build\artifacts\generated\common\modules\UI\UICanvasBindings.gen.cs:240] UnityEngine.Canvas:SendWillRenderCanvases ()
0x0000000055F5C0E9 (Mono JIT Code) [C:\buildslave\unity\build\artifacts\generated\common\modules\UI\UICanvasBindings.gen.cs:241] UnityEngine.Canvas:ForceUpdateCanvases ()
0x0000000055F5C016 (Mono JIT Code) [C:\buildslave\unity\build\Extensions\guisystem\UnityEngine.UI\UI\Core\ScrollRect.cs:259] UnityEngine.UI.ScrollRect:EnsureLayoutHasRebuilt ()
0x0000000055F5A218 (Mono JIT Code) [C:\buildslave\unity\build\Extensions\guisystem\UnityEngine.UI\UI\Core\ScrollRect.cs:382] UnityEngine.UI.ScrollRect:LateUpdate ()
0x00000000591504B4 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr)
0x00007FFB77A1437A (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\mini\mini-runtime.c:2620] mono_jit_runtime_invoke
0x00007FFB77C18E87 (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\metadata\object.c:2853] do_runtime_invoke
0x00007FFB77C2188F (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\metadata\object.c:2905] mono_runtime_invoke
0x0000000140A2C47C (Unity) scripting_method_invoke
0x0000000140A1FE6A (Unity) ScriptingInvocation::Invoke
0x00000001409E2581 (Unity) MonoBehaviour::CallMethodIfAvailable
0x00000001409EC56F (Unity) MonoBehaviour::CallUpdateMethod
0x0000000140504B66 (Unity) BaseBehaviourManager::CommonUpdate<LateBehaviourManager>
0x0000000140504C38 (Unity) LateBehaviourManager::Update
0x000000014071EF53 (Unity) `InitPlayerLoopCallbacks'::`41'::PreLateUpdateScriptRunBehaviourLateUpdateRegistrator::Forward
0x000000014071C05E (Unity) PlayerLoop
0x00000001411DD625 (Unity) PlayerLoopController::UpdateScene
0x00000001411E7A0A (Unity) PlayerLoopController::EnterPlayMode
0x00000001411E8286 (Unity) PlayerLoopController::SetIsPlaying
0x00000001411E90D6 (Unity) Application::TickTimer
0x000000014140D79F (Unity) MainMessageLoop
0x000000014140F045 (Unity) WinMain
0x0000000141E5AAB8 (Unity) __tmainCRTStartup
0x00007FFBBBA62774 (KERNEL32) BaseThreadInitThunk
0x00007FFBBDE70D51 (ntdll) RtlUserThreadStart

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

Comments (12)

  1. 65201e2f5e417a4ed7079242878b828c?d=mm

    bloggertech41

    Sep 13, 2019 12:20

    Thanks for sharing apk files .I found a lot of interesting information here. A really good post, very thankful and hopeful that you will write many more posts like this one.Great websites!
    https://shareits.xyz/

  2. Ecb66cb1dd27ed860701d356258ac413?d=mm

    jayarambro4

    Sep 12, 2019 10:56

    Excellent Blog! I would like to thank for the efforts you have made in writing this post. I am hoping the same best work from you in the future as well.
    I wanted to thank you for this websites! Thanks for sharing.
    https://apkfasak.com/
    https://apkfasak.com/blackmart-apk/
    https://apkfasak.com/thoptv-apk/

  3. Ecb66cb1dd27ed860701d356258ac413?d=mm

    jayarambro4

    Sep 12, 2019 10:55

    Excellent Blog! I would like to thank for the efforts you have made in writing this post. I am hoping the same best work from you in the future as well.
    I wanted to thank you for this websites! Thanks for sharing. Great websites!
    https://pubg-apk.com/

  4. Dffb2485ebafd574b8e415c46f066888?d=mm

    miyabhai7864444

    Aug 31, 2019 17:54

    so much for this. I was into this issue and tired to tinker around to check if its possible but couldnt get it done. Now that i have https://kodi.software/ seen the way you https://kodi.software/ did it, thanks guys
    with
    regards

  5. Dffb2485ebafd574b8e415c46f066888?d=mm

    miyabhai7864444

    Aug 31, 2019 17:54

    Thank you so much for this. I was into this issue and tired to tinker around to check if its possible but couldnt get it done. Now that i have https://plex.software seen the way you did it, thanks guys
    with
    regards

  6. 2ff424e22bf62ca0d3aad02b8c70e549?d=mm

    kicoder

    Jan 11, 2018 09:49

    Have the same issue random crash .NET 4.6 in Unity 2017.3.0f3 (64-bit)

  7. 44e8d240f469c610ccb32b978a670199?d=mm

    Daniel-Liu

    Dec 22, 2017 11:27

    me too
    version:2017.2.0f3

  8. B22815f1cb1958c5605ec96833bc2d10?d=mm

    BBB_brunoma

    Dec 04, 2017 14:06

    I have this issue as well in Unity 2017.1.2p1 using .Net 4.6
    It happens entering or exiting play mode:

    0x000007FED0203F18 (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\utils\mono-error.c:182] mono_error_get_message
    0x000007FED024D7B3 (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\metadata\class.c:4397] mono_class_setup_vtable_general
    0x000007FED024D66E (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\metadata\class.c:3932] mono_class_setup_vtable_full
    0x000007FED0247E6D (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\metadata\class.c:2498] mono_class_get_vtable_entry
    0x000007FED019BA60 (mono-2.0-bdwgc) [c:\buildslave\mono\build\mono\mini\mini-trampolines.c:903] mono_vcall_trampoline
    ERROR: SymGetSymFromAddr64, GetLastError: 'The specified module could not be found.' (Address: 0000000003841738)
    ERROR: SymGetModuleInfo64, GetLastError: 'A dynamic link library (DLL) initialization routine failed.' (Address: 0000000003841738)
    0x0000000003841738 ((<unknown>))
    0x000000000D0C0200 (Mono JIT Code) System.Collections.Generic.Stack`1<T_REF>:Push (T_REF)
    0x000000000D71D474 (Mono JIT Code) System.Collections.Generic.SortedSet`1<System.Collections.Generic.KeyValuePair`2<int, VBand.TrackConfig>>:InOrderTreeWalk (System.Collections.Generic.TreeWalkPredicate`1<System.Collections.Generic.KeyValuePair`2<int, VBand.TrackConfig>>,bool)
    0x000000000D71D208 (Mono JIT Code) System.Collections.Generic.SortedSet`1<System.Collections.Generic.KeyValuePair`2<int, VBand.TrackConfig>>:InOrderTreeWalk (System.Collections.Generic.TreeWalkPredicate`1<System.Collections.Generic.KeyValuePair`2<int, VBand.TrackConfig>>)
    0x000000000D71D024 (Mono JIT Code) System.Collections.Generic.SortedDictionary`2/KeyCollection<int, VBand.TrackConfig>:CopyTo (int[],int)
    0x0000000031337079 (Mono JIT Code) [/Users/builduser/buildslave/mono/build/mcs/class/referencesource/mscorlib/system/collections/generic/list.cs:89] System.Collections.Generic.List`1<int>:.ctor (System.Collections.Generic.IEnumerable`1<int>)

    from this:

    var list = new List<int>(dictionary.Keys); //this crashes unity a lot...

  9. E95a33b480b34a36d6f891356e339d81?d=mm

    Indral

    Nov 23, 2017 20:22

    I have the same issue in b9. Some additional information:

    - In my case, the issue only occurs when using a concurrent collection (ConcurrentDictionary or ConcurrentQueue)

    - When I copy the source code for the ConcurrentQueue from the Mono GitHub repo, add it to my project as "MyConcurrentQueue" (having to comment out one or two lines related to serialization to get it to compile), and replace the crashing instance of ConcurrentQueue with MyConcurrentQueue, the issue disappears

    Hope this helps.

  10. 9d581e2995945dad5cd17289d2b374c3?d=mm

    ugen_oak

    Nov 22, 2017 23:50

    I am now also experiencing this with a regular InputField in the stack trace. This continues to affect me on a daily basis, with crashes happening as many as 12 times a day and as few as 3 for any given person on my four-person team. This is causing us to lose a lot of time.

    I cannot stress how important a fix for this would be for my team.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.