Unity Web Player
Hi,
You cann't build a Unity3d Web Player Release, the reason for this is the Security Sand Box of the Web Player (see http://docs.unity3d.com/Manual/SecuritySandbox.html).
The following error message appears when you try to build your Unity3d project on the Web Player Platform: ArgumentException: The Assembly System.Runtime.Serialization is referenced by SimpleJson. But the dll is not allowed to be included or could not be found.... SimpleJson is using Reflections these won't be supported by the Web Player Subset.
At the moment I'm trying to replace the SimpleJson.dll with the SimpleJSON from the Unify Community (http://wiki.unity3d.com/index.php/SimpleJSON). Maybe someone of you could give me some feedback to this decision and/or maybe someone comes up with an other idea.
Best Regards
Flo
Hi, The source of this repository is writed by netEase , but the source is cann't be use in the unity project. so , i just perfect it . i dont check in the unityweb , so i will fixed it recently.thanks
Hi,
Thank you for your reply. I created in the last 2 days a Unity3d Project which uses instead of the SimpleJson.dll the SimpleJSON.cs from the Unify Community. Therefor I had to made changes on the pomelo-unityclient-socket and on the SimpleJSON.cs as well. I also integrated to the pomelo-unityclient-socket the Prefetch Socket Policy which is nessacery to allow a socket communiction within a Unity3d Web Player Release.
Finally it works now and I can connect to my pomelo server even if the Unity3d Web Player Release is hosted on a different server. I created also a Standalone and Android Release and it works.
While I'm playing around I found some other issues within the Unity3d Editor by breaking the internet connection while I'm connected to a server.
Maybe it would be better to release at this place a Unity3d Project instead of a Mono Project, what do you think?
sure,release at unity3d is the best way to show project.i will create another to place the demo. is there anything problem when you use the api?
in addition , i write some usefully plug like network-http , audio-media , resource , if you like you can use them in your project.if you know chinese , you also can visit blog : http://www.luzexi.com whatever , thank you!!
Hi, I finished my work for the different platforms and now the API is working within the Web Player, on Android Devices and iOS Devices as well. Luzexi can I send you my Unity Project and you have a look at it and maybe could you upload it somewhere and provide a download link on the github side for it?
Ok,It's my pleasure! Is it very huge? or you can send the email : [email protected]
Hi,please share me [email protected]
Hi,it is here: https://github.com/luzexi/pomelo-unityclient-socket-demo
Hi, how can i get session ID in this one. I need that session ID but i couldn't figure it out how to get it.
Hi,there is no session ID.You can figure it by yourself.
I used the client is luzexl's link and they work fine in Android, iOS and web player mode. I wonder why we don't request to merge it to this official repository?
we don't want import any unity api in SDK level.
it's a pure .net project.