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

Bug Frame Debugger closes Android app a few seconds after enabled

Discussion in 'Editor & General Support' started by Rilton, Dec 6, 2022.

  1. Rilton

    Rilton

    Joined:
    Jul 15, 2015
    Posts:
    2
    Hi guys!

    2 seconds after hit the Enable button and capture the frame data, the target application that is running on Android phone, closes.

    Have any of you ever had a similar problem? I'll appreciate any help :)

    My editor version is 2022.1.23f
     
  2. alexeyzakharov

    alexeyzakharov

    Unity Technologies

    Joined:
    Jul 2, 2014
    Posts:
    505
  3. Rilton

    Rilton

    Joined:
    Jul 15, 2015
    Posts:
    2
    Thanks for helping, @alexeyzakharov!

    I think logcat is saying lowmemorykiller killed my app due to low memory. That behaviour only seems to happen in a few scenes, the bigger ones. What's weird is that I used to use the Frame debbuger on Unity 2021.3 for these same scenes without any problem.

    Is the new frame debbuger more expensive?
     

    Attached Files:

    alexeyzakharov likes this.
  4. alexeyzakharov

    alexeyzakharov

    Unity Technologies

    Joined:
    Jul 2, 2014
    Posts:
    505
    In 2022.2 there were changes in the data collected - you now get the resulting image from the device to the Frame Debugger window. However it is strange that extra 4-8MB would cause the crash. According to the log you've provided this is the case of external termination by Android which makes it hard to analyze what caused the crash - could be due to low RAM on the device. I would suggest filing a bug if you see the issue on higher end phones