Closed EricVoll closed 2 years ago
Update: I just changed the build in Unity to build for ARM (not ARM64) and then in Visual Studio to deploy to HL2 with ARM64 and now it worked! Leaving this note here in case somebody has the same issue. (Also make sure to open the port in the firewall etc.)
Hi @aleneum
thanks for providing this code. I tried to build the app and deploy it to the HL2 emulator and the real HL2. The demo works in Unity in Playmode, but doesn't when built for the emulator or the real HL2.
My setup is: Win10, with WSL2 where the gRPC server was running (port forwarding etc. is working and validated) Unity Version: tried with 2019.4.35f1 and 2020.3.28.f1, Currently downloading 2021 and 2022 to try with them as well. In the Unity Case:
In all fail-cases the error message was:
The
link.xml
file is there, I made sure that the server/WSL portforwarding etc. works by launching the send python script from another PC and sending the request to the same IP address. My guess is that the IL2CPP compiler and/or code-stripping breaks something.Do you have any idea what could cause the issues?
Thanks, Eric