Search Unity

Active Constraints suddenly spikes

Discussion in 'Physics' started by thorikawa, Sep 24, 2021.

  1. thorikawa

    thorikawa

    Joined:
    Dec 3, 2013
    Posts:
    25
    My app is an AR app, and it's a game where characters throw objects at each other as bullets.

    Since the screen often froze while playing on the device, I measured it with the profiler and found that Active Constraints sometimes spikes at almost 50k. In our app, the characters, bullets, and obstacles at fields have Colliders, but there are only a few, so I'm not sure why the Active Constraints values are spiking. What is even stranger is that Spike does not continue, but returns to 0 in the next frame.

    Screen Shot 2021-09-24 at 16.04.39.png Screen Shot 2021-09-24 at 17.29.02.png

    Are there any possible causes that could cause such an event? Also, what are the possible factors that can affect the number of Active Constraints?

    I would appreciate any help. Thank you.

    My environment:
    Unity: 2019.4.22f1
    Device: iPhone 12 Pro/iPad Pro 5th generation
     
  2. thorikawa

    thorikawa

    Joined:
    Dec 3, 2013
    Posts:
    25
    Bump. Anyone can help?
     
  3. War_Tourist

    War_Tourist

    Joined:
    Dec 3, 2014
    Posts:
    9
    Having the same issue.