Closed cinerius closed 1 year ago
Admittedly the code is bad since there isn't any checks for it, but line 138 in the repo seems to be:
ArmIKValues.LeftTargetTransform = this->BodyComponent->LeftController->GetComponentTransform() * LeftOffset;
In this case, it seems most likely that either the BodyComponent is invalid, or the LeftController component is. Can you confirm the setup for both are correct?
Clicked the wrong thing, didn't mean to close it.
Just added some checks and fixed a strange compile error I had on UE5.1, hopefully it will be resolved with that commit: https://github.com/kvoeten/UnrealBodyPlugin/commit/44ebf089c8160f2570849469cd02acb3c366c9cf
I tested the fix on a different pc and it doesn't crash anymore. I'll try again with the original project on Monday, but I think it's good, thanks!
I crash when I try to add the IKbody component to the VR pawn
Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000000002d0
UnrealEditor_UnrealBody!UIKCharacterAnimInstance::UpdateHandValues() [D:\Umberto\UE5_1_VR_Tests - Body\Plugins\UnrealBodyPlugin\Source\UnrealBody\Private\Animation\IKCharacterAnimInstance.cpp:138] UnrealEditor_UnrealBody!UIKCharacterAnimInstance::NativeUpdateAnimation() [D:\Umberto\UE5_1_VR_Tests - Body\Plugins\UnrealBodyPlugin\Source\UnrealBody\Private\Animation\IKCharacterAnimInstance.cpp:43]