Weirdly enough, Unreal Engine 4 & 5 games work fine on my 7950X3D & 7900 XTX combo. However, my brother's 7600X3D & 6700 XT combo doesn't play nice with certain UE5 games. (Well, mainly Silent Hill 2, in particular.)
By any chance, which UE games are you experiencing crashing in? If we happen to have the same game, maybe I can check to see if it runs stable on this rig.
* PC Specs: Ryzen 9 7950X3D | Radeon RX 7900 XTX (ASRock Taichi White) | 64GB DDR5-6000 CL30 (G.Skill Trident Z5 Neo RGB White) | Crucial T500 2TB PCIe Gen4 NVMe M.2 SSD | Windows 11 Pro 24H2