I solved it :
- I deleted the Jet Brains Rider plugin folders from the Engine/Plugins/Developers folder and re-generated the project using UE (File → Refresh Rider Project).
- I added the Jet Brains Rider plugin to the project itself, then refreshed it again.
- Then I removed the plugin folders from the project and added to the engine source again.
And now, everything works smoothly with Live Coding (UE5). I haven’t tested Hot Reload with UE4 anymore, but now I’m able to quick iterate code changes without those crashes and corruption.
Maybe it was a caching issue with Rider?