-
Notifications
You must be signed in to change notification settings - Fork 8
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
how to use the unity demo #1
Comments
when i click the sendrpc button, report the bug follows:
|
Hi @jmesyan, could you specify better how you're trying to test it? Like, against which server? Are you running all pitaya deps? (nats, etcd)? I've updated master branch for using the c++ plugin and also updated the unity-example, can you try it again? best |
@felipejfc I use the macbook,and the environment next:
now when I make build, follow the error:
|
hi @jmesyan that's because we have switched from a golang implementation of the native plugin to a c++ one, the reason is that unity has some troubles dealing with go native plugins |
@felipejfc , make error:
|
hi @jmesyan you don't really need to build the plugins by yourself to run the examples, it's already built here https://github.com/topfreegames/libpitaya-cluster/tree/master/unity-example/Assets/Plugins, also, for using libpitaya-cluster into your project you can use the official nuget package https://www.nuget.org/packages/LibPitayaServerCpp/ |
hi @felipejfc ,now the unity didn't report any bug, but when I click the button,the unity crashed, I am not familiar with unity, I intend to give up the test temporary, thank you for your help, do you have other library for layabox or cocos creator? |
Can you better describe your use case for this lib? we don't officially support layabox or cocos creator but as it's a c++ library you could create the bindings yourself... |
hi @felipejfc , I can't find any detail log when the unity is crashed, so I change the unity version to 2017.4.0f1 , use the old version code, and run the go-server. click the
|
This shouldn't happen if you use the version from the master, can you try? |
please tell me how to use the unity demo,thank you!
The text was updated successfully, but these errors were encountered: