Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when adding virtual bones #40

Closed
woodencase01 opened this issue Mar 25, 2023 · 2 comments
Closed

Crash when adding virtual bones #40

woodencase01 opened this issue Mar 25, 2023 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@woodencase01
Copy link

Describe the bug
I'm following the video tutorials and using TTToolbox 0.5 with the IKRig V1.1 fix for Unreal 5.1.
At the step of using the script to add the virtual bones, the engine crash.
I also tried to manually add the virtual bones, and it also crash.
I'm using the Synty skeleton here. It has a few missing finger bones due to the simplified look.
image

To Reproduce
Steps to reproduce the behavior:
image

or

image

Expected behavior
Should add the bone.

Screenshots

Assertion failed: (Index >= 0) & (Index < ArrayNum) [File:C:\Program Files\Epic Games\UE_5.1\Engine\Source\Runtime\Core\Public\Containers\Array.h] [Line: 763] Array index out of bounds: 56 from an array of size 56

UnrealEditor_IKRig!FAnimNode_RetargetPoseFromMesh::Evaluate_AnyThread() [C:\workspace\zz_tutorials\Fixing_IKRig\zz_packaging\IKRig_v1.1_UE5.1_win64_release\HostProject\Plugins\IKRig\Source\IKRig\Private\AnimNodes\AnimNode_RetargetPoseFromMesh.cpp:129]
UnrealEditor_Engine
@woodencase01 woodencase01 added the bug Something isn't working label Mar 25, 2023
@AchimTuran
Copy link
Member

AchimTuran commented Mar 29, 2023

I would need the mesh to reproduce the issue. Sadly this did not yet ever happen to me.

An by the way, it's not a crash it's an assertion we see here. It's a common approach to make some checks and close the tool if the condition is not met. Sadly Unreal Engine error handling shuts down the editor without any chance to save the work. Not very user friendly...

@woodencase01
Copy link
Author

Thanks for your feedback and support!

I forgot to get back to this thread, but I found a solution.
Neither the TTToolbox or the IKRig fix are the cause here, as I could do it on other skeleton.

The solution was:
Duplicate the skeleton, make sure no animations are attached.
Create the virtual bones.
Retarget animation from ALS to the new skeleton.
Profit.

Thanks for your videos, I'm following them one by one and it's great to understand and slowly progress! I'm not a big fan of the copy pose from mesh result, thus retargeting ALS is much appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants