Community Member•5/5/2024, 11:36:48 AM
<@174193097285173250> Cam you help here? :)
Community Member•5/5/2024, 12:05:51 PM
as long as the device is connected to the internet, it should work.
if that isnt the case, maybe take a look into the log file of the unity application and see if you find any error messages
Community Member•5/5/2024, 1:35:53 PM
I Error! Unable to connect to the remote server
NativeWebSocket.<Connect>d__27:MoveNext()
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Runtime.CompilerServices.MoveNextRunner:Run()
UnityEngine.WorkRequest:Invoke()
UnityEngine.UnitySynchronizationContext:Exec()
Community Member•5/5/2024, 1:36:12 PM
logcat reports connection error, but the headset has internet
Community Member•5/5/2024, 1:36:26 PM
do i need to give it some permissions or something like that?
Community Member•5/5/2024, 1:45:22 PM
since it works for you in the editor, but not on the device, and you get that error, i would guess that the problem is with the internet connection of the device.
A small test you could do, is to try to build your app for your pc and run it outside of the editor. that way you can make sure its works in general and is a problem with the device.
Community Member•5/5/2024, 1:46:07 PM
alright let me look into that
Community Member•5/5/2024, 1:47:10 PM
i sadly dont have a quest 3, so i cant help much on how that thing works differently. in general, unity apps should work the same everywhere, regardless of device.
Community Member•5/5/2024, 1:49:19 PM
the headset has internet, all the other apps work. I am guessing either it doesn't like the websocket in general or it has no internet permissions (but i did grant them in player settings)