We’ve updated from Unity 2020.2.1f1 to the 2020.2.6f1 and our build now fails because of this error:
“fatal error C1071: unexpected end of file found in comment”
I tried removing the il2cpp cache in the Library folder but it still fail.
Mono builds work just fine.
Does the error give you a file/line reference? Can you post the offending code from the IL2CPP output?
Also, did you build to a new “clean” output folder?
Yes it gave us a file but no line. It seemed to be related to i2 localization (an asset store package).
I went to check the cpp file and i didn’t see any strange stuff. I updated the package version and it seem to be working now. From our VCS I guess the issue was linked to a c# line containing a hardcoded password with some weird characters.
I may have encountered the exact same problem, the issue is with the StringObfuscatorPassword variable, in the StringObfucator.cs file of the I2 localization asset package.