pusher / pusher-websocket-unity

Pusher Channels Unity Client Library
MIT License
27 stars 20 forks source link

Error when subscribing to channels from ios platform app #47

Closed RenataSaenz closed 10 months ago

RenataSaenz commented 1 year ago

I'm have the following 2 errors when using the app in ios:

1- Error: ERROR An unexpected error was detected when performing the operation 'Subscribe to events': System.Reflection.Emit.DynamicMethod::.ctor

PusherClient.ErrorEventHandler:Invoke(Object, PusherException) PusherClient.Pusher:InvokeErrorHandler(PusherException) System.Threading.ThreadPoolWorkQueue:Dispatch()

2- Error: ERROR Subscribe failed for channel 'events': One or more errors occurred.

PusherClient.ErrorEventHandler:Invoke(Object, PusherException) PusherClient.Pusher:InvokeErrorHandler(PusherException) System.Threading.ThreadPoolWorkQueue:Dispatch()

The configuration says i should set the Scripting Runtime Version to .NET 4.x Equivalent. But this is not supported by ios. What should i do?

benjamin-tang-pusher commented 1 year ago

Can you attach your c# code for connecting and subscribing?

benjamin-tang-pusher commented 10 months ago

Closing due to no response.