baldurk / renderdoc

RenderDoc is a stand-alone graphics debugging tool.
https://renderdoc.org
MIT License
8.62k stars 1.3k forks source link

Unreal Engine Android : Injection failed.... #3273

Closed cppgod17 closed 3 months ago

cppgod17 commented 3 months ago

Description

Hello, I'm trying to debug my Android game written in Unreal Engine, I built the project in development mode and disabled for distribution, but renderdoc writes that "Android application not set up for RenderDoc capture", it seems to me that I did everything to it worked, I would be very glad if you could help me

Steps to reproduce

  1. download apk file mail, i send apk link to yourr mail from cppgod17@gmail.com
  2. connect phone to pc with enabled developer mode, and enabled usb debugging,
  3. choose my device in the Render Doc
  4. Launch the application, (its called like "my bundlename" + com.epicgames.ue4.SplashActivity (idk its normal or not)( its normally launched on my devices, but after few second i will see image

Environment

My Device Xiaomi 10T Pro

cppgod17 commented 3 months ago

Also i can't attach to active process, because when i launch my game, render doc is not see it

baldurk commented 3 months ago

The apk you shared is not set up for RenderDoc capture as it is not debuggable. You said you saw the error message about this and it is exactly correct about the problem, so there is no RenderDoc bug here:

image

The exact mechanism varies by engine and build process so I can't help you directly with that. If you did uncheck 'for distribution' then maybe there are other steps that need to be taken, but that is up to you and the engine that you're using this isn't something RenderDoc related.