- Home /
Suspending Unity Temporarily during high CPU processing
Hi,
I am using unity with a custom library on iOS. The custom library is a mathematical lib with a few threads and calls to DSP functions of the iOS. If I use the library with a native iOS app the performance of the library is 2-3X better compared to running under unity. I suspect, unity is using a lot of CPU cycles and as a consequence the libraries execution time is longer.
Is there a way I can stop/pause/suspend Unity functions for a very limited time so that I can prioritize the library execution? I am ok to make the system unresponsive to user input and possibly stop frame rerest as well. If this is NOT possible, what other approaches I can take the enhance my performance.
Thx,
Your answer
Follow this Question
Related Questions
Switching back to app on Android gives black screen for 20s 1 Answer
Overhead performance spikes through the roof when I set Time.timesScale to 0.0 1 Answer
How can i pause gradually from timeScale 1.0 to 0.0 over a second? 1 Answer
How do I pause and unpause multi gameobjects in the scene for a five seconds 1 Answer
Pause the video in unity after playing it but it will done automatically after some time of period. 0 Answers