VRM4U icon indicating copy to clipboard operation
VRM4U copied to clipboard

Crash when importing to unreal engine 5.1.1

Open Smilele233 opened this issue 2 years ago • 4 comments

Describe the bug The vrm model cannot be imported into ue5.1.1 through the "VRM4U_5_1_20230121" package, and the import will crash immediately

Screenshots, log LoginId:d45bc1e945b4b29b592e868c22451ad8 EpicAccountId:6e663a8a47eb4fd4b7b95ba9f6226017

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000010

UnrealEditor_Core UnrealEditor_VRM4ULoader UnrealEditor_VRM4ULoader UnrealEditor_VRM4ULoader UnrealEditor_VRM4UImporter UnrealEditor_UnrealEd UnrealEditor_UnrealEd UnrealEditor_AssetTools UnrealEditor_AssetTools UnrealEditor_UnrealEd UnrealEditor_UnrealEd UnrealEditor_UnrealEd UnrealEditor_Engine UnrealEditor_Engine UnrealEditor_UnrealEd UnrealEditor_UnrealEd UnrealEditor UnrealEditor UnrealEditor UnrealEditor UnrealEditor UnrealEditor kernel32 ntdll

UnrealEngine Version: UE5.1.1

Smilele233 avatar Feb 07 '23 19:02 Smilele233

Describe the bug The vrm model cannot be imported into ue5.1.1 through the "VRM4U_5_1_20230121" package, and the import will crash immediately

Screenshots, log LoginId:d45bc1e945b4b29b592e868c22451ad8 EpicAccountId:6e663a8a47eb4fd4b7b95ba9f6226017

Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x0000000000000010

UnrealEditor_Core UnrealEditor_VRM4ULoader UnrealEditor_VRM4ULoader UnrealEditor_VRM4ULoader UnrealEditor_VRM4UImporter UnrealEditor_UnrealEd UnrealEditor_UnrealEd UnrealEditor_AssetTools UnrealEditor_AssetTools UnrealEditor_UnrealEd UnrealEditor_UnrealEd UnrealEditor_UnrealEd UnrealEditor_Engine UnrealEditor_Engine UnrealEditor_UnrealEd UnrealEditor_UnrealEd UnrealEditor UnrealEditor UnrealEditor UnrealEditor UnrealEditor UnrealEditor kernel32 ntdll

UnrealEngine Version: UE5.1.1

I’m having an issue also, it crashes when I try to add a metaHuman from Quixel Bridge for some reason

DJ-LeeEss avatar Feb 08 '23 07:02 DJ-LeeEss

Hi. Thanks for the report. Please use the latest version of the plugin. No special action has been taken, but regenerating the binary with 5.1.1 seems to fix it.

ruyo avatar Feb 11 '23 14:02 ruyo

Hey,

I recently encounter the same issue with 5.1.1, MaterialHasMToon array is empty here and cause an exception : https://github.com/ruyo/UnrealEngine_VRM4UPlugin/blob/vrm4u_master/Plugins/VRM4U/Source/VRM4ULoader/Private/VrmConvertTexture.cpp#L1122

For now I just check if the index is valid as a quick fix to avoid exception.

SirJackblue avatar Feb 17 '23 23:02 SirJackblue

Hi. Thanks for the report. Sorry for the late reply. It has been fixed in the latest version.

ruyo avatar Mar 03 '23 23:03 ruyo