You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our artists reported they turned on texture mode on perspective view and when toggling single view and four view would cause Maya to crash.
This one is hard to reproduce, we have tried our best to simplify the repro steps with the Alab scene.
Steps to reproduce
Steps to reproduce the behavior:
Launch Maya and load the Alab USD scene
On the perspective view, turn on 'Textured'
Repeatedly pressing the space bar quickly to toggle single view and four view, hover the mouse cursor at the meantime (claim: this is not the usual workflow in production but we found that it's a sufficient way to reproduce the problem)
Expected behavior
Expect no crash when toggling views.
Attachments
crash_toggling_viewports.mp4
Specs (if applicable):
OS & version : CentOS 7.8
Compiler & version GCC 6.3
Maya version : 2023.3
Maya USD commit SHA: Official v0.28.0
Pixar USD commit SHA: Official 23.02/22.5
Additional context
I noticed that when turning on texture mode on perspective view, the top/front/side views have texture mode off, I suspectframeContext.getDisplayStyle() inside ProxyRenderDelegate::_Execute() returns different values for perspective view and other views, which is causing the material dirtiness being on and off too frequently, that triggering material resync more often than needed and Maya crashes at some point.
The text was updated successfully, but these errors were encountered:
Hello @csyshing , I gave this a try on my end and spent a while testing it but I did not hit the crash. I tested in 2024.2 using 0.28.0 and our Pre Release Maya using a pre release version of Maya USD and I was not able to reproduce the crash. I will see if others can test and attempt to reproduce. I spent a long time in each version, I did notice that memory usage went up, but no crash on my end. @csyshing did you log a CER after the crash? If you get a CER window after the crash, please submit it and I can look it up on my end and see if I can find out more information.
Hi @santosd , no, I don't have the CER, due to the company security policy I don't think I can submit the log, but let me check what I can do.
In the meantime, if you can think of any other info besides CER that might be useful, do let me know, I will try my best.
Our users no longer encounter such crash, but I am not sure if this is the right fix (and the API getDisplayStyleOfAllViewports() is only available for Maya-2023+).
Describe the bug
Hi,
Our artists reported they turned on texture mode on perspective view and when toggling single view and four view would cause Maya to crash.
This one is hard to reproduce, we have tried our best to simplify the repro steps with the Alab scene.
Steps to reproduce
Steps to reproduce the behavior:
Stack trace:
Expected behavior
Expect no crash when toggling views.
Attachments
crash_toggling_viewports.mp4
Specs (if applicable):
Additional context
I noticed that when turning on texture mode on perspective view, the top/front/side views have texture mode off, I suspect
frameContext.getDisplayStyle()
insideProxyRenderDelegate::_Execute()
returns different values for perspective view and other views, which is causing the material dirtiness being on and off too frequently, that triggering material resync more often than needed and Maya crashes at some point.The text was updated successfully, but these errors were encountered: