disguise-one / RenderStream-UE

RenderStream plugin for Unreal Engine
BSD 3-Clause "New" or "Revised" License
69 stars 23 forks source link

Assertion failed: Pair != nullptr #13

Closed MunWolf closed 3 years ago

MunWolf commented 3 years ago

UE4Editor_RenderStreamEditor!FRenderStreamEditorModule::GenerateAssetMetadata() [disguiseuerenderstream\Source\RenderStreamEditor\Private\RenderStreamEditorModule.cpp:499]

844 legacy plugin, may still be an issue. This assertion happens when using FindChecked or [] to access a map and no entry exists for a given key. Only example of this I can see in the current codebase is LevelParams[Path] so if we change it to a find and add a check we can prevent a crash here.

MunWolf commented 3 years ago

Fixed in https://github.com/disguise-one/RenderStream-UE/commit/1a67aa799f6a1df23cc72da3f0fd4f1892dc21ac