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

Errors in Unity #458

Open
pickmeup101 opened this issue Nov 14, 2018 · 4 comments
Open

Errors in Unity #458

pickmeup101 opened this issue Nov 14, 2018 · 4 comments

Comments

@pickmeup101
Copy link

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.


Finally resolve it!
I download the source files and compile to dll in my environment, and it works!


FYI:
sacOO7/SocketclusterClientDotNet#21

@sacOO7
Copy link
Member

sacOO7 commented Nov 14, 2018

hi @pickmeup101 , great to see it's working 👍

@sacOO7
Copy link
Member

sacOO7 commented Nov 14, 2018

Is there any special request to add this feature in unity? Like having a readymade dll available in the client?

@pickmeup101
Copy link
Author

pickmeup101 commented Nov 17, 2018

Hi @sacOO7,
As I know, in Unity, most developers are used to using the Asset Store (https://assetstore.unity.com/) to find and download resources. So compared to the dll, I think it will be much compatible and simple to have an asset in the Asset Store.
FYI: https://unity3d.com/asset-store/sell-assets

PS. Waiting for the feature of "WaitForAuth".
FYI: https://socketcluster.io/#!/docs/api-scchannel-client

Thank you very much!

@BrittMcDanel
Copy link

@sacOO7

A readymade dll would be very nice. Thanks!

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

3 participants