Description

Control Rig parameters don't function after editor restarts. Also the default values don't function and you need to use an input instead of directly editing the values of the pins.

You can work around this by disconnecting any execution pins in the control rig, compiling and reconnecting the pin, but this would need to be done for each editor restart.

This was tested and reported in 4.25.1 (CL-13594126) and partially reproduced in Main 4.26 (CL-13653677). In Main this causes a crash upon restart.

Steps to Reproduce
  1. Open the UE4 Editor and create a Third Person project
  2. Enable the Control Rig plugin and restart the Editor
  3. Create a new control rig, import the SK_Mannequin as the Rig Hierarchy, and add a transform parameter to it
  4. Connect that parameter to a hierarchy node input: an offset transform for the head bone as a an example. (Note that changing the default value of the parameter has no effect here either, though it should)
  5. Open ThirdPerson_AnimBP and add the created control rig as a control rig node to its anim graph in a place it should affect the output.
  6. Expose the parameter as an input pin. (just changing the value here doesn't work either). Promote it to a variable so it will work.
  7. Save and restart the Editor

Results: The Anim blueprint won't compile as the input parameters for the control rig node are the type of none.

Expected: After restarting the editor. Changing the values of the control rig node in the anim blueprint would apply the control rig correctly and not interfere with the anim blueprint compiling.

Callstack

For 4.26:

[2020.06.14-18.31.28:784][300]LogWindows: Error: === Critical error: ===
[2020.06.14-18.31.28:785][300]LogWindows: Error: 
[2020.06.14-18.31.28:785][300]LogWindows: Error: Fatal error!
[2020.06.14-18.31.28:785][300]LogWindows: Error: 
[2020.06.14-18.31.28:785][300]LogWindows: Error: Unhandled Exception: EXCEPTION_ACCESS_VIOLATION reading address 0x00000000
[2020.06.14-18.31.28:785][300]LogWindows: Error: 
[2020.06.14-18.31.28:785][300]LogWindows: Error: [Callstack] 0x00007ff982d6ad44 UE4Editor-RigVM.dll!URigVM::CacheMemoryPointersIfRequired() [d:\builds-main\engine\source\runtime\rigvm\private\rigvmcore\rigvm.cpp:388]
[2020.06.14-18.31.28:785][300]LogWindows: Error: [Callstack] 0x00007ff982d6f849 UE4Editor-RigVM.dll!URigVM::Execute() [d:\builds-main\engine\source\runtime\rigvm\private\rigvmcore\rigvm.cpp:524]
[2020.06.14-18.31.28:785][300]LogWindows: Error: [Callstack] 0x00007ff982807413 UE4Editor-ControlRig.dll!UControlRig::ExecuteUnits() [d:\builds-main\engine\plugins\experimental\controlrig\source\controlrig\private\controlrig.cpp:461]
[2020.06.14-18.31.28:785][300]LogWindows: Error: [Callstack] 0x00007ff982804777 UE4Editor-ControlRig.dll!UControlRig::Execute() [d:\builds-main\engine\plugins\experimental\controlrig\source\controlrig\private\controlrig.cpp:243]
[2020.06.14-18.31.28:785][300]LogWindows: Error: [Callstack] 0x00007ff9827e851e UE4Editor-ControlRig.dll!FAnimNode_ControlRigBase::CacheBones_AnyThread() [d:\builds-main\engine\plugins\experimental\controlrig\source\controlrig\private\animnode_controlrigbase.cpp:304]
[2020.06.14-18.31.28:785][300]LogWindows: Error: [Callstack] 0x00007ff9827e7e4d UE4Editor-ControlRig.dll!FAnimNode_ControlRig::CacheBones_AnyThread() [d:\builds-main\engine\plugins\experimental\controlrig\source\controlrig\private\animnode_controlrig.cpp:119]
[2020.06.14-18.31.28:785][300]LogWindows: Error: [Callstack] 0x00007ff9a1a676f0 UE4Editor-Engine.dll!FPoseLinkBase::CacheBones() [d:\builds-main\engine\source\runtime\engine\private\animation\animnodebase.cpp:303]
[2020.06.14-18.31.28:785][300]LogWindows: Error: [Callstack] 0x00007ff9a1a0561f UE4Editor-Engine.dll!FAnimInstanceProxy::CacheBones() [d:\builds-main\engine\source\runtime\engine\private\animation\animinstanceproxy.cpp:1354]
[2020.06.14-18.31.28:785][300]LogWindows: Error: [Callstack] 0x00007ff9a1a47565 UE4Editor-Engine.dll!FAnimInstanceProxy::UpdateAnimation_WithRoot() [d:\builds-main\engine\source\runtime\engine\private\animation\animinstanceproxy.cpp:1260]
[2020.06.14-18.31.28:785][300]LogWindows: Error: [Callstack] 0x00007ff9a1a45c21 UE4Editor-Engine.dll!FAnimInstanceProxy::UpdateAnimation() [d:\builds-main\engine\source\runtime\engine\private\animation\animinstanceproxy.cpp:1220]
[2020.06.14-18.31.28:785][300]LogWindows: Error: [Callstack] 0x00007ff9a1a2ed7d UE4Editor-Engine.dll!UAnimInstance::ParallelUpdateAnimation() [d:\builds-main\engine\source\runtime\engine\private\animation\animinstance.cpp:622]
[2020.06.14-18.31.28:785][300]LogWindows: Error: [Callstack] 0x00007ff9a1a46963 UE4Editor-Engine.dll!UAnimInstance::UpdateAnimation() [d:\builds-main\engine\source\runtime\engine\private\animation\animinstance.cpp:506]
[2020.06.14-18.31.28:785][300]LogWindows: Error: [Callstack] 0x00007ff9a1dd5dbe UE4Editor-Engine.dll!USkeletalMeshComponent::TickAnimation() [d:\builds-main\engine\source\runtime\engine\private\components\skeletalmeshcomponent.cpp:1031]
[2020.06.14-18.31.28:785][300]LogWindows: Error: [Callstack] 0x00007ff9a1dbdd71 UE4Editor-Engine.dll!USkeletalMeshComponent::InitAnim() [d:\builds-main\engine\source\runtime\engine\private\components\skeletalmeshcomponent.cpp:658]
[2020.06.14-18.31.28:785][300]LogWindows: Error: [Callstack] 0x00007ff9a1dcf1ed UE4Editor-Engine.dll!USkeletalMeshComponent::SetAnimInstanceClass() [d:\builds-main\engine\source\runtime\engine\private\components\skeletalmeshcomponent.cpp:2733]
[2020.06.14-18.31.28:785][300]LogWindows: Error: [Callstack] 0x00007ff99fc3b5fc UE4Editor-UnrealEd.dll!FAnimBlueprintThumbnailScene::SetAnimBlueprint() [d:\builds-main\engine\source\editor\unrealed\private\thumbnailhelpers.cpp:873]
[2020.06.14-18.31.28:785][300]LogWindows: Error: [Callstack] 0x00007ff99fc034d1 UE4Editor-UnrealEd.dll!UAnimBlueprintThumbnailRenderer::Draw() [d:\builds-main\engine\source\editor\unrealed\private\thumbnailrendering\animblueprintthumbnailrenderer.cpp:27]
[2020.06.14-18.31.28:785][300]LogWindows: Error: [Callstack] 0x00007ff99f92fb09 UE4Editor-UnrealEd.dll!ThumbnailTools::RenderThumbnail() [d:\builds-main\engine\source\editor\unrealed\private\objecttools.cpp:4213]
[2020.06.14-18.31.28:786][300]LogWindows: Error: [Callstack] 0x00007ff99f0e3f6d UE4Editor-UnrealEd.dll!FAssetThumbnailPool::Tick() [d:\builds-main\engine\source\editor\unrealed\private\assetthumbnail.cpp:1037]
[2020.06.14-18.31.28:786][300]LogWindows: Error: [Callstack] 0x00007ff99f0318e9 UE4Editor-UnrealEd.dll!FTickableEditorObject::TickObjects() [d:\builds-main\engine\source\editor\unrealed\public\tickableeditorobject.h:45]
[2020.06.14-18.31.28:786][300]LogWindows: Error: [Callstack] 0x00007ff99f4379d5 UE4Editor-UnrealEd.dll!UEditorEngine::Tick() [d:\builds-main\engine\source\editor\unrealed\private\editorengine.cpp:1481]
[2020.06.14-18.31.28:786][300]LogWindows: Error: [Callstack] 0x00007ff99fcfa8b6 UE4Editor-UnrealEd.dll!UUnrealEdEngine::Tick() [d:\builds-main\engine\source\editor\unrealed\private\unrealedengine.cpp:411]
[2020.06.14-18.31.28:786][300]LogWindows: Error: [Callstack] 0x00007ff7c4c18ede UE4Editor.exe!FEngineLoop::Tick() [d:\builds-main\engine\source\runtime\launch\private\launchengineloop.cpp:4819]
[2020.06.14-18.31.28:786][300]LogWindows: Error: [Callstack] 0x00007ff7c4c2f60c UE4Editor.exe!GuardedMain() [d:\builds-main\engine\source\runtime\launch\private\launch.cpp:169]
[2020.06.14-18.31.28:786][300]LogWindows: Error: [Callstack] 0x00007ff7c4c2f6ea UE4Editor.exe!GuardedMainWrapper() [d:\builds-main\engine\source\runtime\launch\private\windows\launchwindows.cpp:137]
[2020.06.14-18.31.28:786][300]LogWindows: Error: [Callstack] 0x00007ff7c4c4218d UE4Editor.exe!WinMain() [d:\builds-main\engine\source\runtime\launch\private\windows\launchwindows.cpp:268]
[2020.06.14-18.31.28:786][300]LogWindows: Error: [Callstack] 0x00007ff7c4c4503e UE4Editor.exe!__scrt_common_main_seh() [d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288]
[2020.06.14-18.31.28:786][300]LogWindows: Error: [Callstack] 0x00007ff9fd377974 KERNEL32.DLL!UnknownFunction []
[2020.06.14-18.31.28:786][300]LogWindows: Error: [Callstack] 0x00007ff9fdb2a271 ntdll.dll!UnknownFunction []

Have Comments or More Details?

There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-94316 in the post.

17
Login to Vote

Cannot Reproduce
ComponentUE - Anim - Rigging - Control Rig
Affects Versions4.25.14.26
Target Fix4.26
Fix Commit14045910
CreatedJun 14, 2020
ResolvedAug 6, 2020
UpdatedApr 28, 2021
View Jira Issue