Search Unity

Crash on splash screen [Universal 8.1 Phone / Lumia 520]

Discussion in 'Windows' started by jotapeh_, May 9, 2016.

  1. jotapeh_

    jotapeh_

    Joined:
    Nov 16, 2012
    Posts:
    45
    I've got a bit of a strange issue with a couple games that will load and run fine on most devices but are crashing sometime during or immediately following the splash screen.

    This happens for me exclusively on a Lumia 520 test device running WP8.1. A lumia 630 runs the same games just fine. Current using Unity 5.3.4p6.

    Unfortunately I don't have much insight, as it appears this error is deep in native code. The output is the following:

    Code (csharp):
    1.  
    2. [0.005404 / 23.304115] - AppCallbacks::SetupInputEvents
    3. 'Road Trip.exe' (Win32): Loaded 'C:\Windows\System32\Windows.Devices.Sensors.dll'. Symbols loaded.
    4. 'Road Trip.exe' (Win32): Loaded 'C:\Windows\System32\wpsensors.dll'. Cannot find or open the PDB file.
    5. 'Road Trip.exe' (Win32): Loaded 'C:\Windows\System32\wpsensorsV1.dll'. Cannot find or open the PDB file.
    6. 'Road Trip.exe' (Win32): Loaded 'C:\Windows\System32\DEVICEACCESS.DLL'. Symbols loaded.
    7. DeviceOrientation: Context created 0x00000B28
    8. DeviceOrientationStart: 0x00000B28
    9. DeviceOrientationStop: 0x00000B28
    10. DeviceOrientationStart: 0x00000B28
    11. [2.020571 / 25.326276] - AppCallbacks::SetupOrientationSensorEvents
    12. [7.687285 / 25.360303] - Starting to load first level
    13. The following GlobalManagers were stripped from the build (Either because they're not used or not supported on this platform):
    14.  NetworkManager
    15.  MasterServerInterface
    16.  UnityAdsSettings
    17.  ClusterInputManager
    18.  CloudWebServicesManager
    19.  UnityAnalyticsManager
    20.  UnityConnectSettings
    21.  
    22. UnloadTime: 152.962372 ms
    23.  
    24. [0.695361 / 26.055664] - First level loaded
    25. [2.769762 / 26.057944] - AppCallbacks::Load
    26. [0.007227 / 26.062891] - PerformUpdateAndRender started
    27. 'Road Trip.exe' (Win32): Loaded 'C:\Windows\System32\WINDOWS.GLOBALIZATION.DLL'. Symbols loaded.
    28. 'Road Trip.exe' (Win32): Loaded 'C:\Windows\System32\Windows.System.dll'. Symbols loaded.
    29. 'Road Trip.exe' (Win32): Loaded 'C:\Windows\System32\dsclient.dll'. Cannot find or open the PDB file.
    30. 'Road Trip.exe' (Win32): Loaded 'C:\Windows\System32\uixmobile.dll'. Symbols loaded.
    31. 'Road Trip.exe' (Win32): Loaded 'C:\Windows\System32\uixn.dll'. Symbols loaded.
    32. 'Road Trip.exe' (Win32): Loaded 'C:\Windows\System32\wpglobutil.dll'. Cannot find or open the PDB file.
    33. 'Road Trip.exe' (Win32): Loaded 'C:\Windows\System32\uixrender.dll'. Symbols loaded.
    34. ERROR SensorOpenByInterface:Primary sensor not found:0x00000490
    35. ERROR SensorOpen:Failed to open sensor error:0x00000490
    36. ERROR SensorOpenByInterface:Primary sensor not found:0x00000002
    37. ERROR SensorOpen:Failed to open sensor error:0x00000002
    38. 'Road Trip.exe' (Win32): Loaded 'C:\Windows\System32\MSXML6.DLL'. Symbols loaded.
    39. 'Road Trip.exe' (Win32): Loaded 'C:\Windows\System32\ONDEMANDCONNROUTEHELPER.DLL'. Symbols loaded.
    40. 'Road Trip.exe' (Win32): Loaded 'C:\Windows\System32\winhttp.dll'. Cannot find or open the PDB file.
    41. 'Road Trip.exe' (Win32): Loaded 'C:\Windows\System32\WinhttpPalWp.dll'. Cannot find or open the PDB file.
    42. 'Road Trip.exe' (Win32): Loaded 'C:\Windows\System32\CfmClient.dll'. Cannot find or open the PDB file.
    43. 'Road Trip.exe' (Win32): Loaded 'C:\Windows\System32\DPAPI.DLL'. Symbols loaded.
    44. Unloading 5 Unused Serialized files (Serialized files now loaded: 0)
    45.  
    46. Exception thrown at 0x70D71583 (qcdx9um8930.dll) in Road Trip.exe: 0xC0000005: Access violation writing location 0x0C17D000.
    And the call stack shows:

    Code (csharp):
    1. >    qcdx9um8930.dll!70d71582()    Unknown
    2.     qcdx9um8930.dll!70d67a92()    Unknown
    3.     qcdx9um8930.dll!70d67f68()    Unknown
    4.     qcdx9um8930.dll!70d6900a()    Unknown
    5.     qcdx9um8930.dll!70d40812()    Unknown
    6.     qcdx9um8930.dll!70d158f4()    Unknown
    7.     qcdx9um8930.dll!70d44d7c()    Unknown
    8.     qcdx9um8930.dll!70d064f6()    Unknown
    9.     qcdx9um8930.dll!70d23a7e()    Unknown
    10.     D3D10LEVEL9.DLL!70ca76fa()    Unknown
    11.     D3D10LEVEL9.DLL!70cc1690()    Unknown
    12.     D3D11.DLL!7203226a()    Unknown
    13.     D3D11.DLL!72019a82()    Unknown
    14.     d3d11_2SDKLayers.dll!65083d14()    Unknown
    15.     UnityPlayer.dll!6655f520()    Unknown
    16.     UnityPlayer.dll!665c4518()    Unknown
    17.     UnityPlayer.dll!665c1c34()    Unknown
    18.     UnityPlayer.dll!665c1cce()    Unknown
    19.     UnityPlayer.dll!65d3afe6()    Unknown
    20.     UnityPlayer.dll!65db7366()    Unknown
    21.     UnityPlayer.dll!65dbb538()    Unknown
    22.     UnityPlayer.dll!65dbb58c()    Unknown
    23.     UnityPlayer.dll!65dbda1e()    Unknown
    24.     THREADPOOLWINRT.DLL!Windows::System::Threading::CThreadPoolWorkItem::CommonWorkCallback(void)    Unknown
    25.     THREADPOOLWINRT.DLL!Windows::System::Threading::CThreadPoolWorkItem::TimeSlicedCallback(void *)    Unknown
    26.     NTDLL.DLL!RtlUserThreadStart()    Unknown
    No idea where to start looking for the source of this - I've done several games with the same methods and they always seem to run fine (albeit a bit slow) on the 520.
     
  2. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,920
    Try right clicking on the callstack and click Load Symbols, all symbols except UnityPlayer.dll can be loaded from MS symbol server. Unity symbols are located in Players\WindowsPhone81\ARM folder.

    Though it's a bit strange, it seems it crashed somewhere deep in DX11.
     
  3. jotapeh_

    jotapeh_

    Joined:
    Nov 16, 2012
    Posts:
    45
    Thanks for the reply. I tried this again - unfortunately it cannot seem to locate the symbols. It is searching for qcdx9um8930.pdb and does not locate it on the MS symbol server.

    I'll try to isolate it to a small project and then hopefully submit that as a bug report.
     
  4. tenttu

    tenttu

    Joined:
    Sep 22, 2015
    Posts:
    19
    We are facing the same (or very similar) issue on Lumia 620, callstack is basically identical. Our game is built with Unity 5.3.4p6 as well. Did you make any progress with this?