This comes from a UDN report.
[Link Removed]
When launching the editor with -game, if a material contains a null expression (for instance because that material expression has been removed), the binary will crash, as GIsEditor is false, so null expressions won't take place in UMaterial::PostLoad().
We need to make sure the array of expressions is always cleaned up even when GIsEditor is false.
This occurs when launching the editor in game mode with the -game flag, and the launched level contains a material with an expression whose type was deleted.
How do I set a material as a post-processing material?
How does TextureRenderTarget2D get TArray<uint8> type data?
Why does the REMOVE method of map container remove elements have memory leaks?
What is the difference between Camera and CineCamera?
How to assign a value to a member of UMG's UMaterialInterface pointer type in C++?
Why does the volume fog disappear from a distant view?
How to convert the datasmith scene file to BluePrint. Create animations in BluePrint.
Project can no longer be confirmed
What is the method to dynamically set the original texture when ue4 is running?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-201121 in the post.
0 |
Component | UE - Rendering Architecture - Materials |
---|---|
Affects Versions | 5.3.2 |
Target Fix | 5.4 |
Created | Nov 23, 2023 |
---|---|
Resolved | Nov 23, 2023 |
Updated | Mar 27, 2024 |