Open WithBlueHorns opened 6 months ago
So I took a bit of time to look into this issue and the problem seems to come from misuse of multithreading than the shader being not found.
Its a bit hard to recreate in source but I think it would explain why it only seems to happen after changing the shader and hitting enter multiple times. This could also bhe related to the save error that people have run into https://github.com/stride3d/stride/issues/1917.
Release Type: Official Release
Version: 4.2.0.2122
Describe the bug In a material, if you try to set shader that doesn't exist, wait for it to build the effect, then do try to do it again with another shader that doesn't exist Game Studio crashes, not always crash windows pops up. I'm not sure what and why it happens, sometimes you could use the same bad name, sometimes you just do 2 then it works To Reproduce Steps to reproduce the behavior:
Expected behavior To just give that red blinking effect or really anything other than crashing
Screenshots
https://github.com/stride3d/stride/assets/95977080/c6c300c2-294d-4da9-bc27-8a72c1400f7e
Video instead
Log and callstacks log2.txt log1.txt
Additional context Why do I always find such obscure bugs