Crash when assigning control in CR editor

Hi

We experience 2 issues when assigning rig items to their fields on nodes when using the “Use Selected Item” arrow button. We can repro the issues in 5.7 and 5.8.2.

Thanks

Luke

[Attachment Removed]

Steps to Reproduce
There are 2 related issues:

Crash when assigning control to slot:

  1. Open CR_Mannequin_Body
  2. Create a “GetAnimationChannel” node
  3. Select “global_ctl” in outliner
  4. Press “Use item selected” arrow button on Control field
  5. *crash* (crash report attached)

Selected bone not being assigned to slot:

  1. Open CR_Mannequin_Body
  2. Select “head” bone in outliner
  3. Add a “Get Transform” node
  4. Press “Use item selected” arrow button on Name field
  5. Observe the field is not populated with “head” bone
  6. Reselect head bone in outliner
  7. Observe the button will now correctly populate the field

[Attachment Removed]

Hi, thanks for reporting this. It looks like this functionality, and the browse button, have been broken for quite a while. I have a small fix for this shelved at 57772880 in the 5.8 branch if you’re able to make code changes. I’ve also attached it as a patch. I’m also going to try to get this into the 5.8.4 hotfix.

[Attachment Removed]

Hi Euan

Thanks - the crash issue is resolved by this patch :slight_smile:

However the “Selected bone not being assigned to slot” issue remains. I have to reselect the bone after adding the node to the graph in order for that “Use item selected” button to work. It’s certainly not high priorty issue though. Another very minor thing is the tooltip should maybe be changed from “Use item selected” to “Use selected item”

thanks

Luke

[Attachment Removed]

Hi Luke, thanks for confirming the change fixed the crash at least. I’m not sure why you still wouldn’t be seeing the bone selection working though, as it should go via the same codepath. I tested it again locally, and it seemed to work for me. I’ve attached a recording to make sure the steps I’m going through match the ones you’re performing (I had to upload it as a zip file due to file type limitations).

Thanks,

Euan

[Attachment Removed]

No problem, good to hear that everything looks to be resolved. I’ll close out this thread, but you’ll have a couple of weeks during which you can reopen it if you need to for any reason.

Thanks,

Euan

[Attachment Removed]

Hi Euan

In your recording you made the bone selection *after* creating the node, so it works. However if you select the bone first, then create the Get Transform node the use selected item button doesn’t work (until you reselect the bone).

[Attachment Removed]

Hi Luke, sorry for the delay getting back to you on this, I got pulled onto other tasks. I’ve took another look at this but I still wasn’t able to repro with the steps that you mentioned. I’ve attached another gif to show the steps that I went through.

Also just as an FYI, I’ve submitted the changes I mentioned into the UE5-Main branch so you won’t need to maintain the customizations if/when you upgrade to 5.9.

Thanks,

Euan

[Attachment Removed]

Hi Euan thanks, that remaining bug seems to have somehow been resolved on my end too after retesting on recent build of VP-Partner58. I’m applying your provided patches on top. Super.

Thanks

Luke

[Attachment Removed]