Open csyshing opened 2 months ago
Thanks for reporting. The team will investigate.
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.
Also, if I change the line in proxyRenderDelegate.cpp#L1143 from:
ComputeCombinedDisplayStyles(frameContext.getDisplayStyle());
to be like this:
ComputeCombinedDisplayStyles(frameContext.getDisplayStyleOfAllViewports());
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
https://github.com/user-attachments/assets/8aecee4b-7472-43fe-bcb9-74963988eb00
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.