Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Cpu occupy 135%, applicationo crash for anr

Discussion in 'Android' started by plaichat, May 13, 2021.

  1. plaichat

    plaichat

    Joined:
    Apr 22, 2021
    Posts:
    23
    Hi
    If quickly paused an resume UnityPlayerActivity for many times.
    The app will occupied cpu high to 135%.

    I found many logs like below.
    W Unity : Timeout while trying to pause the Unity Engine.
    W Unity : Timeout while trying detaching primary window.

    Is there any way to resolve this problem?
     
  2. plaichat

    plaichat

    Joined:
    Apr 22, 2021
    Posts:
    23
    So short time for unity pause, so some thread for unity became out of control?
     
  3. plaichat

    plaichat

    Joined:
    Apr 22, 2021
    Posts:
    23
    My unity version is 2020.1.14f1c1