When I run my scene in the Unity Editor, everything works fine. However, when I build the exact same scene, no matter for which platform, I get loads of NullReferenceExceptions
that didn't show up before. I checked the Unity Player logs after clearing them and only running in the Editor and saw that NullReferenceExceptions
were thrown even though the editor console didn't show anything.
Why are these errors not shown while running in the Editor?
I never really liked how Unity likes to "ignore" errors and just keeps running, kinda like javascript.
Edit:
My question is not specifically about the error itself, but about why Unity conceals it in the Editor and not in the build.