Search Unity

Instant Crash when building for Facebook Gameroom with 5.5.0f3

Discussion in 'Editor & General Support' started by Suvitruf, Dec 10, 2016.

  1. Suvitruf

    Suvitruf

    Joined:
    Sep 3, 2014
    Posts:
    39
    Hello there,

    We have just updated Unity to 5.5.0f3. But build from this Unity version doesn't work in Gameroom. Game crashes immediately after start. I found this thread https://forum.unity3d.com/threads/i...ng-for-facebook-gameroom-with-5-5-0b9.442628/
    But there is no solution.

    We have same error in log file:
    Initialize engine version: 5.5.0f3 (38b4efef76f0)
    GfxDevice: creating device client; threaded=1
    Crash!!!
     
  2. rmalecki

    rmalecki

    Joined:
    May 21, 2013
    Posts:
    8
    It's a regression in 5.5 with DirectX 11, they seem to be working on it for a patch update.
    Workaround: Player Settings -> Other Settings -> Disable "Auto Graphics API for Windows" and then remove DX11 from the list, leaving only DX9 support.
    Of course this means you lose DX11 stuff, if you are depending on it.
     
  3. sunburnedgames

    sunburnedgames

    Joined:
    Jul 20, 2015
    Posts:
    8
    For us it crashes only sometimes when playing the Gameroom version - we are on Unity 5.5.0f3 as well. We have a developer looking into it, and we will try the "forcing DX9" work-around.

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

    0x00F71509 (749060468579711) physx::shdfnd::ErrorHandler::getCallbackCount
    0x00F75528 (749060468579711) physx::shdfnd::ErrorHandler::getCallbackCount
    0x00F75A51 (749060468579711) physx::shdfnd::ErrorHandler::getCallbackCount
    0x00F7D647 (749060468579711) physx::shdfnd::ErrorHandler::getCallbackCount
    0x00F80872 (749060468579711) physx::shdfnd::ErrorHandler::getCallbackCount
    0x00FAC94E (749060468579711) physx::shdfnd::ErrorHandler::getCallbackCount
    0x0522CA4E (Mono JIT Code) (wrapper managed-to-native) UnityEngine.TextGenerator:INTERNAL_CALL_Populate_Internal_cpp (UnityEngine.TextGenerator,string,UnityEngine.Font,UnityEngine.Color&,int,single,single,UnityEngine.FontStyle,bool,bool,int,int,int,int,bool,UnityEngine.TextAnchor,single,single,single,single,bool,bool,uint&)
    0x0522C9A2 (Mono JIT Code) UnityEngine.TextGenerator:populate_Internal_cpp (string,UnityEngine.Font,UnityEngine.Color,int,single,single,UnityEngine.FontStyle,bool,bool,int,int,int,int,bool,UnityEngine.TextAnchor,single,single,single,single,bool,bool,uint&)
    0x0522C903 (Mono JIT Code) UnityEngine.TextGenerator:populate_Internal (string,UnityEngine.Font,UnityEngine.Color,int,single,single,UnityEngine.FontStyle,bool,bool,int,int,UnityEngine.VerticalWrapMode,UnityEngine.HorizontalWrapMode,bool,UnityEngine.TextAnchor,UnityEngine.Vector2,UnityEngine.Vector2,bool,bool,UnityEngine.TextGenerationError&)
    0x0522C67B (Mono JIT Code) UnityEngine.TextGenerator:populateAlways (string,UnityEngine.TextGenerationSettings)
    0x0522C458 (Mono JIT Code) UnityEngine.TextGenerator:populateWithError (string,UnityEngine.TextGenerationSettings)
    0x0522C373 (Mono JIT Code) UnityEngine.TextGenerator:populate (string,UnityEngine.TextGenerationSettings)
    0x0522C2FE (Mono JIT Code) UnityEngine.TextGenerator:GetPreferredWidth (string,UnityEngine.TextGenerationSettings)
    0x0522BC45 (Mono JIT Code) UnityEngine.UI.Text:get_preferredWidth ()
    0x0522B6C9 (Mono JIT Code) UnityEngine.UI.LayoutUtility:<GetPreferredWidth>m__2 (UnityEngine.UI.ILayoutElement)
    0x0522B3DB (Mono JIT Code) UnityEngine.UI.LayoutUtility:GetLayoutProperty (UnityEngine.RectTransform,System.Func`2<UnityEngine.UI.ILayoutElement, single>,single,UnityEngine.UI.ILayoutElement&)
    0x0522B20A (Mono JIT Code) UnityEngine.UI.LayoutUtility:GetLayoutProperty (UnityEngine.RectTransform,System.Func`2<UnityEngine.UI.ILayoutElement, single>,single)
    0x0522B64B (Mono JIT Code) UnityEngine.UI.LayoutUtility:GetPreferredWidth (UnityEngine.RectTransform)
    0x0522B53C (Mono JIT Code) UnityEngine.UI.LayoutUtility:GetPreferredSize (UnityEngine.RectTransform,int)
    0x0522B070 (Mono JIT Code) UnityEngine.UI.HorizontalOrVerticalLayoutGroup:GetChildSizes (UnityEngine.RectTransform,int,bool,bool,single&,single&,single&)
    0x0522ADBE (Mono JIT Code) UnityEngine.UI.HorizontalOrVerticalLayoutGroup:CalcAlongAxis (int,bool)
    0x05238C73 (Mono JIT Code) UnityEngine.UI.HorizontalLayoutGroup:CalculateLayoutInputHorizontal ()
    0x0522A8F0 (Mono JIT Code) UnityEngine.UI.LayoutRebuilder:<Rebuild>m__2 (UnityEngine.Component)
    0x0522A829 (Mono JIT Code) UnityEngine.UI.LayoutRebuilder:performLayoutCalculation (UnityEngine.RectTransform,UnityEngine.Events.UnityAction`1<UnityEngine.Component>)
    0x0522A5E8 (Mono JIT Code) UnityEngine.UI.LayoutRebuilder:Rebuild (UnityEngine.UI.CanvasUpdate)
    0x0521D7EC (Mono JIT Code) UnityEngine.UI.CanvasUpdateRegistry:performUpdate ()
    0x051F86F8 (Mono JIT Code) UnityEngine.Canvas:SendWillRenderCanvases ()
    0x051A0263 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
    0x100F173F (mono) mono_set_defaults
    0x1005D839 (mono) mono_runtime_invoke
    0x00C5BDEE (749060468579711) physx::shdfnd::ErrorHandler::getMaxCallbackNum
    0x00C837BA (749060468579711) physx::shdfnd::Foundation::getTempAllocFreeTable
    0x00FB971C (749060468579711) physx::shdfnd::ErrorHandler::getCallbackCount
    0x00BA2367 (749060468579711) physx::shdfnd::ErrorHandler::getMaxCallbackNum
    0x010A7FAB (749060468579711) physx::shdfnd::Allocator::`default constructor closure'
    0x01147518 (749060468579711) physx::shdfnd::Allocator::`default constructor closure'
    0x0117FDE8 (749060468579711) physx::shdfnd::Allocator::`default constructor closure'
    0x77937C04 (KERNEL32) BaseThreadInitThunk
    0x77C2AB8F (ntdll) RtlInitializeExceptionChain
    0x77C2AB5A (ntdll) RtlInitializeExceptionChain

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

    **** Crash! ****