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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice
  3. Join us on November 16th, 2023, between 1 pm and 9 pm CET for Ask the Experts Online on Discord and on Unity Discussions.
    Dismiss Notice

Need help debugging an Android crash with no stack trace

Discussion in 'Android' started by all_iver, Sep 7, 2016.

  1. all_iver

    all_iver

    Joined:
    Nov 11, 2013
    Posts:
    155
    I'm trying to help a client with an Android port, but I'm not really an Android expert. When we build the game in development mode, it will consistently crash after about 10 seconds of gameplay (it only crashes in-game, not in the menu screen). When we build in release mode, the crashes go away. The game is already released for iOS and does not crash there. Looking at the logcat, it just says WIN DEATH:

    How do I debug this? It crashes consistently on three different devices with different amounts of RAM (although they are all Samsung devices), but only in a development build. When I look at the profiler, it doesn't seem like memory or CPU are spiking or anything - levels stay pretty consistent until it crashes.. If the problem is due to resource usage (just a guess), how can I figure out what specifically is the problem?

    Any advice would be appreciated because I'm not sure how to get more info - thanks!
     
  2. t-schulz

    t-schulz

    Joined:
    Feb 25, 2015
    Posts:
    13
    got exactly the same problem. iOs works perfect, even on an old ipad 3. Got this crash on a galaxy s3 with 1gb and a moto x with 2gb ram. Got this crashes with unity 5.3 and 5.4.

    crashes most after scene loading. Im very sad that there is no help for that and the unity guys didn´t check that high numbers of threads here about that problem.