Found this Website that gives tips on troubleshooting the various Errors you get including GW502: How to fix frequent Gears 5 errors on PC and Xbox
At a Reddit Thread someone mentioned about not overclocking the GPU card which fixed his GW502 error.
From Microsoft XBOX Support: https://support.xbox.com/en-US/games/game-titles/troubleshoot-gears-5-errors
Try installing a Previous RX480 Driver and see if the problem is fixed from here: https://www.amd.com/en/support/previous-drivers/graphics/radeon-400-series/radeon-rx-400-series/rade...
Do you have the latest Gears 5 patches installed? or the latest version of the game?
From searching your GW502 error it seems to be a very popular and common error since most links are from this year. This seems to me to indicate it might be more of a Microsoft issue (XBOX or Windows) or Gears 5 game issue then a Graphic Driver issue since it also is occurring with Nvidia GPU Cards.