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

Unity Web Player #29

Open
Flowan24 opened this issue Jul 9, 2014 · 1 comment
Open

Unity Web Player #29

Flowan24 opened this issue Jul 9, 2014 · 1 comment

Comments

@Flowan24
Copy link

Flowan24 commented Jul 9, 2014

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

@Flowan24
Copy link
Author

Hi,
I started to remove the SimpleJson.dll from the project and it turned out that WebSocket4Net.dll is also using the SimpleJson.dll. Therefor I switched to the https://github.com/NetEase/pomelo-unityclient-socket. But this system is also using the SimpleJson.dll. At the moment I'm working on a solution with the pomelo-unityclient.socket and it looks good (NetEase/pomelo-unityclient-socket#12)

Maybe someone of you can write this into the description of the UnitySocketIO that this system isn't suitable for all of the Unity3d supported Release platforms.

Best Regards

Flo

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

1 participant