Unity is constantly crashing and I urgently need help because I just can’t do anything at all. It just keeps happening at random but in the console it keeps spamming “failed to build mask for shadow culler. ErroCode 3”. I don’t know why and I don’t know what’s causing it but please help as soon as you can because just one click can cause it to crash, yesterday I lost over an hours worth of work. It happens at random, pressing “save project” or when I’m doing things in the animator it’ll just crash.
For me, It was because the near clip plane on my camera was too low. It was set to 0.01 when it was showing the error. After changing the value to about 0.05, It was working for me and there was not any errors. I have no idea why changing the near clip plane fixed the error. Hope this helped.
I am also having this error. Only when using the Shader Forge editor. Any Luck?
Same error here. What the heck is that?
The only way around I have, is to toggle off the lighting button in the scene view. It’ll be different to what the game camera sees of course, but it worked for me.
For me, It was because the near clip plane on my camera was too low. It was set to 0.01 when it was showing the error. After changing the value to about 0.05, It was working for me and there was not any errors. I have no idea why changing the near clip plane fixed the error. Hope this helped.
In my case it was the opposite to what unity_… experienced, I accidentaly set my far clip plane to 100k units instead of 10k units (to have some atmospheric effects being rendered by the camera), setting it to 10k solved this problem, which was causing a hard crash on the target platform.