What the hell is this?! (Bizarre Error borks entire Editor)

Suddenly, out of no-where, whilst iterating on code…

“AndroidErrorReport.h(8): [C1083] Cannot open include file: ‘GenericErrorReport.h’: No such file or directory”

You what now? This is not and will never be an Android project.

Now everything is borked. Editor won’t open… wants a rebuild from source… which I can’t do due to above error!

Backtracking any code changes makes no difference.

I have no idea what to do. Does anyone know?

Are you using Rider?
This is kinda fun to read because I’ve just read the answer of a JetBrains mod on a bug report I opened with a similar error.

Your ide probably added an undesired #include in the header of one of your .cpp or .h file and the compiler is throwing an error.

Try to delete the “#include” row and it should compile, you should be able to find it looking for “AndroidError”

1 Like

For anyone else running into this, it seems that including CrashReportCore in your Build.cs file resolves the issue as well.

1 Like