Forum General Unity Web Player [4.3]

Any issues or discussions relating to Unity development are welcome here.

Unity Web Player [4.3]

Postby yangamedev » November 15th, 2013, 5:57 pm

We've been using Player.IO for awhile in mobile and desktop, and have hosted Flash no problem, crossdomain.xml and all.

However I'm having no luck in getting a web player to connect in Unity's web player when hosted, it's always failing on the WWW constructor when connecting:

Code: Select all
System.NullReferenceException: Object reference not set to an instance of an object
  at UnityEngine.WWW.CheckSecurityOnHeaders (System.String[] headers) [0x00000] in <filename unknown>:0
  at UnityEngine.WWW..ctor (System.String url, System.Byte[] postData, System.Collections.Hashtable headers) [0x00000] in <filename unknown>:0
  at PlayerIOClient.Internal.identifier5+identifier414.getRequest[identifier6] (Int32 method, identifier576 args) [0x00000] in <filename unknown>:0

(Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/WebPlayerGenerated/UnityEngineDebug.cpp Line: 53)
NullReferenceException: Object reference not set to an instance of an object
  at UnityEngine.WWW.CheckSecurityOnHeaders (System.String[] headers) [0x00000] in <filename unknown>:0
  at UnityEngine.WWW..ctor (System.String url, System.Byte[] postData, System.Collections.Hashtable headers) [0x00000] in <filename unknown>:0
  at PlayerIOClient.Internal.identifier5+identifier414.getRequest[identifier6] (Int32 method, identifier576 args) [0x00000] in <filename unknown>:0
UnityEngine.MonoBehaviour:StartCoroutine_Auto(IEnumerator)
UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator)
PlayerIOClient.Internal.identifier414:Call(Int32, identifier6, Callback`1, Callback`1)
PlayerIOClient.Internal.identifier5:Connect(String, String, String, String, String, Callback`1, Callback`1)
PlayerIOClient.PlayerIO:Connect(String, String, String, String, String, Callback`1, Callback`1)
GameManager:Start()


I understand Unity's sandboxing is aggressive, but is anyone else experiencing this? It's easier to get people to play your network game on the web rather than trusting a standalone.

Please help! This is Unity 4.3 Pro if it matters, I'll have my team check our apps on earlier versions.

Thanks
yangamedev
 
Posts: 3
Joined: July 20th, 2013, 5:02 am

Re: Unity Web Player [4.3]

Postby FuzzySlash » November 20th, 2013, 12:13 am

I'm getting this error too(since version 4.3).
FuzzySlash
 
Posts: 37
Joined: April 15th, 2011, 3:59 am

Re: Unity Web Player [4.3]

Postby Benjaminsen » November 20th, 2013, 12:57 am

Just a heads up to say that we solved this issue in our internal builds. Stay tuned for an updated Unity API
Benjaminsen
.IO
 
Posts: 1444
Joined: January 12th, 2010, 11:54 am
Location: Denmark

Re: Unity Web Player [4.3]

Postby FuzzySlash » November 21st, 2013, 2:44 am

Awesome.
FuzzySlash
 
Posts: 37
Joined: April 15th, 2011, 3:59 am

Re: Unity Web Player [4.3]

Postby SoftalexGames » November 27th, 2013, 8:49 pm

I'm using Player.IO Development Package (v2.3.6) and getting the same error with SimpleConnect()...
I hope to see update ASAP
SoftalexGames
 
Posts: 20
Joined: January 11th, 2013, 5:32 am

Re: Unity Web Player [4.3]

Postby TheStrategist » December 4th, 2013, 7:30 pm

Benjaminsen wrote:Just a heads up to say that we solved this issue in our internal builds. Stay tuned for an updated Unity API


Any update or news? You posted this two weeks ago and I am anxiously waiting for a fix :). Take your time to make sure you address all the problems, simply a status update or ETA if possible would be appreciated. Thank you for your work and attention to these matters.
TheStrategist
 
Posts: 5
Joined: March 23rd, 2013, 11:53 pm

Re: Unity Web Player [4.3]

Postby Komix » December 27th, 2013, 12:18 pm

I had the same problem with 4.3 what I did was install Unity 3.5.7 and the mushroom game worked. then I installed 4.3.2 and the project still worked. that's how you can fix the unity player.io sdk mushroom game. not sure if it ll help you tho.

make sure to keep everything backed up before installing a new unity
Komix
 
Posts: 5
Joined: December 26th, 2013, 10:06 pm

Re: Unity Web Player [4.3]

Postby Krotalias » January 15th, 2014, 5:25 pm

Benjaminsen wrote:Just a heads up to say that we solved this issue in our internal builds. Stay tuned for an updated Unity API

Any news about the release date of the updated Unity API?
Krotalias
 
Posts: 1
Joined: June 29th, 2013, 7:17 pm

Re: Unity Web Player [4.3]

Postby cstever » January 21st, 2014, 7:08 pm

We are having this problem as well. It's hard to believe that there is no update available for this issue yet.
cstever
 
Posts: 4
Joined: May 8th, 2013, 5:19 pm

Re: Unity Web Player [4.3]

Postby Komix » January 21st, 2014, 8:45 pm

I told you how you can fix it... jsut isntall an old untiy breifly
Komix
 
Posts: 5
Joined: December 26th, 2013, 10:06 pm

Re: Unity Web Player [4.3]

Postby cstever » January 23rd, 2014, 6:39 pm

Komix wrote:I told you how you can fix it... jsut isntall an old untiy breifly


Komix, is that a fix for webplayer, though, or are you just talking about the editor? When I see this problem in the editor I can work around it by deleting the project's Library and Temp folders and allowing them to regenerate (which may be in effect what your reinstallation was allowing to happen), but I cannot seem to resolve this issue when running my game with unity webplayer.
cstever
 
Posts: 4
Joined: May 8th, 2013, 5:19 pm

Re: Unity Web Player [4.3]

Postby Komix » January 23rd, 2014, 6:55 pm

havent tried webplayer
Komix
 
Posts: 5
Joined: December 26th, 2013, 10:06 pm

Re: Unity Web Player [4.3]

Postby MakanaGamesLab » February 19th, 2014, 3:00 am

Hello. I have the same error with SimpleConnect().
Benjaminsen, you plan to resolve this problem? We need to know to continue our developments (or not)
thank you!
MakanaGamesLab
 
Posts: 8
Joined: June 13th, 2010, 6:59 pm

Re: Unity Web Player [4.3]

Postby codegames » February 28th, 2014, 1:00 am

Hello!

I have the same error with QuickConnect.FacebookOAuthConnect only in Webplayer. My game is to play under facebook and need to compile in WebPlayer.
Anyone know when resolve this problem?

Thanks!!
codegames
 
Posts: 2
Joined: February 27th, 2014, 3:46 pm

Re: Unity Web Player [4.3]

Postby artlogicgames » March 3rd, 2014, 7:54 am

Any news regarding updated SDK for Unity 4.3 ?
artlogicgames
Paid Member
 
Posts: 11
Joined: September 8th, 2011, 2:25 am

Re: Unity Web Player [4.3]

Postby codegames » March 3rd, 2014, 9:29 am

I've seen in Unity forum that exist a playerio beta that solves this error, but I've couldn't get.

If someone have this beta, post a link please!

I have my game finished and only need this beta.

Thanks!
codegames
 
Posts: 2
Joined: February 27th, 2014, 3:46 pm

Re: Unity Web Player [4.3]

Postby vaices » March 7th, 2014, 3:02 pm

Is it just for me, or others feel the same?
It looks like that PlayerIO system is left without further development.
Today I've downloaded "possible new" SDK from PlayerIO homepage and what do I see?
PlayerIOUnity3DClient.dll compiled in early 2012-11-22

Hey, guys, wake up please. Our Web projects on Unity 4.3 don't work with PlayerIO.

I am very attached to your project, but please understand that it is getting harder and harder to stay motivated to work with your system.
vaices
 
Posts: 4
Joined: September 23rd, 2013, 8:08 am

Re: Unity Web Player [4.3]

Postby SoftalexGames » March 13th, 2014, 3:30 pm

vaices wrote:It looks like that PlayerIO system is left without further development.
Today I've downloaded "possible new" SDK from PlayerIO homepage and what do I see?
PlayerIOUnity3DClient.dll compiled in early 2012-11-22


I have the same feelings... :(
SoftalexGames
 
Posts: 20
Joined: January 11th, 2013, 5:32 am

Re: Unity Web Player [4.3]

Postby Henrik » March 20th, 2014, 9:49 pm

I'm sorry we haven't been able to keep you all updated, but we can now finally offer everyone the latest client libraries, which includes a fix for this very issue.

http://gamesnet.yahoo.com/download/


Let us know if you have any issues.
Henrik
.IO
 
Posts: 1880
Joined: January 4th, 2010, 1:53 pm

Re: Unity Web Player [4.3]

Postby MakanaGamesLab » March 24th, 2014, 4:42 pm

Hi Henrik, all these changes are great news! I now understand why it has been so long to fix this issue, the team and you have worked hard! Thank you very much! :D

With this new version the error (CheckSecurityOnHeaders) is not happening. But now Player.IO throws the following error when trying to connect and create a new room (when running CreateJoinRoom ()):

Code: Select all
PlayerIOClient.PlayerIOError: GeneralError; Unable to connect, errorcode = AccessDenied


This only happens when I run my game in WebPlayer build. But everything works fine on a PC build.

In what cases Player.IO AccessDenied throws error? I believe that there is a configuration problem that has nothing to do with Player.IO but I need this information to get a solution.

Thank you very much!
MakanaGamesLab
 
Posts: 8
Joined: June 13th, 2010, 6:59 pm


Return to General