Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dungaya crashes when trying to open file #200

Open
scottdmilner opened this issue Oct 19, 2024 · 5 comments
Open

Dungaya crashes when trying to open file #200

scottdmilner opened this issue Oct 19, 2024 · 5 comments
Assignees
Labels
bug Something isn't working maya on hold Waiting on something else

Comments

@scottdmilner
Copy link
Owner

Issue submitted via PipeBot
Reporting user: Erik Bostrom


Trying to open previs scene file that was working yesterday and it just closes itself. Diego also had a crash when trying to build a new anim scene.

@scottdmilner
Copy link
Owner Author

Something about the instancers we're using for the coins is causing a division by zero error that's crashing Maya whenever we try to open that layout file. Blocking loading on those instancers is a temporary fix

@BigRoy
Copy link

BigRoy commented Oct 21, 2024

If you have a reproducable crash case - this would be great to share with Autodesk support team for them to investigate.

Also, I'd like to mention that 'crashing' on scene open usually goes with debugging steps like:

  • Does it crash on scene open from within maya or on launching maya with the filename as argument (e.g. opening scene on my launch?) If the latter, this may have to do with a plug-in dependency loading too late. I've seen that sometimes.
  • Open scene with "execute script nodes" disabled -> does it crash? no? then this may point to something the script nodes are doing on scene open (which is things like setting the time range of the scene and some other things)
  • Open scene with loaded reference state set to "load no references"
  • Open scene with viewport paused

Also - with crashes like these it'd be best to share the crash .log and .dmp files that often get generated in the %TEMP% with Autodesk too.

@scottdmilner
Copy link
Owner Author

Thanks for the tips @BigRoy!

I've narrowed the crash down to a specific asset that is being brought in as part of a set via a USD Stage. This particular asset has a point instancer in it and something in there is causing the crash. I've determined that the assets being instanced by the instancer aren't the issue, so Maya really doesn't like something about the instancer itself. The instancer works fine in Solaris (where it originated).

Currently trying to strip down the asset with the instancer to get an MWE that will trigger the crash

@scottdmilner
Copy link
Owner Author

Hmmm this may be an instance of this issue: PixarAnimationStudios/OpenUSD#2149

@scottdmilner
Copy link
Owner Author

That is indeed the issue. Ensuring that each variant of the asset uses all of the instancer's prototypes fixes the problem. Will test in Maya 2025 as the issue should be fixed there.

@scottdmilner scottdmilner added bug Something isn't working and removed critical labels Oct 22, 2024
@scottdmilner scottdmilner self-assigned this Oct 22, 2024
@scottdmilner scottdmilner added the on hold Waiting on something else label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working maya on hold Waiting on something else
Projects
None yet
Development

No branches or pull requests

2 participants