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.
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