Search Unity

Game rendering freezes randomly at runtime

Discussion in 'Windows' started by ex_mi, Jan 25, 2016.

  1. ex_mi

    ex_mi

    Joined:
    Jan 25, 2016
    Posts:
    11
    Hi.

    I have been developing a game and deploying to windows phone. But
    after running the game (device) for a while the rendering stops (no crash exit app) and stays stuck on the same frame.

    How can I go about solving this?

    dump file from phone - Eception code 0xC0000194

    unity 5.3.0f4, wp universal 8.1, vs 2015 update 1

    debug:
    http://clip2net.com/s/3tpAJ6X

    Unhandled exception at 0x70C58F0F (qcdx9um8960.dll) in babushka.exe: 0xC0000005: Access violation reading location 0x13C0C03C.

    develop console in device - 3 or 4: Odd tag in Cleanup before freezing
    unity editor - no error

    Thanks!
     
    Last edited: Jan 25, 2016
  2. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,917
    Unity 5.4 is not yet released, you probably used some other Unity version. Could you check again?
     
  3. ex_mi

    ex_mi

    Joined:
    Jan 25, 2016
    Posts:
    11
    sorry my version - 5.3.0f4
     
  4. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,917
  5. ex_mi

    ex_mi

    Joined:
    Jan 25, 2016
    Posts:
    11
    version 5.3.1.f4 - not work (Odd tag in Cleanup)
     
    Last edited: Jan 25, 2016
  6. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,917
    Please submit a bug report with repro project attached. Thank you
     
  7. ex_mi

    ex_mi

    Joined:
    Jan 25, 2016
    Posts:
    11
    I have determined that due to an error occurs:

    I have Canvas(World Space) http://clip2net.com/s/3tpWCMC
    I have an Image (Canvas): http://clip2net.com/s/3tpWEyJ

    On it hangs a script that changes the fillAmount (Update script) http://clip2net.com/s/3tpWHfm

    - wp 8.1 error Odd tag in Cleanup. ^(

    if Canvas(ScreenSpace) - all right :)

    Is there a solution?
     
  8. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,917
    It's a bug in Unity, that only way for us to fix it, is to get a bug report from you.
     
    Last edited: Jan 28, 2016
  9. matt33315

    matt33315

    Joined:
    Mar 28, 2014
    Posts:
    94
    Hi Tomas, Was a bug report ever submitted for this? I think I may be encountering the same issue and it would great to get it fixed
     
  10. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    I don't think it was. It would be great if you could do it. Post here your case number once you report it so we could take a look :).
     
  11. ex_mi

    ex_mi

    Joined:
    Jan 25, 2016
    Posts:
    11
    on a blank project has not yet happened again. But I'm pretty sure that the problem was in the Canvas, the issue in the conditions
     
    Last edited: Jan 30, 2016
  12. matt33315

    matt33315

    Joined:
    Mar 28, 2014
    Posts:
    94
    I have found the same thing. I have created a demo app with just a slider in it on a canvas set to world space and I can update it without it freezing. Its very frustrating, the worst part is that the game only appears to freeze when I am running the app on my windows phone after I have deployed it (ie when its not connected to my pc so there is seemingly no way of knowing what the error is)
     
  13. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    So could we get a bug report?
     
  14. matt33315

    matt33315

    Joined:
    Mar 28, 2014
    Posts:
    94
    As I am unable to reproduce this in a demo app would be acceptable to attach my entire game to the bug report?

    I have been unable to get any concrete error message apart from this

    Odd tag in Cleanup!
    (Filename: C:/buildslave/unity/build/Runtime/Jobs/Internal/JobQueue.cpp Line: 1115)
     
  15. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    Yes, submitting full project would work too.

    Usually we ask for a stripped down version because it's both easier to investigate and by making a stripped down version, it's very likely you'll find a workaround for the full project. However, if it's not possible to strip down a project, a full project is much better than nothing.
     
  16. matt33315

    matt33315

    Joined:
    Mar 28, 2014
    Posts:
    94
    I have logged a bug report (I had to attach the full project)
    Case number 768068
     
  17. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    Thanks, we'll take a look!
     
  18. CrunchingKoalas

    CrunchingKoalas

    Joined:
    Mar 29, 2011
    Posts:
    51
    Hey guys,

    I'm getting the same bug in Unity 5.3.2p2 and p3. The game either freezes or crashes with an error:

    "d3d11: failed to lock vertex buffer 092D6D04 of size 4194304 [0x8007000E]."

    Is there any chance this bug is going to be fixed or should we revert to some of the previous Unity releases?

    Cheers,
    Tom
     
    Last edited: Feb 15, 2016
  19. matt33315

    matt33315

    Joined:
    Mar 28, 2014
    Posts:
    94
    Tomas,

    Should I add Tom's comments to the bug I logged (768068) or should this issue be logged separately?

    Thanks
    Matt
     
  20. matt33315

    matt33315

    Joined:
    Mar 28, 2014
    Posts:
    94
    Tom,

    I'm just wondering if your having the same symptoms as me.

    Does the game crash for you in the editor or when deployed to a windows device (or both)

    Can you reproduce the crash / always make it happen - in my case the freezing occurs at a seemingly random point.
     
  21. CrunchingKoalas

    CrunchingKoalas

    Joined:
    Mar 29, 2011
    Posts:
    51
    The same thing was happening to me for the past few days - the game works good on a Windows 8.1 Laptop and Tablet, but freezes randomly on all Windows Phones (8.1)- Lumia 925 and Lumia 520. The freeze does not cause any errors or breaks when debugging, it sometimes gives the error of "unity d3d11: failed to lock vertex buffer".

    Anyway, I updated Unity to the newest version and now I can't even build an empty project. Super frustrating if you already have the game on the market and you want to fix a few bugs.

    Cheers,
    Tom
     
  22. matt33315

    matt33315

    Joined:
    Mar 28, 2014
    Posts:
    94
    The start of this thread suggests it may have something to do with sliders. Do you have any in your game?

    I created a small demo app, recreating how I use the sliders and annoying it worked fine.

    I have been trying to narrow down what causes the issue but not had any luck so far.

    The bug I entered has not had any updates - not sure if this means its being worked on or ignored :)
     
  23. CrunchingKoalas

    CrunchingKoalas

    Joined:
    Mar 29, 2011
    Posts:
    51
    No we don't have any sliders :/. The bug was most likely ignored... Maybe try pinging the person who told you to report it?

    Cheers,
    Tom
     
  24. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    That bug is being processed. We are not ignoring it.
     
  25. CrunchingKoalas

    CrunchingKoalas

    Joined:
    Mar 29, 2011
    Posts:
    51
    What does it mean processed? Does it mean that someone is actually working on it or does it mean that you know about it and it will be fixed in the future?

    Any advice which previous Unity version to use before this bug is fixed?

    Cheers,
    Tom
     
  26. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    QA is currently looking at the bug trying to reproduce it. Once they do, they will pass it to us (developers) for further investigation and fixing.
     
  27. CrunchingKoalas

    CrunchingKoalas

    Joined:
    Mar 29, 2011
    Posts:
    51
    It's been two weeks since matt submitted the bug, and they're still trying to reproduce it? Sorry, but that's not really something to be proud about.

    Some people using Unity have actual commercial games on the Windows Phone Store and are waiting for this bug to get fixed. If you're not able to get it done, just please tell them that Unity 5.3 doesn't support Windows Phone and tell them which Unity version should they use.

    Cheers,
    Tom
     
    ArachnidAnimal likes this.
  28. matt33315

    matt33315

    Joined:
    Mar 28, 2014
    Posts:
    94
    To be fair to them this bug is horrible to try and reproduce. The only guidance I could give was "Play the game for at least 5 minutes" The 'randomness' of the crash really doesn't help. I wish I could have found the exact action that causes the game to crash but I suspect its something happening being the scenes that I have no control over.

    Tom, if you can always get your game to crash with a certain action or after a certain amount of time maybe you could also submit a bug report?

    It would be great to have this fixed as soon as possible, I guess if we all work together that will happen quicker.

    *Inspirational speech over* :)
     
  29. CrunchingKoalas

    CrunchingKoalas

    Joined:
    Mar 29, 2011
    Posts:
    51
    Hey matt,

    I managed to get rid of it:
    • I reverted the project to Unity 5.2.4f1 (remember to delete all the folders beside Assets and Project Settings)
    • I unchecked the "Unity C# Projects" in Build Settings
    • I have set some of my plugins DLLs to "Don't process".
    Please let me know if you managed to succeed. Thanks!

    Cheers,
    Tom
     
  30. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    Do you get the error "Odd tag in Cleanup" like Matt? If not, it might be a different issue. Do you happen to have a log from such freeze?
     
  31. matt33315

    matt33315

    Joined:
    Mar 28, 2014
    Posts:
    94
    Interestingly version 5.2.4 was the last version I installed before updating to 5.3.

    The reason I updated to the latest version was to try out the unified In app purchase. However, the documentation for windows store was few and far between so in the end I took out all of my IAP logic (as previously I only support IAP for Phone 8 builds which are not supported in the latest version (8.1 minimum))

    I have respond to the request for further information from the QA team regarding the bug so ill give it another week before going back to an older version.
     
  32. ArachnidAnimal

    ArachnidAnimal

    Joined:
    Mar 3, 2015
    Posts:
    1,832
    This issue has affected numerous Unity users. Numerous bug reports and threads have been created by people having an "Odd tag in cleanup" error. All of the bug reports are being closed as "non reproducable" by Unity QA.
    So myself, and other members are being very confused as to why all of theese bug reports are being tagged as "non-reporducable".

    It would be greatly appreciated if a developer from Unity please glance at the bug reports and some forum posts to figure out what is going on here? Why are the repros not being reporducable by Unity QA, but yet other unity users are able to re-produce the problem from reporos that are made publicly available via dropbox?

    This has become very frustraing for me to deal with this error that is occur. Here is a list of links most likely related to the same issue, so you can see this is not an isolate issue that has been occuring.
    It appears the error is prominent on AMD A-series processors, and mainly non-Intel i CPUs according to observing the hardware which the error occurs on.
    (Note that the bug links were made availible the by Unity users).

    http://forum.unity3d.com/threads/ve...in-the-editor-console-odd-tag-cleanup.341934/

    Verified repro by other Unity users: https://www.dropbox.com/s/dk4vbkolnk3hfe0/BugReportRepo_OddTag.zip?dl=0
    http://answers.unity3d.com/questions/1114729/what-causes-the-odd-tag-in-cleanup-error.html
    http://answers.unity3d.com/questions/949892/odd-tag-in-cleanup-error.html
    http://forum.unity3d.com/threads/odd-tag-in-cleanup-error-help-needed.377648/
     
    Last edited: Jun 8, 2016
  33. matt33315

    matt33315

    Joined:
    Mar 28, 2014
    Posts:
    94
    I have downloaded the latest patch Patch 5.3.3p2 and after a short amount of testing my game no longer appears to freeze. I wonder if this is somehow linked to the interesting issue regarding performance when using landscape orientation which has been discussed in a separate thread. (The fix for which is included in the patch)
     
  34. nateschmold

    nateschmold

    Joined:
    May 26, 2015
    Posts:
    14
  35. matt33315

    matt33315

    Joined:
    Mar 28, 2014
    Posts:
    94
    Annoyingly this issue has now come back for me. The game always freezes on my Lumia 925 running an insider build version of Windows 10 mobile but the same build of my game does not crash on my Windows 10 tablet (running a full (desktop) release version of Windows 10) Strangely the game doesn't freeze on my Lumia 925 if I run it in Debug mode. It only crashes in the master configuration and there is no log file created on the phone. So now I have no way of identifying the issue / error message
     
  36. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    Does it freeze with a debugger attached? If not, do you get a crash dump by any chance? You could force a crash dump creation by going back to main menu after the application freezes. OS kills inactive frozen applications after 10 seconds.
     
  37. matt33315

    matt33315

    Joined:
    Mar 28, 2014
    Posts:
    94
    ok just to be clear here,

    When you say Debugger attached do you mean deploying the game from Visual studio while the Phone is connected?

    I have tried this and its when I found the game crashes using the master config but not the debug config (which would give me more information I guess)

    When you say go back to main menu after the crash within 10 seconds is that the tile home screen on the phone?

    Where would the crash dump be saved to on windows phone 10?

    Thanks
    Matt
     
  38. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    Yeah, if you start the application with "Start debugging" button in visual studio.

    Go to VS project properties, debugging tab and set debugger to "Native only". Once done, reproduce the hang and then hit "Break all" button (looks like pause, two vertical stripes) in Visual studio. You should be able to see where it crashes.

    Yes.

    Crash dumps are only created for crashes when debugger is not attached. You also need to enable crash dump collection in phone settings. It saves them to Documents\Debug folder on the phone.
     
  39. matt33315

    matt33315

    Joined:
    Mar 28, 2014
    Posts:
    94
    Hi Tautvydas, Thanks for the suggestions I have followed them and found the following

    After setting the project to Native only I was able to reproduce the crash while debugging but when I hit the Break all button visual studio was looking for a file/dll called memset.i It didn't show me where the crash was coming from

    From looking around online this appears to be a C++ reference or file. Im new to this kind of level of debugging so would you know where this file is likely to be stored. Do I need to install a C++ sdk or something like that?

    After this I set my phone up to create the dump file and got the following error code 0xC0000194. Again from looking online there was no clear answer on what the error was or what could be causing it. Have you seen this before.

    I can paste the rest of the dump file if needed but it just looks like the modules that were loaded at the time - no stack trace :(

    Thanks
    Matt
     
  40. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    Yeah please upload the dump somewhere.

    Regarding memset.i - just click cancel when it does that. You should still be able to see the call stack.
     
  41. matt33315

    matt33315

    Joined:
    Mar 28, 2014
    Posts:
    94
    I will try the cancel method and let you know how it goes

    Here is the dump file summary - If you need the file itself I will have to copy it to my dropbox account - its 257mb

    Dump Summary
    ------------
    Dump File: Hitchhiker - 953d6c42-cc5f-41af-8ad6-aaf13c79dedd with exception C0000194 on 4-14-2016 11.31.dmp : D:\Users\hallmat\AppData\Local\Temp\WPDNSE\{00300000-85E3-0000-0000-000000000000}\Hitchhiker - 953d6c42-cc5f-41af-8ad6-aaf13c79dedd with exception C0000194 on 4-14-2016 11.31.dmp
    Last Write Time: 14/04/2016 11:32:46
    Process Name: Hitchhiker.exe : Hitchhiker.exe
    Process Architecture: ARM
    Exception Code: 0xC0000194
    Exception Information:
    Heap Information: Present

    System Information
    ------------------
    OS Version: 10.0.10586
    CLR Version(s): 4.5.22926.0

    Modules
    -------
    Module Name Module Path Module Version
    ----------- ----------- --------------
    Hitchhiker.exe Hitchhiker.exe 1.0.0.0
    ntdll.dll ntdll.dll 10.0.10586.218
    MSCOREE.DLL MSCOREE.DLL 0.0.0.0
    msvcrt.dll msvcrt.dll 7.0.10586.218
    kernelbase.dll kernelbase.dll 10.0.10586.218
    combase.dll combase.dll 10.0.10586.218
    RPCRT4.dll RPCRT4.dll 10.0.10586.218
    kernel32legacy.dll kernel32legacy.dll 10.0.10586.218
    bcryptPrimitives.dll bcryptPrimitives.dll 10.0.10586.218
    kernel.appcore.dll kernel.appcore.dll 10.0.10586.218
    storageusage.dll storageusage.dll 10.0.10586.218
    shcore.dll shcore.dll 10.0.10586.218
    wintypes.dll wintypes.dll 10.0.10586.218
    modernapiexthost.dll modernapiexthost.dll 0.0.0.0
    OLEAUT32.dll OLEAUT32.dll 10.0.10586.218
    SecRuntime.dll SecRuntime.dll 0.0.0.0
    sechost.dll sechost.dll 10.0.10586.218
    msvcp110_win.dll msvcp110_win.dll 10.0.10586.218
    procthreadexthost.dll procthreadexthost.dll 0.0.0.0
    ntmarta.dll ntmarta.dll 10.0.10586.218
    CoreClr.dll CoreClr.dll 4.5.22926.0
    advapi32legacy.dll advapi32legacy.dll 10.0.10586.218
    CRYPTSP.dll CRYPTSP.dll 10.0.10586.218
    CRYPT32.dll CRYPT32.dll 10.0.10586.218
    SspiCli.dll SspiCli.dll 10.0.10586.218
    MSASN1.dll MSASN1.dll 10.0.10586.218
    werapiexthost.dll werapiexthost.dll 0.0.0.0
    mscorlib.ni.dll mscorlib.ni.dll 4.5.22926.0
    RMClient.dll RMClient.dll 10.0.10586.218
    PsmApp.dll PsmApp.dll 10.0.10586.218
    WpPortingLibrary.dll WpPortingLibrary.dll 0.0.0.0
    twinapi.appcore.dll twinapi.appcore.dll 10.0.10586.218
    bcrypt.dll bcrypt.dll 10.0.10586.218
    Hitchhiker.ni.EXE Hitchhiker.ni.EXE 1.0.0.0
    WINDOWS.NI.WINMD WINDOWS.NI.WINMD 0.0.0.0
    Windows.winmd Windows.winmd 0.0.0.0
    Windows.UI.Xaml.dll Windows.UI.Xaml.dll 10.0.10586.218
    minuser.dll minuser.dll 0.0.0.0
    CoreMessaging.dll CoreMessaging.dll 10.0.10586.218
    Bcp47Langs.dll Bcp47Langs.dll 10.0.10586.218
    iertutil.dll iertutil.dll 11.0.10586.218
    gdi32.dll gdi32.dll 10.0.10586.218
    windows.storage.dll windows.storage.dll 10.0.10586.218
    cfgmgr32.dll cfgmgr32.dll 10.0.10586.218
    shlwapi.dll shlwapi.dll 10.0.10586.218
    powrprof.dll powrprof.dll 10.0.10586.218
    profapi.dll profapi.dll 10.0.10586.218
    MrmCoreR.dll MrmCoreR.dll 10.0.10586.218
    xamlpalwp.dll xamlpalwp.dll 10.0.10011.16384
    AppChromeAPI.dll AppChromeAPI.dll 0.0.0.0
    ShellChromeAPI.dll ShellChromeAPI.dll 0.0.0.0
    CoreUIComponents.dll CoreUIComponents.dll 0.0.0.0
    WPCOREUTIL.dll WPCOREUTIL.dll 0.0.0.0
    dwrite.dll dwrite.dll 10.0.10586.218
    CoreApplicationShim.dll CoreApplicationShim.dll 0.0.0.0
    AppModelProxy.dll AppModelProxy.dll 0.0.0.0
    urlmon.dll urlmon.dll 11.0.10586.218
    WININET.dll WININET.dll 11.0.10586.218
    dxgi.dll dxgi.dll 10.0.10586.218
    Windows.Phone.Devices.dll Windows.Phone.Devices.dll 0.0.0.0
    EMCLIENT.dll EMCLIENT.dll 10.0.10586.218
    AgHostSvcs.dll AgHostSvcs.dll 10.0.10586.218
    OnDemandBrokerClient.dll OnDemandBrokerClient.dll 10.0.10586.218
    TaskHostCore.dll TaskHostCore.dll 10.0.10586.218
    TASKHOSTSVCS.dll TASKHOSTSVCS.dll 10.0.10586.218
    Windows.UI.ApplicationTheme.dll Windows.UI.ApplicationTheme.dll 0.0.0.0
    ZTrace.dll ZTrace.dll 0.0.0.0
    PHONEINFO.dll PHONEINFO.dll 0.0.0.0
    ActXPrxy.dll ActXPrxy.dll 10.0.10586.218
    d3d11.dll d3d11.dll 10.0.10586.218
    UnityPlayer.ni.DLL UnityPlayer.ni.DLL 0.0.0.0
    UnityPlayer.winmd UnityPlayer.winmd 0.0.0.0
    SYSTEM.RUNTIME.NI.DLL SYSTEM.RUNTIME.NI.DLL 4.5.22926.0
    SYSTEM.RUNTIME.INTEROPSERVICES.WINDOWSRUNTIME.NI.DLL SYSTEM.RUNTIME.INTEROPSERVICES.WINDOWSRUNTIME.NI.DLL 4.5.22926.0
    UnityPlayer.dll UnityPlayer.dll 5.3.4.0
    PhoneAppModelHost.dll PhoneAppModelHost.dll 10.0.10011.16384
    WS2_32.dll WS2_32.dll 10.0.10586.218
    vccorlib120_app.DLL vccorlib120_app.DLL 12.0.30113.0
    msvcp120_app.dll msvcp120_app.dll 12.0.30113.0
    MFPlat.DLL MFPlat.DLL 12.0.10586.218
    msvcr120_app.dll msvcr120_app.dll 12.0.30113.0
    MFReadWrite.dll MFReadWrite.dll 12.0.10586.218
    MMDevAPI.DLL MMDevAPI.DLL 10.0.10586.218
    DEVOBJ.dll DEVOBJ.dll 10.0.10586.218
    PROPSYS.dll PROPSYS.dll 7.0.10586.218
    RTWorkQ.DLL RTWorkQ.DLL 12.0.10586.218
    qcdx9um8960.dll qcdx9um8960.dll 1.0.3051.0
    MSVCR110.dll MSVCR110.dll 11.0.51106.1
    D3D10Level9.dll D3D10Level9.dll 10.0.10586.218
    threadpoolwinrt.dll threadpoolwinrt.dll 10.0.10586.218
    qcvidum8960.dll qcvidum8960.dll 0.0.0.0
    mrmenvironmentext.dll mrmenvironmentext.dll 0.0.0.0
    qca2xxcompiler8960.dll qca2xxcompiler8960.dll 1.0.3051.0
    ShellRuntime.dll ShellRuntime.dll 0.0.0.0
    dcomp.dll dcomp.dll 10.0.10586.218
    StorageProxy.dll StorageProxy.dll 0.0.0.0
    Windows.ApplicationModel.dll Windows.ApplicationModel.dll 10.0.10586.218
    Windows.Storage.ApplicationData.dll Windows.Storage.ApplicationData.dll 10.0.10586.218
    windows.ui.dll windows.ui.dll 10.0.10586.218
    inputhost.dll inputhost.dll 0.0.0.0
    windows.ui.core.textinput.dll windows.ui.core.textinput.dll 10.0.10586.218
    TextInputFramework.dll TextInputFramework.dll 10.0.10586.218
    Windows.Graphics.dll Windows.Graphics.dll 10.0.10586.218
    CRYPTBASE.dll CRYPTBASE.dll 10.0.10586.218
    System.Runtime.WindowsRuntime.NI.DLL System.Runtime.WindowsRuntime.NI.DLL 4.5.22926.0
    WinRTBridge.ni.DLL WinRTBridge.ni.DLL 1.0.0.0
    WinRTBridge.winmd WinRTBridge.winmd 1.0.0.0
    BridgeInterface.ni.DLL BridgeInterface.ni.DLL 0.0.0.0
    BridgeInterface.winmd BridgeInterface.winmd 0.0.0.0
    SYSTEM.NI.DLL SYSTEM.NI.DLL 4.5.22926.0
    SYSTEM.COLLECTIONS.NI.DLL SYSTEM.COLLECTIONS.NI.DLL 4.5.22926.0
    UnityEngine.ni.DLL UnityEngine.ni.DLL 0.0.0.0
    Assembly-CSharp.ni.DLL Assembly-CSharp.ni.DLL 0.0.0.0
    UnityEngine.Networking.ni.DLL UnityEngine.Networking.ni.DLL 1.0.0.0
    SYSTEM.CORE.NI.DLL SYSTEM.CORE.NI.DLL 4.5.22926.0
    UnityEngine.Purchasing.ni.DLL UnityEngine.Purchasing.ni.DLL 0.0.0.0
    UnityEngine.UI.ni.DLL UnityEngine.UI.ni.DLL 1.0.0.0
    SYSTEM.IO.NI.DLL SYSTEM.IO.NI.DLL 4.5.22926.0
    SYSTEM.REFLECTION.PRIMITIVES.NI.DLL SYSTEM.REFLECTION.PRIMITIVES.NI.DLL 4.5.22926.0
    SYSTEM.REFLECTION.NI.DLL SYSTEM.REFLECTION.NI.DLL 4.5.22926.0
    SYSTEM.RUNTIME.EXTENSIONS.NI.DLL SYSTEM.RUNTIME.EXTENSIONS.NI.DLL 4.5.22926.0
    SYSTEM.THREADING.TASKS.NI.DLL SYSTEM.THREADING.TASKS.NI.DLL 4.5.22926.0
    SYSTEM.TEXT.ENCODING.NI.DLL SYSTEM.TEXT.ENCODING.NI.DLL 4.5.22926.0
    WinRTLegacy.ni.DLL WinRTLegacy.ni.DLL 1.0.0.0
    SYSTEM.RUNTIME.INTEROPSERVICES.NI.DLL SYSTEM.RUNTIME.INTEROPSERVICES.NI.DLL 4.5.22926.0
    SYSTEM.THREADING.NI.DLL SYSTEM.THREADING.NI.DLL 4.5.22926.0
    Windows.UI.Xaml.Phone.dll Windows.UI.Xaml.Phone.dll 10.0.10586.218
    directmanipulation.dll directmanipulation.dll 10.0.10586.218
    Windows.Globalization.dll Windows.Globalization.dll 10.0.10586.218
    windowscodecs.dll windowscodecs.dll 10.0.10586.218
    Windows.Devices.Enumeration.dll Windows.Devices.Enumeration.dll 10.0.10586.218
    BiWinrt.dll BiWinrt.dll 10.0.10586.218
    deviceassociation.dll deviceassociation.dll 10.0.10586.218
    Windows.System.dll Windows.System.dll 0.0.0.0
    CryptoWinRT.dll CryptoWinRT.dll 10.0.10586.218
    msxml6.dll msxml6.dll 6.30.10586.218
    tokenbinding.dll tokenbinding.dll 10.0.10586.218
    ondemandconnroutehelper.dll ondemandconnroutehelper.dll 10.0.10586.218
    IPHLPAPI.DLL IPHLPAPI.DLL 10.0.10586.218
    winhttp.dll winhttp.dll 10.0.10586.218
    mswsock.dll mswsock.dll 10.0.10586.218
    ole32_wp.dll ole32_wp.dll 10.0.10586.218
    WINNSI.DLL WINNSI.DLL 10.0.10586.218
    NSI.dll NSI.dll 10.0.10586.218
    Windows.Media.Devices.dll Windows.Media.Devices.dll 10.0.10586.218
    DNSAPI.dll DNSAPI.dll 10.0.10586.218
    userenv.dll userenv.dll 10.0.10586.218
    profext.dll profext.dll 10.0.10586.218
    ChamberProf.Dll ChamberProf.Dll 0.0.0.0
    MMPhoneDeviceApi.dll MMPhoneDeviceApi.dll 0.0.0.0
    DevDispItemProvider.dll DevDispItemProvider.dll 10.0.10586.218
    fwpuclnt.dll fwpuclnt.dll 10.0.10586.218
    audiocorepalwp.dll audiocorepalwp.dll 0.0.0.0
    PhoneAudioSes.dll PhoneAudioSes.dll 0.0.0.0
    AudioRtgClient.dll AudioRtgClient.dll 0.0.0.0
    AUDIOSES.DLL AUDIOSES.DLL 10.0.10586.218
    schannel.DLL schannel.DLL 10.0.10586.218
    mskeyprotect.dll mskeyprotect.dll 10.0.10586.218
    ncrypt.dll ncrypt.dll 10.0.10586.218
    NTASN1.dll NTASN1.dll 10.0.10586.218
    WINTRUST.dll WINTRUST.dll 10.0.10586.218
    rsaenh.dll rsaenh.dll 10.0.10586.218
    cryptnet.dll cryptnet.dll 10.0.10586.218
    ncryptsslp.dll ncryptsslp.dll 10.0.10586.218
    UnityEngineProxy.ni.DLL UnityEngineProxy.ni.DLL 1.0.0.0
    SYSTEM.LINQ.NI.DLL SYSTEM.LINQ.NI.DLL 4.5.22926.0
    UnityEngineDelegates.dll UnityEngineDelegates.dll 0.0.0.0
    Windows.Devices.Sensors.dll Windows.Devices.Sensors.dll 10.0.10586.218
    ucrtbase.dll ucrtbase.dll 10.0.10586.218
    msvcp_win.dll msvcp_win.dll 10.0.10586.218
    AppModelCore.dll AppModelCore.dll 10.0.10011.16384
    ie_shims.dll ie_shims.dll 0.0.0.0
    NInput.dll NInput.dll 10.0.10586.218
    Windows.Shell.ServiceHostBuilder.dll Windows.Shell.ServiceHostBuilder.dll 10.0.10586.218
     
  42. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    The summary is useless - I need the file to see anything.
     
  43. matt33315

    matt33315

    Joined:
    Mar 28, 2014
    Posts:
    94
    I could not have put it better myself.

    The full file can be download from here
    http://tinyurl.com/znhwkvg
     
  44. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,680
    Alright, so here's the callstack:

    Code (csharp):
    1.  
    2.   kernelbase.dll!76b3e24a()   Unknown
    3.    msvcr120d_app.dll!_CxxThrowException(void * pExceptionObject, const _s__ThrowInfo * pThrowInfo) Line 154   C++
    4.    vccorlib120d_app.DLL!__abi_WinRTraiseNullReferenceException() Line 512   C++
    5.    UnityPlayer.dll!__abi_WinRTraiseException(long __hrArg) Line 1085   C++
    6.    UnityPlayer.dll!__abi_ThrowIfFailed(long __hrArg) Line 97   C++
    7.    UnityPlayer.dll!BridgeInterface::IMarshalling::MarshalFirstFieldIntoNativePtrGC(__int64 __param0)   C++
    8.    UnityPlayer.dll!MarshalFirstFieldIntoNativePtrGC<RectOffset>(BridgeInterface::IMarshalling ^ marshaller, __int64 instance) Line 53   C++
    9.    UnityPlayer.dll!ScriptingObjectWithIntPtrField<RectOffset>::GetPtr() Line 89   C++
    10. >   UnityPlayer.dll!RectOffset_CUSTOM_Cleanup(__int64 self_) Line 30   C++
    11.    UnityEngineDelegates.dll!RectOffset_CUSTOM_Cleanup(__int64 param_0) Line 5483   C++
    12.    06a9ba0c()   Unknown
    13.  
    Unfortunately, without having the project and being able to debug it locally, I cannot really tell why this is happening.

    Are you able to reproduce this consistently? Did this start after updating Unity, or did this start when you made some changes to your game? We already have the project you submitted earlier, but if you had additional changes, it would be great if you could submit it again.
     
  45. matt33315

    matt33315

    Joined:
    Mar 28, 2014
    Posts:
    94
    I can reproduce it all the time on my Lumia 925 (running windows 10 insider build (10.0.10586.218))

    1.Launch the game
    2. Load tutorial level (If its the first time of playing a dialog pops up telling you the tutorial will be loaded, other wise it can be loaded using the bottom left menu. Expand it out and click on the student icon)
    3.Once the tutorial level is loaded keep pressing the pause button.
    4. I would say doing this for maybe 10 seconds causes the game to crash.

    If not going back to the main menu and then back to the tutorial and repeating the above steps causes the crash.

    However, here is the complicated part, I first thought the crash came about from me updating unity (I updated in January after about 2 months of not updating - sorry I don't remember exact version numbers)

    It was at this time that I updated my Windows Phone to Windows 10.


    I have tried the game on the following devices

    Lumia 930 running Windows Phone 8.1 - No crash using the steps above
    Lumia 950 running Windows Phone 10 (Official build not insider preview build) - No crash using the steps above

    Lumia 925 running windows 10 insider build (10.0.10586.218) - Crash


    I have not made any massive changes since I submitted the bug so I think that version should still be ok for testing.
     
  46. Grinchi

    Grinchi

    Joined:
    Apr 19, 2014
    Posts:
    130
    Guys any updates i am using Unity 5.3.4f1 and Unity 5.3.4p4 and game freezes randomly on lumia 925 windows phone 10 and windows phone 8.1 :( no crash no exceptions nothing just freeze. sound is playing with no problem :(
     
  47. TheBITLINK

    TheBITLINK

    Joined:
    Sep 14, 2015
    Posts:
    1
    Same problem over here, updated to 5.3.4f1 some days ago and it's still happening.

    Just installed 5.4.0b16 and... still freezing...

    It only happens on my phone (Lumia 520, WP8.1), but only on non-development builds (though a few days ago it did happen in a dev build, but only once).

    After reading #7, i disabled a canvas i had set to <Screen Space - Camera>, and ran the game 5 times in a row, with no freezes at all. So that must have been the cause of the problem (at least for me).

    Since my canvas only contained an image (which had to fill the entire screen without losing its aspect ratio), i can achieve a similar effect using a sprite renderer and some code.

    However, i will try to make a minimal repro project. If i can reproduce it with success, expect to see my bug report soon...

    UPDATE: Sadly, i couldn't reproduce it in an empty project, there must be something more...
    UPDATE 2: Now it's freezing on the title screen, it didn't happen before. The only canvas there is rendered on Screen Space - Overlay, so it should be something else. No freezes in-game since i removed the canvas there though. Weird...

    Also, it's probably hardware specific, as it's happening on my sister's 520 too, but not on my friend's 930
     
    Last edited: May 3, 2016
  48. matt33315

    matt33315

    Joined:
    Mar 28, 2014
    Posts:
    94
    @Tautvydas Did you have any luck with the dump file debugging it locally?

    If you would like the latest build to test against I can happily provide that - Should I update my bug or log another one?

    I now have solid steps to reproduce but it does seem to be device specific.

    For me is always crashing on my Lumia 925 but never on the 930 or 950

    I am also now finding that the game only crashes when using the Master configuration.
     
  49. tekiou

    tekiou

    Joined:
    Feb 21, 2015
    Posts:
    2
    Watching this thread for a month. Same problem - freezes without crashes. Since I already published game, I can share some info. At least these devices has freezes:
    Nokia Lumia 625 - Win 10
    Nokia Lumia 925 - WP8.1
    HTC 8S - WP8.1
     
  50. Killhatch

    Killhatch

    Joined:
    Aug 21, 2012
    Posts:
    4
    I am also having random freeze problems on the Nokia Lumia 620 (WIN 10).