| View previous topic :: View next topic |
tgraupmann

Joined: 14 Sep 2007 Posts: 455
|
Posted: Sun Apr 12, 2009 5:40 pm Post subject: Unity 2.1 Web Player |
|
|
|
Is the Unity 2.1 Web Player download still available?
This is my biggest Unity fear (chat from freenode.net/unity3d)
| Quote: | Robur> I just discovered something really bad: the latest 2.5 player broke a dozen or so games I have published to the web...
<tgraupmann-2_5> Do you have a lot of end users?
<tgraupmann-2_5> How many copies did you sell?
<Robur> quite a few
<Robur> it is a free game, luckily
<Robur> all the different builds are different versions of it...
<Robur> I have the 2.1 .plugin file,
<Robur> but does anyone have the old 2.1 installer?
<tgraupmann-2_5> That scares me. The biggest fear when using an unity, will your game be forwards compatible
<Robur> no kidding....
<Robur> I haven't isolated the exact problem yet,
<tinrocket_> Isn't the runtime distriubted with the executable?
<Robur> but it is definitley solved by downgrading to the 2.1 player
<Robur> and it has something to do with networkviews
<tgraupmann-2_5> What does your 2.5 web player log say?
<Robur> tinrocket: these are web players
<Robur> I haven't checked yet,
<Robur> but the issue isn't a crash,
<tinrocket_> I see.. but you sold games that ran via a webplayer, instead of a stand-alone?
<Robur> I distributed games, not sold them
<Robur> so I have sad users, but not irate ones
<tinrocket_> Ah.... yeah, then relying on the web plugin... a PITA when it break something. :\
<Robur> while yes - but it seemed pretty reasonable to trust Unity not to do this
<Robur> My latest beta version is already distributed as an executable, but
<Robur> all the previous versions (including the main "release" one that everyone is playing) are web players
<Robur> so does anyone have the 2.1 plugin installer?
<Robur> I was very dissapointed not to find it on Unity's site anywhere...
<dock_> wait, there's a new player for 2.5?
<dock_> I thought it used the sameone
<Robur> nope
<dock_> does it upgrade itself?
<Robur> yes -
<dock_> ah
<Robur> which is my whole problem
<Robur> I think it upgrades itself whenever users view web players generated in 2.5
<dock_> It's very worrying to see they are still breaking their old webplayers
<Robur> the latest player version is 2.5.5f1 i think
<dock_> I always thought that was bad, but would have stopped at v2.0
<dock_> what a shame
<Robur> I will be contacting them - |
|
|
| Back to top |
|
|
Shawn Unity Developer

Joined: 04 Aug 2007 Posts: 199 Location: Copenhagen, DK
|
Posted: Sun Apr 12, 2009 5:45 pm Post subject: |
|
|
|
All 2.x games should be compatible with the 2.5 webplayer. If something broke then either Unity made a mistake somewhere and needs to know about it so they can fix it ASAP or he was using unsupported API. _________________ Shawn White
Editor Developer - Unity Technologies ApS
CapnRat (blog) (Twitter) |
|
| Back to top |
|
|
robur

Joined: 13 Feb 2008 Posts: 346 Location: North Idaho
|
Posted: Mon Apr 13, 2009 1:41 am Post subject: |
|
|
|
Certainly wasn't using an unsupported API, but 2.5 definitely broke my game. I am still attempting to isolate the exact line of my code that triggers the bug, but in the mean time - if anyone has Mac and Windows copies of the 2.1 webplayer installer - it would make lots of my users really happy  _________________ Aubrey Falconer ~ of ATI Design
Mars Explorer FTW! |
|
| Back to top |
|
|
HiggyB Unity Product Evangelist

Joined: 08 Dec 2006 Posts: 6131 Location: San Francisco CA USA
|
Posted: Mon Apr 13, 2009 7:12 pm Post subject: |
|
|
|
If you experienced mass content breakage then we need to know about that ASAP. With a beta program that sum total had nearly 400 people I'd be surprised if such a potentially egregious miss actually happened. Details? Links? _________________ Tom Higgins - Product Evangelist at Unity Technologies ApS
http://unity3d.com | http://blogs.unity3d.com
Want to discuss my avatar? Do it here.
UNITE 2010, Save the Date: Nov. 10-12 in Montreal! |
|
| Back to top |
|
|
robur

Joined: 13 Feb 2008 Posts: 346 Location: North Idaho
|
Posted: Tue Apr 14, 2009 3:12 pm Post subject: |
|
|
|
» Details here
To see this firsthand, try playing any in-browser version of Mars Explorer older than 1.9.5. If you have the 2.5 player, the "ride" camera (press "1" or hold "Alt") will be totally messed up - if you downgrade to 2.1, everything should work perfectly.
» Play Mars Explorer
Unfortunately, I have been extremely busy for the last several days - and it may be a couple more before I get a chance to debug this in depth.
If someone has access to the 2.1 plugin installers for Mac and Windows, it would be much appreciated.
-Aubrey _________________ Aubrey Falconer ~ of ATI Design
Mars Explorer FTW! |
|
| Back to top |
|
|
jonas echterhoff Unity Developer
Joined: 18 Aug 2005 Posts: 214
|
|
| Back to top |
|
|
robur

Joined: 13 Feb 2008 Posts: 346 Location: North Idaho
|
Posted: Tue Apr 14, 2009 4:10 pm Post subject: |
|
|
|
Thanks!
Much appreciated.
I will get back to you on my findings as soon as I get a chance to go through my code in detail. _________________ Aubrey Falconer ~ of ATI Design
Mars Explorer FTW! |
|
| Back to top |
|
|
Daniel Brauer
Joined: 11 Aug 2006 Posts: 1549 Location: GMA950
|
Posted: Tue Apr 14, 2009 4:50 pm Post subject: |
|
|
|
| A quick and easy fix might be to re-build the games using Unity 2.5. Users will be asked to upgrade their web player (which is quick and easy), and your games should work if they work in the editor. |
|
| Back to top |
|
|
robur

Joined: 13 Feb 2008 Posts: 346 Location: North Idaho
|
Posted: Sun Apr 26, 2009 12:07 am Post subject: |
|
|
|
Just got a chance to go through my code (sorry for the delay - I had an unexpected week long trip during which I had no time to spare on anything else), and unfortunately, the issue is as simple and easily reproducible as it is fatal.
Consider the following GameObject hierarchy:
GO1
>GOA
GO2
>GOA
And the following javascript:
print(GO2.Find("GOA").GetComponent(Transform).root.gameObject.name);
If run in the 2.5 webplayer, "GO1" will be printed - instead of "GO2", as would be printed by 2.1.
Since I was using this type of logic to configure in-game object linkages (such as the aforementioned camera ride positions), all my published 2.1 games are now dysfunctional.
Looks like a new webplayer release will be needed to rectify this.
All the best,
-Aubrey _________________ Aubrey Falconer ~ of ATI Design
Mars Explorer FTW! |
|
| Back to top |
|
|
robur

Joined: 13 Feb 2008 Posts: 346 Location: North Idaho
|
Posted: Fri May 01, 2009 2:12 am Post subject: |
|
|
|
{Bump}
Essentially, GameObject.Find used to behave like Transform.Find does now. 2.5 changed the function of the function, and in doing so broke all my webplayers.
I don't have a problem with using Transform.find instead of GameObject.find, but I do have a major problem with loosing backwards webplayer compatibility.
Why doesn't the webplayer detect when it is running 2.1 content, and ensure the functions work accordingly? _________________ Aubrey Falconer ~ of ATI Design
Mars Explorer FTW! |
|
| Back to top |
|
|
HiggyB Unity Product Evangelist

Joined: 08 Dec 2006 Posts: 6131 Location: San Francisco CA USA
|
Posted: Wed May 06, 2009 7:36 pm Post subject: |
|
|
|
| robur wrote: | | Why doesn't the webplayer detect when it is running 2.1 content, and ensure the functions work accordingly? |
I don't know why nor whether this is truly a bug or by design in some way (nor have I tested myself, I just see a dangling thread with no follow up from us ). My reply here is to simply request that you get this logged right away as something seems fishy and I want to be sure it's in front of our dev/qa folks for investigation and repair as necessary. _________________ Tom Higgins - Product Evangelist at Unity Technologies ApS
http://unity3d.com | http://blogs.unity3d.com
Want to discuss my avatar? Do it here.
UNITE 2010, Save the Date: Nov. 10-12 in Montreal! |
|
| Back to top |
|
|
robur

Joined: 13 Feb 2008 Posts: 346 Location: North Idaho
|
Posted: Wed May 06, 2009 9:54 pm Post subject: |
|
|
|
Thanks!
I submitted this issue as ticket # 182841 to the bug reporting system on April 12th, but have not yet received a reply other than the automated receipt confirmation. _________________ Aubrey Falconer ~ of ATI Design
Mars Explorer FTW! |
|
| Back to top |
|
|
HiggyB Unity Product Evangelist

Joined: 08 Dec 2006 Posts: 6131 Location: San Francisco CA USA
|
Posted: Wed May 06, 2009 10:31 pm Post subject: |
|
|
|
It's there and in the queue so no worries on that, but there isn't yet any dev/QA commentary to share. Hang tight and thanks for the bug report. _________________ Tom Higgins - Product Evangelist at Unity Technologies ApS
http://unity3d.com | http://blogs.unity3d.com
Want to discuss my avatar? Do it here.
UNITE 2010, Save the Date: Nov. 10-12 in Montreal! |
|
| Back to top |
|
|
robur

Joined: 13 Feb 2008 Posts: 346 Location: North Idaho
|
|
| Back to top |
|
|