Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk® Maya® / Dynamics / Maya 2011 nParticles crashes with outliner attached to main window
  RSS 2.0 ATOM  

Maya 2011 nParticles crashes with outliner attached to main window
Rate this thread
 
49862
 
Permlink of this thread  
avatar
  • Ciclopez
  • Posted: 25 November 2010 09:24 PM
  • Total Posts: 7
  • Joined: 31 August 2010 07:29 AM

for the moment I’m only able to reproduce one situation step by step, other situations are a bit random but I’ll try to describe.
I’m using Maya 2011 x64 on WindowsXP x64.
I have 4Gb of RAM and I never used more than 3Gb during this test.

Steps:
- Create an nparticle emitter
- Create an instancer with more than one object instanced (I used 6 objects)
- Add a custom per particle float attribute to nParticleShape1 (I named it “index")
- Create the expression “nParticleShape1.index = id%6”
- Under “nParticleShape1>Instancer>General Options” assign the attr “index” to “Object Index”
(Now I’m emitting multiple objects. I don’t know any other way to do this except using a rand instead of %)
- Make an ncache of the particles with the default settings (one file per frame, eval every 1 frame and save every 1 eval. I’m caching from frame 1 to 24 and the start frame of nucleus is 1 by default)
- Attach the outliner to the main window.
- Save the scene, restart maya and load again.
- If you saved the scene with the time slider on the start frame of nucleus, it will crash with a fatal error. If not, it will crash when you put the time slider on the start frame of nucleus.

If I don’t ncache the start frame of nucleus it won’t crash BUT, another way to make it crash is to render this with mental ray and high values of motion blur, even if you don’t ncache the start frame of nucleus.

Another problem is that when I reopen the scene, I won`t see the instanced geometry on the particles until I place the time slider on the start frame of nucleus.

I hope that someone from Autodesk can answer these questions or give a workaround solution.
Thanks in advance.

thnkr.com bug ID: 0000380



Replies: 0
avatar
  • Ciclopez
  • Posted: 25 November 2010 11:44 PM

I’ve been making a lot of tests and finally I’ve discovered that all this is only reproducible if I save the scene with the outliner window attached to the left side of the viewport :S



Attachment Attachment
Replies: 0
avatar
  • THNKR
  • Posted: 26 November 2010 03:56 AM

I’ve attached a sample file. Can you confirm that that crashes your copy of Maya. It doesn’t for me.



Replies: 3
/userdata/avatar/5e2c402t2.jpg

Attachment is missing Michiel
=)

Author: n8skow

Replied: 26 November 2010 08:55 AM  
/img/forum/dark/default_avatar.png

when I ncache the nparticles of your attachment, save and reload the scene, it crashes. Maybe it’s solved with service pack 1, I’m using hotfix 3, but I’ll try with SP1 as soon as possible.

Author: Ciclopez

Replied: 29 November 2010 08:52 PM  
/img/forum/dark/default_avatar.png

I forgot to say that this problem: “I won`t see the instanced geometry on the particles until I place the time slider on the start frame of nucleus.” only happens to me when my index expression is on creation time.

Author: Ciclopez

Replied: 29 November 2010 08:57 PM  
avatar
  • Ciclopez
  • Posted: 01 December 2010 09:13 PM

I tried with a clean install of SP1 and still crashes :(
As I can see in the attached bug_0000380.ma file, you tested it on Mac OS, but the crash is on windows xp, so maybe that is the difference.



Replies: 1
/userdata/avatar/5e2c402t2.jpg

...there is no attached file… (.ma and .mb files need to be zipped/rar’ed before they can be attached)

Author: n8skow

Replied: 07 December 2010 03:05 AM  
avatar
  • alain.x
  • Posted: 14 April 2011 03:11 AM

Same problem here, with Maya2011 SP1, on Windows Seven 64 bit.

All you need to make maya crash, is to instance some geometry on particles, save the scene, then load that scene.

My timeline begins at frame 0, I have no nParticle cache.
There is an expression that sets the object index.

There are 2 workarounds :
-Before saving the scene, hide the Outliner (as explained in previous messages).
-Before saving the scene, hide the instancer node.

EDIT : It seems this bug has been logged, I hope it will be fixed soon :
http://bugs.thnkr.com/view.php?id=380

Anybody tried it on Maya2012 ?



Replies: 0
avatar
  • alain.x
  • Posted: 24 May 2011 03:26 AM

Any news on this bug ?
I would like to know if it’s fixed on Maya2012.

Thanks.



Replies: 0
avatar
  • alain.x
  • Posted: 26 October 2011 09:40 PM

I tested it today, this bug is still active in Maya2012 SAP (released on september 27th 2011).
Any comment from Autodesk, please ?



Replies: 0