From the [Link Removed]:
We had an issue where PIE was being stopped due to an "infinite loop" being detected in one of the blueprints construction script. This was also crashing the editor as the "PlayWorld" was null when it got to UEditorEngine::EndPlayMap and failing the check.
PIE Settings:
Play As Client
Run under single process.
It seems that inside UEditorEngine::Tick, where we iterate the "WorldList" to render each play world leaves a nullptr assigned to "PlayWorld". This seems to happen when running a server, so when we encounter the Blueprint issue, it queues a request to end PIE but by the time it actually does it, the Client has its' World Context registered but not fully initialized. So we end up with an invalid World being assigned to "PlayWorld" in the last iteration. I've attached screenshots.
1) Open the project via the project browser after launching the editor from the epic launcher(for reasons explained above).
2) Once the editor loads, drag and drop BP_CrashDummy into the level.
3) Set PIE to be under the "Client" config.
4) Start PIE.
5) Observe crash.
How does TextureRenderTarget2D get TArray<uint8> type data?
Why does the REMOVE method of map container remove elements have memory leaks?
How do I set a material as a post-processing material?
UMG RichText not appear image when packaged
How to delete some elements correctly when deleting an array loop?
What is the difference between Camera and CineCamera?
How to implement springarm components to scale according to mouse position in spawn?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-198468 in the post.
0 |
Component | UE - Gameplay - Blueprint Runtime |
---|---|
Affects Versions | 5.2 |
Target Fix | 5.4 |
Fix Commit | 29109777 |
---|---|
Main Commit | 29109814 |
Created | Oct 19, 2023 |
---|---|
Resolved | Oct 25, 2023 |
Updated | Nov 4, 2023 |