IL2CPP Error while trying to building in Android

Hello guys,
I’m working on Unity 2021.3.9f1
I’ve encountered these errors while trying to build the .apk for a team project, and I provide you some screenshots for some more details:

The details of the error:

Building Library\Bee\artifacts\Android\87lik\dq41_onary_hash.o failed with output:
In file included from C:/Program Files/Unity/Hub/Editor/2021.3.9f1/Editor/Data/il2cpp/libil2cpp/os/ClassLibraryPAL/brotli/enc/dictionary_hash.c:10:
In file included from C:/Program Files/Unity/Hub/Editor/2021.3.9f1/Editor/Data/il2cpp/libil2cpp/os/ClassLibraryPAL/brotli/enc/./dictionary_hash.h:12:
C:\Program Files\Unity\Hub\Editor\2021.3.9f1\Editor\Data\il2cpp\libil2cpp\os\ClassLibraryPAL\brotli\include\brotli\types.h(1,1): error: unknown type name '

I’m completely lost with it so if you guys can help solve this issue it would be perfect.
<U+0010>WH<83><EC>P3<DB>I<8B><F0><83><C8><FF>H<8B><F9><F0><U+000F><C1>A<<83><E8><U+0001>y=H<8B> ^ C:\Program Files\Unity\Hub\Editor\2021.3.9f1\Editor\Data\il2cpp\libil2cpp\os\ClassLibraryPAL\brotli\include\brotli\types.h(1,2): error: expected identifier or '(' <U+0010>WH<83>P3I<8B><83>H<8B><U+000F>A<<83><U+0001>y=H<8B>
^
C:\Program Files\Unity\Hub\Editor\2021.3.9f1\Editor\Data\il2cpp\libil2cpp\os\ClassLibraryPAL\brotli\include\brotli\types.h(1,5): error: source file is not valid UTF-8
<U+0010>WH<83><EC>P3<DB>I<8B><F0><83><C8><FF>H<8B><F9><F0><U+000F><C1>A<<83><E8><U+0001>y=H<8B> ^ C:\Program Files\Unity\Hub\Editor\2021.3.9f1\Editor\Data\il2cpp\libil2cpp\os\ClassLibraryPAL\brotli\include\brotli\types.h(1,6): error: source file is not valid UTF-8 <U+0010>WH<83>P3I<8B><83>H<8B><U+000F>A<<83><U+0001>y=H<8B>
^
C:\Program Files\Unity\Hub\Editor\2021.3.9f1\Editor\Data\il2cpp\libil2cpp\os\ClassLibraryPAL\brotli\include\brotli\types.h(1,9): error: source file is not valid UTF-8
<U+0010>WH<83><EC>P3<DB>I<8B><F0><83><C8><FF>H<8B><F9><F0><U+000F><C1>A<<83><E8><U+0001>y=H<8B> ^ C:\Program Files\Unity\Hub\Editor\2021.3.9f1\Editor\Data\il2cpp\libil2cpp\os\ClassLibraryPAL\brotli\include\brotli\types.h(1,11): error: source file is not valid UTF-8 <U+0010>WH<83>P3I<8B><83>H<8B><U+000F>A<<83><U+0001>y=H<8B>
^
C:\Program Files\Unity\Hub\Editor\2021.3.9f1\Editor\Data\il2cpp\libil2cpp\os\ClassLibraryPAL\brotli\include\brotli\types.h(1,12): error: source file is not valid UTF-8
<U+0010>WH<83><EC>P3<DB>I<8B><F0><83><C8><FF>H<8B><F9><F0><U+000F><C1>A<<83><E8><U+0001>y=H<8B> ^ C:\Program Files\Unity\Hub\Editor\2021.3.9f1\Editor\Data\il2cpp\libil2cpp\os\ClassLibraryPAL\brotli\include\brotli\types.h(1,13): error: source file is not valid UTF-8 <U+0010>WH<83>P3I<8B><83>H<8B><U+000F>A<<83><U+0001>y=H<8B>
^
C:\Program Files\Unity\Hub\Editor\2021.3.9f1\Editor\Data\il2cpp\libil2cpp\os\ClassLibraryPAL\brotli\include\brotli\types.h(1,14): error: source file is not valid UTF-8
<U+0010>WH<83><EC>P3<DB>I<8B><F0><83><C8><FF>H<8B><F9><F0><U+000F><C1>A<<83><E8><U+0001>y=H<8B> ^ C:\Program Files\Unity\Hub\Editor\2021.3.9f1\Editor\Data\il2cpp\libil2cpp\os\ClassLibraryPAL\brotli\include\brotli\types.h(1,15): error: source file is not valid UTF-8 <U+0010>WH<83>P3I<8B><83>H<8B><U+000F>A<<83><U+0001>y=H<8B>
^
C:\Program Files\Unity\Hub\Editor\2021.3.9f1\Editor\Data\il2cpp\libil2cpp\os\ClassLibraryPAL\brotli\include\brotli\types.h(1,17): error: source file is not valid UTF-8
<U+0010>WH<83><EC>P3<DB>I<8B><F0><83><C8><FF>H<8B><F9><F0><U+000F><C1>A<<83><E8><U+0001>y=H<8B> ^ C:\Program Files\Unity\Hub\Editor\2021.3.9f1\Editor\Data\il2cpp\libil2cpp\os\ClassLibraryPAL\brotli\include\brotli\types.h(1,18): error: source file is not valid UTF-8 <U+0010>WH<83>P3I<8B><83>H<8B><U+000F>A<<83><U+0001>y=H<8B>
^
C:\Program Files\Unity\Hub\Editor\2021.3.9f1\Editor\Data\il2cpp\libil2cpp\os\ClassLibraryPAL\brotli\include\brotli\types.h(1,19): error: source file is not valid UTF-8
<U+0010>WH<83><EC>P3<DB>I<8B><F0><83><C8><FF>H<8B><F9><F0><U+000F><C1>A<<83><E8><U+0001>y=H<8B> ^ C:\Program Files\Unity\Hub\Editor\2021.3.9f1\Editor\Data\il2cpp\libil2cpp\os\ClassLibraryPAL\brotli\include\brotli\types.h(1,21): error: source file is not valid UTF-8 <U+0010>WH<83>P3I<8B><83>H<8B><U+000F>A<<83><U+0001>y=H<8B>
^
C:\Program Files\Unity\Hub\Editor\2021.3.9f1\Editor\Data\il2cpp\libil2cpp\os\ClassLibraryPAL\brotli\include\brotli\types.h(1,24): error: source file is not valid UTF-8
<U+0010>WH<83><EC>P3<DB>I<8B><F0><83><C8><FF>H<8B><F9><F0><U+000F><C1>A<<83><E8><U+0001>y=H<8B> ^ C:\Program Files\Unity\Hub\Editor\2021.3.9f1\Editor\Data\il2cpp\libil2cpp\os\ClassLibraryPAL\brotli\include\brotli\types.h(1,25): error: source file is not valid UTF-8 <U+0010>WH<83>P3I<8B><83>H<8B><U+000F>A<<83><U+0001>y=H<8B>
^
C:\Program Files\Unity\Hub\Editor\2021.3.9f1\Editor\Data\il2cpp\libil2cpp\os\ClassLibraryPAL\brotli\include\brotli\types.h(1,30): error: source file is not valid UTF-8
$<U+0010>WH<83>P3I<8B><83>H<8B><U+000F>A<<83><U+0001>y=H<8B>
^
C:\Program Files\Unity\Hub\Editor\2021.3.9f1\Editor\Data\il2cpp\libil2cpp\os\ClassLibraryPAL\brotli\include\brotli\types.h(2,1): error: source file is not valid UTF-8

SH<8D>SH;t <8B>A,t<80>y)rH<8B>I<8D>SL<8D><9E>O<85><85>H<83>H<8B>H<8B>@ <84><84><92>H<8D>L$ H<8D><97>pA?H<8D>L$ w<85>x`H<8D>L$ nH<8B> <8B>yEH<8B>9SH<8D>2SH;t0<8B>J,t(<80>z)r"H<8B> ^ C:\Program Files\Unity\Hub\Editor\2021.3.9f1\Editor\Data\il2cpp\libil2cpp\os\ClassLibraryPAL\brotli\include\brotli\types.h(2,4): warning: null character ignored [-Wnull-character]
SH<8D>SH;t <8B>A,t<80>y)rH<8B>I<8D>SL<8D><9E>O<85><85>H<83>H<8B>H<8B>@ <84><84><92>H<8D>L$ H<8D><97>pA?H<8D>L$ w<85>x`H<8D>L$ nH<8B> <8B>yEH<8B>9SH<8D>2SH;t0<8B>J,t(<80>z)r"H<8B> ^ C:\Program Files\Unity\Hub\Editor\2021.3.9f1\Editor\Data\il2cpp\libil2cpp\os\ClassLibraryPAL\brotli\include\brotli\types.h(2,6): error: source file is not valid UTF-8
SH<8D>SH;t <8B>A,t<80>y)rH<8B>I<8D>SL<8D><9E>O<85><85>H<83>H<8B>H<8B>@ <84><84><92>H<8D>L$ H<8D><97>pA?H<8D>L$ w<85>x`H<8D>L$ nH<8B> <8B>yEH<8B>9SH<8D>2SH;t0<8B>J,t(<80>z)r"H<8B> ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&) ~~~

I’m completely lost with it so if you guys can help solve this issue it would be perfect.

This looks like an error in the Unity installation. Some of the source code that ships with Unity seems to be modified from its original state.

It looks like the file C:\Program Files\Unity\Hub\Editor\2021.3.9f1\Editor\Data\il2cpp\libil2cpp\os\ClassLibraryPAL\brotli\include\brotli\types.h somehow has the wrong encoding maybe. I would recommend re-installing Unity.