Closed jmdejong closed 1 year ago
I think the node selection is the issue, not the toon material part. I've had numerous crashes when clicking meshes in the 3D editor viewport in 4.0.beta f692b4768 (a good dozen or so at this point).
I just checked and the crash happens indeed when no shader is selected.
It just crashes when going to the tab of a scene where the (standard) material editor is opened.
I'm also getting reproducable crashes every time I'm clicking meshes (simple plane meshinstance3d with a shader material) to select them in the viewport on 4.0.beta8 on macOS 13. However, clicking the same meshes in the node tree to select them works fine, so at least in my case it's something to do with viewport click selection rather than node selection in general.
Can you reproduce this in any of the earlier 4.0 betas to determine when the regression started?
Just tried it now on 4.0.beta7 and it didn't crash there selecting a mesh that crashes the editor if I click it in beta8
Tried it now in beta 9 and it doesn't crash clicking the mesh in the viewport. So maybe it was just in beta 8?
Confirmed, the MRP crashes in beta 8 but doesn't crash in beta 9, so it seems this was fixed.
Godot version
v4.0.beta.custom_build (1ac7e5a3343ef9f4ecc7c494f7212b7c718520c8)
System information
archlinux; nvidia RTX 3060 video card (proprietary drivers);
Issue description
When switching tabs to a tab that has the material editor open and is showing a material that has 'toon' specular shading, the editor crashes.
Steps to reproduce
After crashing once it might crash immediately when starting the editor. Removing the .godot folder seems to prevent that
Minimal reproduction project
tooncrash.zip