Logitech G502 Side Buttons Stop Working in One Windows Game

Standard pointing may work while a per-game profile assigns different commands to the side buttons.
Check active profile
Confirm the exact G502 variant. Test the buttons outside the game, then open the supported Logitech configuration app and inspect the active profile.
What to do with the result
Assign a harmless, easy-to-test keystroke to one button in the intended profile. Check whether the mouse is using onboard memory or software profiles before changing additional assignments.
Test one assignment
Open the game and test that single binding. If the assignment works on the desktop only, check which executable triggers the game profile.
For related steps, see identifying hardware by its device ID or browse the Windows Drivers library.
Official references include Microsoft’s hardware ID reference and manufacturer support.