-
Notifications
You must be signed in to change notification settings - Fork 16
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
Errors in Unity #21
Comments
Hi @pickmeup101 , will look into it 👍 . Please go through those issues. You will find useful information for sure 👍 |
There is also a video link available in above issue discussions. There is a proper way to import DLLS in Unity engine. Please let me know if you need anything else. BTW, sorry for late reply.. Little busy those days.. :P. |
Hi @pickmeup101, just a summarized link from above issues, https://www.youtube.com/watch?v=Wy4uu8lMEDA . This will surely help you 👍 |
@sacOO7 Thanks for your advice! |
Maybe I need to download latest version of unity, I will try to reproduce the same on my local ... I think we have different releases available for .Net client (Not unity client). Try downloading previous version and try importing it .. |
Or I need to upload proper .dll file in the repo ... I can see DLLs being uploaded on the github repository itself for unity based C# codes/clients. |
Appreciated. |
Resolve it! |
Ok great ✌️😌. Still I am not sure, why you need to use source files for compilation. You can just download library using nuget package. And the make dll out of it. |
Need to reproduce on my local env. |
@sacOO7 I am new to Unity and C#, I don't know why, but it works :) |
Just one final question @pickmeup101 , are you using source code of .Net client or Unity client. I would recommend Unity client source code...... Also, let me know if you face any problem 👍 . |
I am using Unity client. I have read all of the issues, one issue says that the .NET client has some problems when running in Android. I will tell you if have other problems :) |
@sacOO7 Problem comes :) |
Sure 😌, will look into it.
…On Aug 18, 2018 5:55 PM, "杨超越" ***@***.***> wrote:
@sacOO7 <https://github.com/sacOO7> Problem comes :)
The Unity client can't connect to the server. It continually triggers the
disconnect event.
The server works well with js client. There are no other error messages, I
don't know how to debug.
Need your help!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AP8vSSWYySNYDtaM7ev37MBBtDFOHqj2ks5uSAfDgaJpZM4V-SAQ>
.
|
@sacOO7 Find the reason! It works well with http but not https. Does the Unity client not support https yet? Or some config needed to work for https? |
Hey, thanks for the help... It might be ssl certificate issue. Can you
check if SSL certificate is valid from server. Also try disabling ssl
certificate check from client side.
…On Aug 19, 2018 9:42 PM, "杨超越" ***@***.***> wrote:
@sacOO7 <https://github.com/sacOO7> Find the reason! It works well with
http but not https. Does the Unity client not support https yet?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AP8vSYXeR5WmHZ4eQcnHN5KIvJ7rhZ_1ks5uSY5ygaJpZM4V-SAQ>
.
|
I am using "self signed certificate", is it the problem? |
Yes, it should be problem. SSL certificate is supposed to be signed by
trusted authorities. In the client, we have option to disable the
certificate verification... You can try it out. Please read the last line
in the README doc.
…On Aug 19, 2018 10:04 PM, "杨超越" ***@***.***> wrote:
I am using "self signed certificate", is it the problem?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AP8vSZl6pqpQNNJGygjSbaO8ncwrT9e5ks5uSZOdgaJpZM4V-SAQ>
.
|
Do you mean this config: |
Yeah, it should have worked. Do you have server hosted on a specific domain? I can try it from here |
Sorry, I am using it in the local environment. If needed, I will try to deploy it to a remote server. |
Ok .... will look into it. It will be helpful if you can upload code on github. I can try cloning it, and then try reproducing the issue. Till then you can write code assuming http/ws connection. |
It also seems an old issue... #4 |
@pickmeup101 , keep watching the issue, I will post an update, once I find the fix... |
Sure! Will keep watching it! Waiting for your good news! I will use HTTP for developing temporally. And yes, it's quite the same with the #4 issue. So is it the problem of the websocket4net? |
Might not be ... https/wss works for me on local console application... Still trying to reproduce the issue. |
@sacOO7 Hello Sachin, another problem found, the Unity client seems not supporting the "WaitForAuth" parameter. Do I miss something or is it a bug? |
Hi @pickmeup101 , yes it does not support WaitForAuth parameter. I will be adding that functionality soon. |
Also, do let me know about your updates on the client. More issues are always welcome.. |
Sure, I am using the client without https now. It's OK for developing. |
Hi, I posted in the socketcluster repo, but would it be possible to get a readymade dll? Thanks |
Hello Sachin, problem found. :) |
Find the reason, the server runs out of memory and causes the service restart, so the client can't receive the data. Not the client's problem. |
Installing from nuget, the ScClient namespace is available in the C# environment and compiles success in the Visual Studio. But when run in the Unity, error occurs:
"Assets/Scripts/GameManager.cs(8,7): error CS0246: The type or namespace name `ScClient' could not be found. Are you missing an assembly reference?"
I have goooogled a lot, but still can't resolve it.
But there's something useful messages:
The unity doesn't support the DLL well, the DLL should be copy to Unity's assets Plugins folder.
I follow the step, but still get the following error info:
"Unloading broken assembly Assets/Plugins/ScClient.dll, this assembly can cause crashes in the runtime."
Any suggestions or if it possible to make a plugin to the Unity's asset store? It will be much easier to use in Unity.
The text was updated successfully, but these errors were encountered: