Build error using IL2CPP in Windows platform

Original Discord Post by rhaegartargaryen3656 | 2024-08-09 12:34:10

Hey guys,

I’m back again with the same error because the previous ticket is closed :S

ERROR:
Building Library\Bee\artifacts\WinPlayerBuildProgram\u1oik\GameAssembly.dll failed with output:
Creando biblioteca Library/Bee/artifacts/WinPlayerBuildProgram/u1oik/GameAssembly.dll.lib y objeto Library/Bee/artifacts/WinPlayerBuildProgram/u1oik/GameAssembly.dll.exp
3i8qlnrvfhw5.obj : error LNK2019: s�mbolo externo dlopen sin resolver al que se hace referencia en la funci�n Mono_dlopen_m28A6FCFD6D4175345383F596F0DAA79E26C34070
3i8qlnrvfhw5.obj : error LNK2019: s�mbolo externo dlerror sin resolver al que se hace referencia en la funci�n Mono_dlerror_mCE4B2AE1A919E371751AEEAE600318E2470B3E88
3i8qlnrvfhw5.obj : error LNK2019: s�mbolo externo dlsym sin resolver al que se hace referencia en la funci�n Mono_dlsym_m7B83E4542E62BE8A07581ABFE015F499C692682E
Library\Bee\artifacts\WinPlayerBuildProgram\u1oik\GameAssembly.dll : fatal error LNK1120: 3 externos sin resolver

Sorry because some parts are in Spanish because my Windows language is set on it. Basically, if I try to build my project using IL2CPP in Windows platform and this error appears.

I tried it from source, with blank project and with other combinations, and it’s happening every time after import Convai plugin, in sometimes including Convai things in my building scene, and sometimes not; and no matters if you use Custom Packages to upgrade to VR or not.

I’m researching it for my own, and looks like building with IL2CPP just works in other platform target, because you are trying to use functions like “dlopen” “dlsym” or “dlerror” and this functions in Windows does not work.

Please, don’t close this ticket until we found a solution. I looking into it too, because I have a PCVR IL2CPP project that needs to include one of you NPCs and this is my high priority task for the coming weeks :smile:

Again, thank you so much for your support! :smile:

Reply by k3kalinix | 2024-08-09 12:47:21

Hello <@421694618615283718>,

As I said in the previous ticket, the IL2CPP Android build is supported by Convai. It is also used by more than one of our customers.

Successful build images are also accessible from the screenshot here.

As far as I can see, these build errors are not Convai related.

The other ticket was closed as Solved after no response.

Reply by rhaegartargaryen3656 | 2024-08-09 12:58:43

Hey <@1023671043287699568> ,

The screenshots of the configuration are using Android platform as a target. The problem just happens using IL2CPP on Windows platform as target to build.

Sorry about no response on the previous ticket, I didn’t see it probably because my notifications are by default to notify just with mentions. I’ll try to check it in every ticket that I may open in the future :smile:

Images:

Reply by k3kalinix | 2024-08-09 13:06:34

Let me inform the <@&1163218322200989806>.

Reply by rhaegartargaryen3656 | 2024-08-09 13:21:09

I know it is Friday on August so I will be warn about this ticket and try to answer ASAP. Thank you so much guys!

Reply by k3kalinix | 2024-08-09 13:21:57

Images:

Reply by k3kalinix | 2024-08-09 13:22:35

Okay for Windows we support only Mono.

I thought VR/ Android.

The Unity team can provide details on this.

Reply by rhaegartargaryen3656 | 2024-08-09 13:22:46

Oh hell, so is literally not supported?

Reply by k3kalinix | 2024-08-09 13:23:04

Embedded Content:
Compatibility | API Docs
Check Convai plugin compatibility with Unity. Ensure smooth integration with your development tools.
Link: Compatibility | Documentation

Reply by rhaegartargaryen3656 | 2024-08-09 13:24:04

Ooooookey I guess. Yes please, if Unity Team can provide more info about that, I will appreciate it.

Reply by k3kalinix | 2024-08-14 21:08:16

We are not able to share more information about this at the moment.

Added to the list as Feature Request.

This conversation happened on the Convai Discord Server, so this post will be closed.