This issue can occur when the Social Overlay is enabled in your game. When the game’s swapchain is recreated, for example, when certain graphic settings are changed, the overlay is completely reinitialized, causing its visual state to be lost and a potential performance hitch. We are working on a…
https://dev.epicgames.com/community/learning/knowledge-base/Le2eK/epic-online-services-why-does-my-game-stutter-after-changing-graphic-settings