coderespawn / dungeon-architect-ue4-issues

6 stars 0 forks source link

loading errors on UE5 "Failed to load Outer for resource" #34

Open Jau-Al opened 1 year ago

Jau-Al commented 1 year ago

Hello, When starting in game mode or on a packaged project, I get "Failed to load Outer for resource" errors for everything, including logic blueprints, enemies, meshes...

Here are some examples :

[2022.09.03-02.35.06:934][812]LoadErrors: Warning: CreateExport: Failed to load Outer for resource 'Template': EdGraphNode_DungeonMesh /Game/MainGame/Blueprints/Generators/DungeonArchitect/DT_GiantTree.DT_GiantTree:EdGraph_DungeonProp_0.EdGraphNode_DungeonMesh_96
[2022.09.03-02.35.06:934][812]LoadErrors: Warning: CreateExport: Failed to load Outer for resource 'Template': EdGraphNode_DungeonMesh /Game/MainGame/Blueprints/Generators/DungeonArchitect/DT_GiantTree.DT_GiantTree:EdGraph_DungeonProp_0.EdGraphNode_DungeonMesh_97
[2022.09.03-02.35.06:934][812]LoadErrors: Warning: CreateExport: Failed to load Outer for resource 'GridFlowTaskAbstract_CreateGrid_0': GridFlowExecEdGraphNode_Task /Game/MainGame/Blueprints/Generators/DungeonArchitect/DT_GF_GreenTemple.DT_GF_GreenTemple:GridFlowExecEdGraph_0.GridFlowExecEdGraphNode_Task_0
[2022.09.03-02.35.06:935][812]LoadErrors: Warning: CreateExport: Failed to load Outer for resource 'GridFlowTaskAbstract_CreateMainPath_0': GridFlowExecEdGraphNode_Task /Game/MainGame/Blueprints/Generators/DungeonArchitect/DT_GF_GreenTemple.DT_GF_GreenTemple:GridFlowExecEdGraph_0.GridFlowExecEdGraphNode_Task_1
[2022.09.03-02.35.06:935][812]LoadErrors: Warning: CreateExport: Failed to load Outer for resource 'GridFlowLayoutTaskCreatePath_0': GridFlowExecEdGraphNode_Task /Game/MainGame/Blueprints/Generators/DungeonArchitect/DT_GF_GreenTemple.DT_GF_GreenTemple:GridFlowExecEdGraph_0.GridFlowExecEdGraphNode_Task_16
[2022.09.03-02.35.06:935][812]LoadErrors: Warning: CreateExport: Failed to load Outer for resource 'GridFlowTaskAbstract_CreatePath_0': GridFlowExecEdGraphNode_Task /Game/MainGame/Blueprints/Generators/DungeonArchitect/DT_GF_GreenTemple.DT_GF_GreenTemple:GridFlowExecEdGraph_0.GridFlowExecEdGraphNode_Task_2

After that, there are these "red" errors :

[2022.09.03-04.37.03:226][784]LogOutputDevice: Error: === Handled ensure: ===
[2022.09.03-04.37.03:226][784]LogOutputDevice: Error:
[2022.09.03-04.37.03:227][784]LogOutputDevice: Error: Ensure condition failed: InstanceSceneData.IsValidIndex(RenderInstanceIndex) [File:D:\build\++UE5\Sync\Engine\Source\Runtime\Engine\Private\InstancedStaticMesh.cpp] [Line: 1442]

Any idea ? thx

coderespawn commented 1 year ago

Thanks for the bug report. I'll have a look

Jau-Al commented 1 year ago

I removed a dungeon and the packaged game stopped crashing (there were 3 on a map) Now, in the package game, I also have :

[2022.09.06-10.40.33:667][608]LogOutputDevice: Error: [Callstack] 0x00007ff73971214e StrandedinOuterSpace.exe!StaticConstructObject_Internal() []
[2022.09.06-10.40.33:667][608]LogOutputDevice: Error: [Callstack] 0x00007ff737dcdeed StrandedinOuterSpace.exe!UGridFlowBuilder::ExecuteGraph() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\DungeonArchitect\Source\DungeonArchitectRuntime\Private\Builders\GridFlow\GridFlowBuilder.cpp:121]
[2022.09.06-10.40.33:667][608]LogOutputDevice: Error: [Callstack] 0x00007ff737dabd5b StrandedinOuterSpace.exe!UGridFlowBuilder::BuildDungeonImpl() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\DungeonArchitect\Source\DungeonArchitectRuntime\Private\Builders\GridFlow\GridFlowBuilder.cpp:46]
[2022.09.06-10.40.33:667][608]LogOutputDevice: Error: [Callstack] 0x00007ff737e2dda1 StrandedinOuterSpace.exe!FDungeonBuilderTask::DoWork() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\DungeonArchitect\Source\DungeonArchitectRuntime\Private\Core\Dungeon.cpp:313]
[2022.09.06-10.40.33:667][608]LogOutputDevice: Error: [Callstack] 0x00007ff737e2d9af StrandedinOuterSpace.exe!FAsyncTask<FDungeonBuilderTask>::DoWork() [D:\RocketSync\5.0.0-19505902+++UE5+Release-5.0\Working\Engine\Source\Runtime\Core\Public\Async\AsyncWork.h:304]
[2022.09.06-10.40.33:667][608]LogOutputDevice: Error: [Callstack] 0x00007ff737e62f31 StrandedinOuterSpace.exe!FAsyncTask<FDungeonBuilderTask>::Start() [D:\RocketSync\5.0.0-19505902+++UE5+Release-5.0\Working\Engine\Source\Runtime\Core\Public\Async\AsyncWork.h:292]
[2022.09.06-10.40.33:667][608]LogOutputDevice: Error: [Callstack] 0x00007ff737e63e8f StrandedinOuterSpace.exe!ADungeon::Tick() [D:\build\U5M-Marketplace\Sync\LocalBuilds\PluginTemp\HostProject\Plugins\DungeonArchitect\Source\DungeonArchitectRuntime\Private\Core\Dungeon.cpp:163]

I also noticed this error : [2022.09.06-11.11.45:773][275]LogStreaming: Error: Couldn't find file for package /Script/DungeonArchitectEditor requested by async loading code. NameToLoad: /Script/DungeonArchitectEditor

But I guess it's a consequence of the previous issue.