使用 github 上的最新 DNA Calibration 代码, https://github.com/EpicGames/MetaHuman\-DNA\-Calibration
读写 UE5.6 metahuman 导出的DNA文件,报错:
发生异常: RuntimeError
Error loading DNA: DNA version mismatched, expected 2.1, got 2.5
File “D:\Code\PythonScripts\MetaHuman-DNA-Calibration\examples\dna_binary_to_json_demo.py”, line 44, in load_dna
raise RuntimeError(f"Error loading DNA: {status.message}")
File “D:\Code\PythonScripts\MetaHuman-DNA-Calibration\examples\dna_binary_to_json_demo.py”, line 78, in create_json_dna
dna_reader = load_dna(input_path)
File “D:\Code\PythonScripts\MetaHuman-DNA-Calibration\examples\dna_binary_to_json_demo.py”, line 87, in <module>
create_json_dna(CHARACTER_DNA, OUTPUT_DNA)
RuntimeError: Error loading DNA: DNA version mismatched, expected 2.1, got 2.5
按照 github 的 Readme 描述:
This repository has not been updated to support MetaHuman characters created in MetaHuman Creator in Unreal Engine 5.6. Characters created in Unreal Engine 5.6 should be edited using the new MetaHuman for Maya plugin, available for download on Fab. This repository remains compatible with characters created in Unreal Engine 5.5 or earlier.
另外,有相关 issue :https://github.com/EpicGames/MetaHuman\-DNA\-Calibration/issues/76
想问下近期,有计划更新这个预构建的 dnalib 吗?