How to Profile on Android with an Apk Build From Cloud?

The manual only says click “Build & Run”. However, it is kind of inconvenient because it is going to take a long time to build and it makes it impossible to keep profiling on every small changes. I want to ask is it possible to use the Cloud Build service to make a development build on the cloud, and profile it after? If so, how? I can get my device to connect to the Unity Profiler, but it doesn’t start profiling when I start my app from the device.

Hello,
Yes, you can configure your Cloud Build build target to generate development builds.

I have the development build I got from Cloud Build on my device, and I have connected my device to Unity Profiler, and here is where I get stuck. If the build was done locally, the Profiler will run automatically by choosing “Autoconnect Profiler” on Building Settings. However, if the build was done in Cloud Build, there is no such option, so how can I tell the Profiler if my app is opened on my device? I open the game on my device, the Profiler won’t show anything. Do I need to open the same project on Unity? But even if I do so, the Profiler still won’t show anything.

Without Auto connect, the Profiler won’t automatically pick up the player as the app starts, but you can manually direct the Profiler via the target selection drop-down to connect to it once it runs. If that’s what you did here, no error popped up in the console, the drop-down shows the targeted device and no data is coming through, that’s a bug. Could you please file a bug report for this via the editor’s menu Help > Report a bug …?