Web Player not connect
Web Player not connect
Hi Friends, I am RVS and this is my first post on this forum. In unity i made a simple connection script with .NET API. After build .exe it is working but in WebPlayer this not working. it show connection error... So please help me here....
Re: Web Player not connect
Hello.
Sorry but you'll have to provide more information for we to be able to help you.
You can check which information you need to provide here.
Sorry but you'll have to provide more information for we to be able to help you.
You can check which information you need to provide here.
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
- AndyMartin458
- Posts: 55
- Joined: 15 May 2012, 21:57
Re: Web Player not connect
The Unity and SFS examples have problems running in the Unity Editor and web browser. Change your build settings to build for pc/mac.
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
Re: Web Player not connect
If you run anything network related in Webplayer mode, you HAVE to make sure to call Unity's prefetch command to get the security policy before doing any kind of networking. In the editor you also need to fix up the editor faking to fetch the security policy. Its set in the editor options somewhere. Please read the Unity manual on this and take a look at the SFS examples provided
/Thomas
/Thomas
Full Control - maker of Unity/C# and Java SFS API and indie games
Follow on twitter: http://twitter.com/thomas_h_lund
Follow on twitter: http://twitter.com/thomas_h_lund
- Carl Lydon
- Posts: 298
- Joined: 12 Nov 2007, 16:15
- Location: NYC
- Contact:
Re: Web Player not connect
And even if you call the prefetch command it might not find the security policy.
-
- Posts: 1297
- Joined: 14 Mar 2008, 07:52
- Location: Sweden
Re: Web Player not connect
Yes - so make certain you actually check the return value of the prefetch command to verify that Unity got the security policy.
Full Control - maker of Unity/C# and Java SFS API and indie games
Follow on twitter: http://twitter.com/thomas_h_lund
Follow on twitter: http://twitter.com/thomas_h_lund
Who is online
Users browsing this forum: No registered users and 49 guests