Unable to Profile Trace on Android Device

Hi,

I’m having trouble collecting trace data automatically on an Android device using Unreal Insights. I’m working on a project profiling a Pixel 8a running a packaged game called SunTemple2.

Unfortunately, we don’t have access to the original Unreal project on desktop, as we’re working with a previous group’s build that exists only on the phone. I followed the documentation here:

I placed the UECommandLine.txt file in:

/sdcard/Android/data/com.YourCompanyname.SunTemple2/files/UnrealGame/SunTemple2

I’ve confirmed tracing is possible because I can manually start and stop traces in the in-game console using:

Trace.Start
Trace.Stop

For this project, I need to automate this process so the trace starts automatically on game launch, without needing to access the Unreal project on desktop.

If anyone has insight into how to resolve this or whether it’s even possible without the original project files, I’d really appreciate the help.

Thanks!