DigitalE4rth/AuroraDialogEnhancer

Running the game in windowed mode after launching the hook causes the hook to not function sometimes

DigitalE4rth opened this issue · 2 comments

Unity focus events?

This problem can be bypassed by running ADE after starting the game, or by restarting ADE completely if that doesn't work.

#30 The Foreground event fails to trigger in one particular case

The investigation revealed that the case only involves Genshin Impact. When the game is unfocused and the world starts loading, GI tells the system that it has received focus, even though it has not actually received it. Further interaction with the game window does not trigger the focus gain event - it remains in the same "locked" state. Switching between apps fixes this issue.

Suggestion: also take into account the mouse click event in the game until the first click when the game loses it's focus.

HSR doesn't have this problem