Closed lls3018 closed 2 years ago
lls3018, I just tested on my MacBook Pro and was able to open and run the project following the instructions in the Quick Start section of the README. So I think we'll need a little more info from you to help troubleshoot the issue you're seeing. Can you provide any or all of the following?
Got the same error: Failed to load map! [folder]/amazon-polly-metahumans-main/Content/AmazonPollyMetaHuman/Scene/MetahumanScene.umap appears to be an asset file.
In answer to your questions:
UE 4.27.2
Yes, no errors. It did take me some time to realize that the make download and compile needs to be in Source/AmazonPollyMetaHuman/ThirdParty/AwsSdk, as I thought I had to download the script manually (perhaps update the quick install pointing to that dir for the actual bat and script files).
Followed the quick install. Double click on project file, this opens a dropdown selector asking me which UE4Edit I want to start (there is only 4.27.2), select it, asks if I want to add AmazonPollyMetaHuman (not AmazonPolly), click yes, UE4Edit starts compiling and then at 89% I get that error
Dialog and exactly like that (the [folder] includes the path to my local install folder where I downloaded the project
Clicking okay results in UE4Edit proceeding. The UI starts and starts to compile an additional 4500 shaders. The end result is an empty UI. See screenshot:
See screenshot
The output log has some errors in it:
LogAssetRegistry: Error: Package [folder]/amazon-polly-metahumans-main/Content/AmazonPollyMetaHuman/Ada/BP_Ada.uasset has malformed tag LogAssetRegistry: Error: Package [folder]/amazon-polly-metahumans-main/Content/AmazonPollyMetaHuman/Ada/Materials/MI_Hair2.uasset has malformed tag [continued for each asset in the folder, removed for readability]
Could it be some kind of file download error. When I check the files (for instance MetaHumanScene.umap) locally it shows: version https://git-lfs.github.com/spec/v1 oid sha256:c4714f3f5cc42e8d64a4426739b96a5f19e94cd48af98f30fb055d57b621d137 size 143263
and not the actual file content. Downloaded the project as zip and also per git clone from command line. Same result. When I download files manually they are larger and contain different content.
Looks like lfs is not enabled in the zip download (https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/managing-repository-settings/managing-git-lfs-objects-in-archives-of-your-repository) and my local install of 'git clone' also does not expand lfs. Cloned the repo, enabled lfs in zip and the download is somewhat larger (currently at 2.2 Gb versus 243Kb).
Can confirm that downloading the repository with all the LFS files from my cloned repo solves this issue.
Thanks for the discover, @arnoldligtvoet! I've now updated the repository settings to include Git LFS files in the archive which should fix this issue for anyone downloading the repository as a ZIP. I'll also make sure we add detail to the README about this repository's use of Git LFS so that people clone the repo know what is required.
@lls3018 I'm assuming you had previously downloaded this repository as a ZIP file. Can you try that again and see if the issue is now resolved for you?
Issue has been resolved, closing this issue.
Failed to load map! /amazon-polly-metahumans-main/Content/AmazonPollyMetaHuman/Scene/MetahumanScene.umap appears to be an asset file.