Aximmetry DE 5 Beta Error: Metahuman

 

Hi.

I created a scene in Unreal 5 for Aximmetry and it works fine up until the point where I import a Metahuman asset into the scene via bridge. The scene works in Unreal and cooks successfully but Aximmetry experiences a critical error when trying to reload the scene. The message log reads:

"Fatal error: [File:E:\Build2\UnrealEngine5\Engine\Source\Runtime\Engine\Private\Materials\MaterialShared.cpp] [Line: 2276] 

Failed to find shader map for default material WorldGridMaterial(/Engine/EngineMaterials/WorldGridMaterial.WorldGridMaterial)! Please make sure cooking was successful (Contains inline shaders, has GTSM)"

Any idea if this is fixable in the Beta version? As mentioned, the scene cooks fine with no errors and it seems to happen every time I import a metahuman character. 

Thanks in advance.

   Motionworx

 
Profile Image
Motionworx
  -  

Something to note here: I followed this tutorial to install quixel bridge:

https://my.aximmetry.com/post/2223-unable-to-install-quixel-bridge-plugin-i

It worked, I can import bridge assets including methuman, but I do get this plugin error on startup:

LogAximmetry: Error: "Bridge" plugin (in "E:/UE_5_For_Aximmetry/UnrealEngine/Engine/Plugins/Bridge") is not installed correctly. (BuildId is "19505902" in "E:/UE_5_For_Aximmetry/UnrealEngine/Engine/Plugins/Bridge/Binaries/Win64/UnrealEditor.modules".)

LogAximmetry: Error: To fix this:

LogAximmetry: Error:     Delete the "E:/UE_5_For_Aximmetry/UnrealEngine/Engine/Plugins/Bridge" directory.

LogAximmetry: Error:     Install the plugin(s) as described in the documentation: "How to Install Third-Party Code Plugins for Unreal Editor for Aximmetry".

I've used bridget to import other 3D assets (like geometry)  and it worked despite the error message. Also cooked fine and loaded fine in Aximmetry. As soon as I add a metahuman into the content browser (haven't even placed it in the scene yet) and cook again, I get a critical error in Aximmetry. I've tried to reinstall it so that I don't get the error message but to no avail. Could this be the problem? 

 
Profile Image
Motionworx
  -  

Hi,

Update on this: I did a fresh install of everything and the Bridge plugin workaround as described works 100% now with no errors. Aximmetry still won't load the scene as soon as I add a metahuman, same issue. Any idea on what to do? Thanks in advance.

 
Profile Image
Eifert@Aximmetry
  -  

Hi Motionworx,

I could play the Metahuman in Live Sync mode:

But not in cooked mode.
For me, a
dding the following code to the list of plugins in your .uproject file fixed the Cooked mode:

		{
			"Name": "HairStrands",
			"Enabled": true
		},

I found the fix here: https://forums.unrealengine.com/t/crash-of-packaged-game-assertion-failed-schemait-schemaend/502321/16

Otherwise, this was at the beginning of the error log when running in cooked mode:

[LogPackageName] GetLocalBaseFilenameWithPath: Failed converting package name "/HairStrands/Emitters/StableSpringsSystem" to file name
[LogStreaming] Couldn't find file for package /HairStrands/Emitters/StableSpringsSystem requested by async loading code. NameToLoad: /HairStrands/Emitters/StableSpringsSystem
[LogStreaming] This will hitch streaming because it ends up searching the disk instead of finding the file in the pak file.
[LogStreaming] Found 1 dependent packages...
[LogStreaming]   /Game/Main
[LogStreaming] Please cook the project and try again.
[LogPackageName] GetLocalBaseFilenameWithPath: Failed converting package name "/HairStrands/Emitters/StableRodsSystem" to file name
[LogStreaming] Couldn't find file for package /HairStrands/Emitters/StableRodsSystem requested by async loading code. NameToLoad: /HairStrands/Emitters/StableRodsSystem
[LogStreaming] This will hitch streaming because it ends up searching the disk instead of finding the file in the pak file.
[LogStreaming] Found 1 dependent packages...
[LogStreaming]   /Game/Main
[LogStreaming] Please cook the project and try again.
[LogStreaming] Couldn't find file for package /Script/HairStrandsCore requested by async loading code. NameToLoad: /Script/HairStrandsCore
[LogStreaming] This will hitch streaming because it ends up searching the disk instead of finding the file in the pak file.
[LogStreaming] Found 1 dependent packages...
[LogStreaming]   /Game/Main
[LogStreaming] Please cook the project and try again.
[LogStreaming] ****DumpDependencies [Dependencies]:
[LogStreaming]     Export 1 /Game/MetaHumans/Natalia/MaleHair/GroomBinding/Eyelashes_S_Thin_m_med_nrw_head_skmesh_Face_Archetype_Binding.Eyelashes_S_Thin_m_med_nrw_head_skmesh_Face_Archetype_Binding
[LogStreaming]     Linker is /Game/MetaHumans/Natalia/MaleHair/GroomBinding/Eyelashes_S_Thin_m_med_nrw_head_skmesh_Face_Archetype_Binding
[LogStreaming]         Dep C_BEFORE_S Import     1   /Game/MetaHumans/Natalia/MaleHair/Hair/Eyelashes_S_Thin.Eyelashes_S_Thin
[LogStreaming]         Dep C_BEFORE_S Import     6   /Game/MetaHumans/Natalia/Face/Natalia_FaceMesh.Natalia_FaceMesh
[LogStreaming]         Dep S_BEFORE_C Import     0   /Script/HairStrandsCore.GroomBindingAsset
[LogStreaming]         Dep S_BEFORE_C Import     2   /Script/HairStrandsCore.Default__GroomBindingAsset
[LogStreaming] Missing Dependency, request for /Script/HairStrandsCore.GroomBindingAsset but it hasn't been created yet.
[LogStreaming] Could not find class GroomBindingAsset to create Eyelashes_S_Thin_m_med_nrw_head_skmesh_Face_Archetype_Binding

......

[LogStreaming] ****DumpDependencies [Dependencies]:
[LogStreaming]     Export 25 /Game/Main.Main:PersistentLevel.BP_Natalia_C_1.Mustache
[LogStreaming]     Linker is /Game/Main
[LogStreaming]         Dep C_BEFORE_S Import    20   /Game/MetaHumans/Natalia/BP_Natalia.BP_Natalia_C
[LogStreaming]         Dep C_BEFORE_S Export    57    /Game/Main.Main:PersistentLevel.BP_Natalia_C_1.Face     (class SkeletalMeshComponent)
[LogStreaming]         Dep S_BEFORE_C Import    49   /Script/HairStrandsCore.GroomComponent
[LogStreaming]         Dep S_BEFORE_C Import    64   /Game/MetaHumans/Natalia/BP_Natalia.BP_Natalia_C:Mustache_GEN_VARIABLE
[LogStreaming]         Dep C_BEFORE_C Export     9    /Game/Main.Main:PersistentLevel.BP_Natalia_C_1     (class BP_Natalia_C)
[LogStreaming] Missing Dependency, request for /Script/HairStrandsCore.GroomComponent but it hasn't been created yet.
[LogStreaming] Could not find class GroomComponent to create Mustache

I used Aximmetry 2022.5.0, which has now the Bridge fixed. So you only need to do the above fix for Metahumans.

I hope this helps. And you will be able to use it too.

Warmest regards,


 
Profile Image
Eifert@Aximmetry
  -  

Hi,

You no longer need to edit the Metahuman plugin with a text editor.
Since Aximmetry version 2023.2.2 plugins can run in Live Sync without the plugin's source code. So you can install Metahuman to Aximmetry like any other Epic Marketplace plugin.

Also, we have a detailed post on how to use Metahuman here: https://my.aximmetry.com/post/3356-how-can-i-use-metahumans-within-aximmetr

Warmest regards,