- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
* I also sent this as the bug report info when bug reports are sent after Maya crashes.
I compiled and loaded the sample plugin "phongShader" provided in the C++ SDK samples for Maya 2023. When I assign this phongShader material to an object and render, Maya crashes. I was able to trace the crash to the call
MDataHandle currentLight = lightData.inputValue();
at line 332 of phongShader.cpp.
I am experiencing the same problem with my own plugin when calling that same function in the same circumstances. The plugin works fine with previous versions of Maya. This problem appears to have been introduced with Maya 2023. I am also pretty sure (but not 100% sure) that the plugin worked correctly with the Beta version of Maya 2023, so it looks like the problem was introduced between the Beta and Release versions of Maya 2023.
Maybe there was a change in the API that I am not aware of?
The sample can be found here:
Solved! Go to Solution.