There was no problem in mono. However, it happened when I built it after converting to il2cpp.
When I build, you get this error at the end.
Custom Environment Variables
PATH=C:\Program Files\Microsoft Visual Studio\2022\Professional\VC\Tools\MSVC\14.38.33130\bin\Hostx64\x64;C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64
MSPDBSRV_ENDPOINT=2524425291397743274
ExitCode
1120
Output
Creating library Library/Bee/artifacts/WinPlayerBuildProgram/u1oik/GameAssembly.dll.lib and object Library/Bee/artifacts/WinPlayerBuildProgram/u1oik/GameAssembly.dll.exp
4t9q_ta.SQLite1.obj : error LNK2019: unresolved external symbol dlopen referenced in function unameUnsafeNativeMethodsPosix_GetOsVersionInfo_mCA9C26DF2DEE74426614D59EC099EBD324B719D4
4t9q_ta.SQLite1.obj : error LNK2019: unresolved external symbol dlopen referenced in function dlopenNativeLibraryHelper_LoadLibraryPosix_m4763A9631B71705FFCF6939F373354C1436291A2
Library\Bee\artifacts\WinPlayerBuildProgram\u1oik\GameAssembly.dll : fatal error LNK1120: 2 unresolved externals
I saw an article to find a class called UnsafeNativeMethodsPosix But this is not in the project and is defined under the built folder I am currently spending about two weeks on this issue It’s too hard. Please help me