I get this error when trying to Build a project.
When building my project without the scene where it crashes, it works. When building it with only the scene where it crashes it works too. But not when building with all scenes.
Sometimes it works though (once after a complete reimport of assets). I tried changing the RenderSettings of the scenes but to no avail.
How can I fix this error?