Skip to content
This repository has been archived by the owner on Oct 7, 2021. It is now read-only.

2019 OSX builds - crash during build from selection #29

Open
liorbenhorin opened this issue Apr 5, 2019 · 15 comments
Open

2019 OSX builds - crash during build from selection #29

liorbenhorin opened this issue Apr 5, 2019 · 15 comments
Labels
bug Something isn't working

Comments

@liorbenhorin
Copy link
Contributor

liorbenhorin commented Apr 5, 2019

Hello! - hope this is the correct place for this :)
I just finished building the plug-ins for Maya 2019 on OSX.

Description
When I import the template biped guide, and 'build from selection' - Maya crashes mid-way into the build.

What is working:

  • The plugins load fine.
  • I am able to build random modules just fine.
  • A template biped rig that was generated on mgear 3.1.1 on windows/OSX Maya 2018 is working fine.

p.s
Build of the plug-ins seem to work perfect on 2018 OSX

To Reproduce

  • On Maya 2019 (OSX), use the plug-ins from below, import biped guide and build rig.

image

The error does not say much, not the standard Maya fatal error:
image

Additional information
built plugins: https://www.dropbox.com/s/imdxbs1s22u1ior/2019-osx-plug-ins.zip?dl=0
scons build log: https://www.dropbox.com/s/glonggxthhfuw3y/scons-build-log.txt?dl=0

Osx 10.14
Maya 2019
SCons 3.0.1 installed with brew

EDIT:

Further testing shows that the crash is related to the arm_2_jnt01 and leg_2_jnt01.
When these modules are deleted from the template, the build completes successfully.

  • parenting them under the root control - still crashing
  • unlinking them from the host and references IK etc - still crashing
  • update guides - still crashing
  • replacing them with any arm/leg module that i am creating - still crashing
  • replacing them with other module, like a chain that i am creating - all good.

Investigation continues...

EDIT 2:

Building with 'objects' mode works, any mode above will crash.
image
So far this actually looks like a 2019 OSX issue, and not related to the plug-ins themselves, but this is just a gut feeling.

@miquelcampos
Copy link
Member

miquelcampos commented Apr 5, 2019

@liorbenhorin Thanks for sharing this info.
To be honest, I didn't test it in OSX with Maya 2019
I will try to ask some colleagues to see if someone can help with this
Thanks,
Miquel

EDIT:

Oh I see this in the log: OPENMAYA_DEPRECATED(2019, "Use the other constructor instead.")
Maybe this is the root of the issue

@miquelcampos miquelcampos added the bug Something isn't working label Apr 5, 2019
@dmtbkv
Copy link

dmtbkv commented Apr 7, 2019

I had the same experience on macOS 10.13.6 Maya 2019
It seems to work when Guide Settings > Add Internal Proxy Channels is off, it crushes when is on.
On linux Maya 2019 works fine with Add Internal Proxy Channels on

@miquelcampos
Copy link
Member

Ops! I completely misunderstood the issue :( (I should not read this things in a rush, sorry)

The problem is not at plugins compile time. but later at guide build time. correct?

@liorbenhorin
Copy link
Contributor Author

@miquelcampos correct.

Same happens for me:

It seems to work when Guide Settings > Add Internal Proxy Channels is off, it crushes when is on.

@miquelcampos
Copy link
Member

@liorbenhorin thanks for the confirmation
Do you know if Maya 2019 OSX has any issue with proxy channels?

@dmtbkv
Copy link

dmtbkv commented Apr 8, 2019

I haven't had any issues with Maya 2019 proxy channels on macOS.

@miquelcampos
Copy link
Member

This is going to be hard to debug for me since I don't have Maya 2019 in OSX env :(

@liorbenhorin @jollypixel can you help with this?

Thanks
Miquel

@liorbenhorin
Copy link
Contributor Author

I will definitely take a look as soon as I have a couple of hours

@miquelcampos
Copy link
Member

Thanks!

@dmtbkv
Copy link

dmtbkv commented Apr 9, 2019

@miquelcampos Yes, of course :)

@miquelcampos
Copy link
Member

thanks!

@dmtbkv
Copy link

dmtbkv commented Apr 10, 2019

It doesn't crush when this is commented out in arm_2jnt_01/init.py
'''
attribute.addProxyAttribute(
attrs_list,
[self.fk0_ctl,
self.fk1_ctl,
self.fk2_ctl,
self.ik_ctl,
self.upv_ctl,
self.mid_ctl])
attribute.addProxyAttribute(self.roll_att,
[self.ik_ctl, self.upv_ctl])
'''
If I uncomment this Maya crushes whitout even trying to save a temp file
'''
attribute.addProxyAttribute(self.roll_att,
[self.ik_ctl, self.upv_ctl])
'''
I tryied leaving only one object (instead of a list) and it doesn't crush, but the proxy attribute doesn't have a name?!
'''
attribute.addProxyAttribute(self.roll_att, self.ik_ctl)
'''
Yet attribute.addProxyAttribute() works fine when I run it in the script editor.
I'll keep looking

@dmtbkv
Copy link

dmtbkv commented Apr 10, 2019

On closer inspection...
// Error: file: /Applications/Autodesk/maya2019/Maya.app/Contents/scripts/others/dynRenameAttrWin.mel line 277: Target objects must be specified in "node.attribute" format //

Screen Shot 2019-04-10 at 20 46 47

@dmtbkv
Copy link

dmtbkv commented Apr 10, 2019

It works with "Use Classic Channel Names" off and one object instead of a list

@dmtbkv
Copy link

dmtbkv commented Apr 10, 2019

Just run this on five objects (the last one had an attribute "test" and works fine.

import pymel.core as pm
from mgear.core import attribute
attribute.addProxyAttribute(pm.selected()[-1].test, pm.selected()[:-1])

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

No branches or pull requests

3 participants