"death error" crashes my game a few minutes after loadup

I have tried just about everything to not crash, but the games keep crashing a few minutes after loading. It doesn’t matter what world or avatars; the game freezes, gives the error “Unity-2022.3.22f1-DWR_822cc3d4c88,” plays the next second of gameplay, and closes the game.
A fix that worked temporarily was playing the game in desktop for about 30-45 mins beforehand, but now that doesn’t work. any ideas?