enjin / enjin-csharp-sdk

Enjin Cloud SDK for C#.
https://enjin.io/products/platform
Apache License 2.0
29 stars 8 forks source link

Imported in Unity Broken Project Missing Libraries #39

Open Lelegithub opened 2 years ago

Lelegithub commented 2 years ago

We get all errors on importing the Project inside Unity. PusherClient is not defined and many more, could you please fix it ? It would be useful if you create a proper Unity doc/SDK since it's the number one game engine out there! Thanks!

image

bazinga007 commented 2 years ago

did u found any fix for this? getting same.

Favorlock commented 2 years ago

The CSharp SDK is still in alpha. It's not designed exclusively for Unity, as such there are kinks being worked out. It takes time though when it's related to entire dependencies.

FedericoDeBona commented 2 years ago

Hi @Favorlock, I really love the Enjin project and I wanted to create a game on this blockchain using Unity. The problem is that now there is not a working SDK as far as I know, so my question is: is it worth to start develop a game and then integrate all the functionalities relative to the blochain when the SDK will be ready, or will it take years to be at least usable?

crazyjackel commented 2 years ago

I really would like to switch to this as opposed to the Enjin SDK provided for Unity, which out of the box, is kind of light on functionality. But that Dependency stuff kind of hurts. I am hoping in the future, you guys could add this as a new package for Unity with the dependency stuff figured out.

Favorlock commented 2 years ago

@FedericoDeBona It's worth starting development of your game and integrating when the new SDK is ready for use by the general public. At the moment only early adopters have access to the v2 schema apis on our web platform, as such only they would be able to use this SDK for the time being. We're hoping to move into beta sooner than later, but first we need to make changes so that it's properly compatible with Unity.

Favorlock commented 2 years ago

@crazyjackel we're looking into it creating a package file, but we have to change some dependencies first as there appears to be some incompatibilities we can't really work around unless we change dependencies and rewrite a portion of the SDK, which we are looking into.

skrohn commented 2 years ago

Is there any update on that? I'm currently evaluating technologies for our next game, but with the unity sdk not having been updated since more than a year and the C# sdk not working because of dependency issues and no instructions on how to integrate/build this I'm not sure if I should even look into this further.

skrohn commented 2 years ago

If you can elaborate on some of the issues I might be able to help out.

JPLanh commented 2 years ago

I was able to bypass most of the dependencies issue by downloading the proper dependencies off NuGet on visual basic and copying their respective netstandard2.0's .dll file into the unity Assets/Plugins folder (had to create that folder manually). I was able to execute the quickstart showcase and hit the failed authentication (this is another can of worms so I won't go on too much since this issue is about the dependencies, but tldr; the graphQL queries isn't being loaded into the assembly it seems)