Build Bug

I get this error when trying to Build a project.

1767165--112022--unity_bug.png

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?

Bump. Anybody knows something about this?

Not something I can work out… Maybe send in the project with a bug report. That message usually comes from a debug build of the editor, so it’s odd you’re getting it in a release version.