(urgent help needed) failed to build mask for shadow culler errocode 3
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.
Answer by MilkIsTheBest · Dec 09, 2020 at 03:02 AM
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.
Answer by naiemali1171987 · Nov 15, 2020 at 02:24 PM
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.
Answer by akumakira164 · Oct 06, 2020 at 07:28 PM
I am also having this error. Only when using the Shader Forge editor. Any Luck?
Answer by FlorianBernard · Nov 13, 2020 at 11:21 PM
Same error here. What the heck is that?
I could fix it by changing some parameter on the $$anonymous$$ain Camera. Not sure exactly which ones (I copy/pasted from a previous camera setup I was using), but it's most likely increasing the clipping plane $$anonymous$$imum.
It's gonna be the near clip plane on the main camera I guess? Can you tell me if you got to know what it is?
Answer by georgetowersassets · Dec 13, 2020 at 03:24 AM
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.
Your answer
Follow this Question
Related Questions
Unity Crashing on opening gameplay scene 0 Answers
Unity UI Problems,Elements Ui have some problems 0 Answers
Why does my Android game crash? 3 Answers
Help! My game keeps crashing on startup! 0 Answers
Crash on startup 0 Answers