Loading and unloading stream level crashes game

Hello. I have a level with different sub-levels for each “room”, and I am trying to unload and load the current room the player was in when they died as a way to reset that section for when the player respawns. This method worked when in the editor, but in a packaged game, it crashes every time the player respawns.


When I remove the unload/load nodes and just set the player’s respawn location then the game doesn’t crash.

Here are the Logs

[2025.02.03-01.46.39:166][269]LogLevel: ActivateLevel /Game/Levels/Sub-Levels/Room3 1 1 1
[2025.02.03-01.46.43:323][790]LogBlueprintUserMessages: [BP_Player_C_2147482424] 1000.0
[2025.02.03-01.46.43:323][790]LogViewport: Display: Viewport MouseLockMode Changed, LockOnCapture -> DoNotLock
[2025.02.03-01.46.43:323][790]LogViewport: Display: Viewport MouseCaptureMode Changed, CapturePermanently -> CaptureDuringMouseDown
[2025.02.03-01.46.43:323][790]LogBlueprintUserMessages: [BP_Player_C_2147482424] Save levelData
[2025.02.03-01.46.43:323][790]LogLevel: ActivateLevel /Game/Levels/Sub-Levels/Room3 0 0 0
[2025.02.03-01.46.43:338][791]LogStreaming: Display: 0.017 ms for processing 2854 objects in RemoveUnreachableObjects(Queued=0, Async=0). Removed 9 (380->371) packages and 30 (1041->1011) public exports.
[2025.02.03-01.46.43:343][791]LogUObjectHash: Compacting FUObjectHashTables data took   0.77ms
[2025.02.03-01.46.45:134][794]LogWindows: Could not start crash report client using ../../../Engine/Binaries/Win64/CrashReportClient-Win64-Debug.exe
[2025.02.03-01.46.45:134][794]LogMemory: Platform Memory Stats for Windows
[2025.02.03-01.46.45:134][794]LogMemory: Process Physical Memory: 984.59 MB used, 996.40 MB peak
[2025.02.03-01.46.45:134][794]LogMemory: Process Virtual Memory: 3263.99 MB used, 3275.99 MB peak
[2025.02.03-01.46.45:134][794]LogMemory: Physical Memory: 9490.99 MB used,  6824.27 MB free, 16315.26 MB total
[2025.02.03-01.46.45:134][794]LogMemory: Virtual Memory: 19768.14 MB used,  17027.12 MB free, 36795.26 MB total
[2025.02.03-01.46.45:134][794]Message dialog closed, result: Ok, title: The UE-CrackInTheDark Game has crashed and will close, text: Fatal error!


[2025.02.03-01.46.45:134][794]LogWindows: Error: === Critical error: ===
[2025.02.03-01.46.45:134][794]LogWindows: Error: 
[2025.02.03-01.46.45:134][794]LogWindows: Error: Fatal error!
[2025.02.03-01.46.45:134][794]LogWindows: Error: 
[2025.02.03-01.46.45:134][794]LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x000000000001bbba
[2025.02.03-01.46.45:134][794]LogWindows: Error: 

Greetings @Luurio

I see! I’m not sure if this is the same cause. But, do you have Seamless travel set to ‘False’, by chance?

this is uefn?

Seamless travel was set to false, but enabling it didn’t fix it.

no just UE5.3

You’d want to keep it set to false. Does this only happen with one project? If so, I’d try deleting your Intermediate and Saved folder and retry. If it fails, you could try removing your Config as well(I recommend just moving that outside of the folder rather than deleting, in case you need it back)

I tested it in a fresh project and it works. So I deleted the Save and Intermediate folder and made a new package - no change. Removed the Config folder and that obviously broke the whole project.

Yea, the config folder tends to do that. I’ll check and see if I can find any additional info to help avoid having to rebuild in a new project. But, something is definitely off.