Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.0.5 ios socket bind not working #100

Open
ShockRabbit opened this issue Mar 21, 2021 · 1 comment
Open

1.0.5 ios socket bind not working #100

ShockRabbit opened this issue Mar 21, 2021 · 1 comment

Comments

@ShockRabbit
Copy link

environment : ios 14.4.1, Unity 2018.4.17f1, il2cpp build

socket bind working on UnityEditor, android

but not working on ios

because raise exception when CreateDelegate with UniumSocket.Message.Reply

I guess because CreateDelegate with Reply(string msg) instead of Reply(object data)

.
.
.

this code is working

// public void Reply( string data )            { Socket.Send( id, "data", string.IsNullOrEmpty( data ) ? "null" : data ); }
public void Reply( object data )            { Socket.Send( id, "data", JsonReflector.Reflect( data ) ); }

unium is a really great product. Thank you

@gwaredd
Copy link
Owner

gwaredd commented Mar 22, 2021

Thanks. I'm unable to create iOS builds but if you create a pull request I'll merge it in :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants