Could not find the user-interface (UI) element for this action using CV

Hello All ,
i am trying to do automation in a Legacy Java application. so most of the ui interactions are happening using CV. my bot is working fine in attended mode but in un attended mode i am facing difficulty. with the following error
: Could not find the user-interface (UI) element for this action.
following is the Edit target output in the studio


it does use the Anchor as the “username” gray text before typing.
and the resolution in my development system and target bot machine is also same.