Stealth Combat : Metahumans UE 5.2.1
I chose to select Myles as my Metahuman. But when I imported it into my project the BP_Myles component produced the following error messages.
[2023.12.02-17.24.44:482][372]LogBlueprint: Warning: [AssetLog] D:\UnrealSource2022\StealthCourse\Content\MetaHumans\Myles\BP_Myles.uasset: [Compiler] Get SkeletalMesh : Usage of ‘SkeletalMesh’ has been deprecated. Use USkeletalMeshComponent::GetSkeletalMeshAsset() or GetSkinnedAsset() instead.
[2023.12.02-17.24.44:482][372]LogBlueprint: Warning: [AssetLog] D:\UnrealSource2022\StealthCourse\Content\MetaHumans\Myles\BP_Myles.uasset: [Compiler] Get SkeletalMesh : Usage of ‘Get Skeletal Mesh’ has been deprecated. Use USkeletalMeshComponent::GetSkeletalMeshAsset() or GetSkinnedAsset() instead.
[2023.12.02-17.24.44:483][372]LogBlueprint: Warning: [AssetLog] D:\UnrealSource2022\StealthCourse\Content\MetaHumans\Myles\BP_Myles.uasset: [Compiler] Get SkeletalMesh : Usage of ‘SkeletalMesh’ has been deprecated. Use USkeletalMeshComponent::GetSkeletalMeshAsset() or GetSkinnedAsset() instead.
[2023.12.02-17.24.44:483][372]LogBlueprint: Warning: [AssetLog] D:\UnrealSource2022\StealthCourse\Content\MetaHumans\Myles\BP_Myles.uasset: [Compiler] Get SkeletalMesh : Usage of ‘Get Skeletal Mesh’ has been deprecated. Use USkeletalMeshComponent::GetSkeletalMeshAsset() or GetSkinnedAsset() instead.
<<<
I assume that this has resulted in my player having no facial hair.
The first error is in the construction script. This I replaced with ‘Get Skinned Asset’. The second is in ‘Enable Master Pose’. Here I replaced the call as above, but replaced the ‘Is Valid’ and branch call with a ‘Cast to Skeletal Mesh’ call so as to pass a value into ‘ Post Process Anim Blueprint. I then replaced the groom components in BP_Robber.
If the camera is close to the player it looks good, but otherwise he’s clean shaven.
Help please, Nick