Home Website Youtube GitHub

Crash after ghost controls generated

Hello,
I’m facing a bit weird issue - rig is crashing when there are ghost controls in the scene.
While manipulating the rig without any keys it’s working fine, but as soon as I add any key and move the timeline it’s an instant crash.
First I thought it’s cause rivets or to heavy geo or combination of both - but was deleting parts and as long as ghost controls are in the scene it’s crashing. (There is around 100~ ghost controls).

I think, I’m not doing anything wrong, did that setup multiple times and it was working just great - but maybe I’m missing something. Maya 2018 SP6

Steps are like these:

  1. Create ghost ctl from local rig: ghost_ctl = ghost.createGhostCtl(ctl, ghosts_grp)
  2. Create rivet: rivet_node = oRivet.create(head_geo, edgesA, edgesB, rivet_grp, rivetName)
  3. Connect position of ghost to rivet, orientation/scale to closest main control.
  4. Add npo to ghost and eliminate double transform with multdiv node.

Cheers,
K

I really don’t know. TIL ghost controls exist in mGear. (I knew the technique.)

But I’m just curious, do you also use Proxy Attrs?

(btw, 2018.7 is released. Not claiming it might solve the problem, but they have been solving a lot of bugs lately.)

never crashed for me. But I don’t use the proxy controls. it is a good idea to discard that first :slight_smile:

I do not use proxy controls either. Wonder what was that, but today I rebuilt everything on a fresh scene and it’s working … That’s a bit funny as I did the same yesterday, but I today I had issues with skinning, so probably that was it.

Any way thanks for help!
@chrislesage Thanks, will upgrade after the current project then, thanks!

Hi there!
Just wanted to share what I found out - after rebuilding the rig multiple times I found out that the rig is crashing as soon as there is at least one local rig with ghost controls. Tested the scene on multiple PCs and found that 2/8 is working just fine… Turned out that the only difference between those PCs were evaluation settings.
As soon as I turned off “include controllers…” it’s working well on all pcs.
obraz

Do anyone knows if thats a bug or I’m doing something wrong? Let me know if you need testing scene

@chrislesage Updated Maya to 2018.7 but that did not solve the issue - but that’s definitely better and not freezing as much! Thanks

1 Like

@Krzym I will need to research this , because we didn’t find any issue and we are using the same Maya version :stuck_out_tongue: