Skip to content

Running "Run Background" in Android #278

Answered by asus4
ascoider asked this question in Q&A
Discussion options

You must be logged in to vote

First post in discussions 🎉

Are you running it on the Unity 2021 LTS? If so, please refer to #263

You need to modify AndroidManifest.xml to enable OpenCL acceleration at the API level 31.

Performance-wise,

  • Minimum latency: Invoking it in the same thread
  • Minimum impact on the game FPS: Invoking it in the background-thread, instead of 1~2 frames latency.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ascoider
Comment options

Answer selected by asus4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants