daz3d / DazToUnreal

Daz to Unreal Bridge
Apache License 2.0
154 stars 46 forks source link

Unreal 5.1 - RigVMController: /Game/DazToUnreal/Character_9/Character_9_JCM_CR : Cannot find struct for path '/Script/RigVM.RigVMFunction_MathQuaternionToEule #58

Open Andrej730 opened 1 year ago

Andrej730 commented 1 year ago

Full traceback:

LogBlueprint: Error: [AssetLog] /Game/DazToUnreal/Character_9/Character_9_JCMAnim.Character_9_JCMAnim (no disk path found): [Compiler] Linked graph node  Control Rig  has no valid instance class to spawn.
LogUObjectHash: Compacting FUObjectHashTables data took   1.72ms
LogDazToUnreal: Creating AutoJCM Control Rig with command: py CreateAutoJCMControlRig.py --skeletalMesh=/Game/DazToUnreal/Character_9/Character_9.Character_9 --animBlueprint=/Game/DazToUnreal/Character_9/Character_9_JCMAnim.Character_9_JCMAnim --dtuFile="\DazToUnreal\Character_9\Character_9.dtu"
LogUObjectHash: Compacting FUObjectHashTables data took   1.52ms
LogPython: Error: Traceback (most recent call last):
LogPython: Error:   File "C:/3D_Software/UE_5.1/Engine/Plugins/DazToUnreal/Content/Python/CreateAutoJCMControlRig.py", line 228, in <module>
LogPython: Error:     rig_controller.add_unit_node_from_struct_path('/Script/RigVM.RigVMFunction_MathQuaternionToEuler', 'Execute', unreal.Vector2D(276.0, node_height), to_euler_node_name)
LogPython: Error: RuntimeError: RigVMController: /Game/DazToUnreal/Character_9/Character_9_JCM_CR : Cannot find struct for path '/Script/RigVM.RigVMFunction_MathQuaternionToEuler'.

I uncommented line 227 and commented line 228 and it finished without errors. Is it correct way to solve the issue or there will be some consequences?

https://github.com/daz3d/DazToUnreal/blob/2b9cfa7dccff60626514770748b2da0a5187560b/UnrealPlugin/DazToUnreal/Content/Python/CreateAutoJCMControlRig.py#L227-L228