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

Help Debugging WP8 crash dump

Discussion in 'Windows' started by mbowen89, Nov 22, 2014.

  1. mbowen89

    mbowen89

    Joined:
    Jan 21, 2013
    Posts:
    639
    So I am getting some crashes apparently on my live game from players, I got this from the dev center (game is built for 8.0)

    And then I downloaded this minidump file and it opened in VS and says:

    It worked fine when testing on my Lumia 925, I think this might have been a 1025 that crashed.

    I'm not sure what this is telling me or what I can do... thanks for any help!!
     
  2. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,658
    It's telling you that you're accessing data from incorrect thread.

    For ex., you can only access XAML UI code from UI thread, accessing it from different code will result in exception above.

    Though I am not totally sure if you're hitting this exact problem. A bug report would be nice.
     
  3. mbowen89

    mbowen89

    Joined:
    Jan 21, 2013
    Posts:
    639
    You mean from unity? Or from the Windows dev center?

    I don't do anything with threads etc... I use unibill for in app purchases, but that's it.
     
  4. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,658
    It can be done from anywhere - from Unity, plugin, some other external code. When you open minidump, do you see the callstack?
     
  5. mbowen89

    mbowen89

    Joined:
    Jan 21, 2013
    Posts:
    639
    When the minidump opens in VS I just see this:

    I had a player tell me:

    It's after he's setup his vehicle and goes to the second scene in the game to play leaving the garage menu that it crashes.

    There's surely no way it's a memory issue with 2GB RAM on the Lumia 1520.

    I'm not quite sure how to get the typical stack trace like I see on Google Play with Android.
     
  6. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,491
    Do you get an option to "run" the dump? If do you, it should show you the stacktrace of all the threads.
     
  7. mbowen89

    mbowen89

    Joined:
    Jan 21, 2013
    Posts:
    639
    I attached a picture of what I see, I clicked the "Debug with Mixed" link in this action menu on the right. Is that what you were talking about?
     

    Attached Files:

  8. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,491
    What happens if you press "Debug with native only"?
     
  9. mbowen89

    mbowen89

    Joined:
    Jan 21, 2013
    Posts:
    639
    "The minidump is from an ARM-based computer and can only be debugged on an ARM computer."
     
  10. Tomas1856

    Tomas1856

    Unity Technologies

    Joined:
    Sep 21, 2012
    Posts:
    3,658
  11. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,491
    Without a stacktrace, it's gonna be really hard to find out what's going on - I'm not sure why Visual Studio won't give you that. However, while being more advanced, it's also possible to use WinDbg to extract stack information from a minidump.
     
  12. mbowen89

    mbowen89

    Joined:
    Jan 21, 2013
    Posts:
    639
    Do I have the symbols needed? I feel completely stupid and ignorant with this...!
     
  13. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,491
    Yes, you should have them. You'll the exact Unity version with which you released the game, and you'll find them in Editor/Data/PlaybackEngines/wp8support/Players/ARM/master/.
     
  14. mbowen89

    mbowen89

    Joined:
    Jan 21, 2013
    Posts:
    639
    I've never been able to do anything with this crash dump yet however I had one of the reviewers that had the crashing issue try choosing my "low quality" setting, the main difference being that it disables shadows. He said it worked great then! He was on an HTC One M8 which has the Adreno 330. Is this a known issue? What I did was just put a script on the light to disable shadows if running on WP8 for now, uploading the update to the store now...
     
  15. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,491
    I don't think we have such issue recorded anywhere - I haven't personally heard about it. Could you perhaps PM me a link to the game, so our QA could download and test it on various phones?
     
  16. mbowen89

    mbowen89

    Joined:
    Jan 21, 2013
    Posts:
    639
  17. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,491
    Data caps? WHAT YEAR IS IT?!

    Anyway, it would be nice if you could submit a bug. App being not freely downloadable from the store is an issue, but it could be solved by uploading it again as "beta" and letting only selected email addresses to download the application.
     
  18. mbowen89

    mbowen89

    Joined:
    Jan 21, 2013
    Posts:
    639
    I have to use ATT cell data plan basically... no internet here in the rural area... I know, crazy :p

    When I was looking at how beta works, I have to create an entirely different app with different com.bowengames.xyz, is that correct?
     
  19. Tautvydas-Zilys

    Tautvydas-Zilys

    Unity Technologies

    Joined:
    Jul 25, 2013
    Posts:
    10,491
    In the store, you press "upload new application", and there you can select that you want to upload a beta version of it. So yes, it's gonna be entirely new application.
     
  20. mbowen89

    mbowen89

    Joined:
    Jan 21, 2013
    Posts:
    639
    Does this give you guys any clues? It's a really wide screenshot of the excel table from WP Dev Center.