I created an AutoHotkey script to automatically unset the editor’s default debug object. Press ALT+D to activate. Every once in a while it will fail to find the image. I’ve attached the image I use as an example .png, which is a tiny unique snippet of the debug dropdown. You will need to take your own as a .bmp. You will need to update the screenX and Y vars to your window coords. The UE4DefaultDropdown.bmp should be in the same dir as your .ahk script.
<---------
#IFWINACTIVE ahk_class UnrealWindow
!d::
Loop, 4
{
GroupAdd, ue4wins, ahk_class UnrealWindow,,, Unreal Editor
GroupActivate, ue4wins
Sleep, 10
MouseGetPos, mouseX, mouseY
screenX0 := 0
screenY0 := 0
screenX1 := 1920
screenY1 := 1080
ImageSearch, foundX, foundY, screenX0, screenY0, screenX1, screenY1, *75 UE4DefaultDropdown.bmp
if ErrorLevel=0
{
MouseMove, foundX, foundY-10
Sleep, 25
Click
Sleep, 25
MouseMove, foundX, foundY+9
Sleep, 25
Click
Sleep, 25
MouseMove, mouseX, mouseY
break
}
}
WinActivate, Unreal Editor ahk_class UnrealWindow
return