Before updating to Windows 10 you may need to return your Pro license. More information here

Loading Unity3d web player as a separate Pop-up window

Can someone elaborate on why (big) games like Fusion Fall (by Cartoon network), Tiger Woods PGA Tour (by EA) load their Unity game in separate browser window instead of the same window or a new tab? Is it because of the performance or any other problem like Unity plugin crashing etc. If you were to run a website based mainly on Unity, what is the best way to display it? Will it be better off being run as a part of the website like these Flash banners/websites or will it be better to have a separate window popping out of your website to display Unity Content.

more ▼

asked Oct 08, 2010 at 10:20 PM

avatar image

742 14 17 40

If you need an example on how to do this, check this question: http://answers.unity3d.com/questions/23960/how-to-open-new-window-with-unity-content/29121#29121

Nov 30, 2010 at 12:55 AM fireDude67

Thanks for the example. I know how to implement this. I was just looking at the downside of things.

Nov 30, 2010 at 01:35 AM diabloroxx
(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

If you want the elaborated answers to their decisions, it would be best to contact the web developers of the sites in question.

The reasons may be performance issues, but what type would be related moreso to the site and/or game in question.

The decision was most likely a choice of their web design and a wise one at that. If the Unity plugin is not able to be integrated easily into the main site because of Flash or some other reason, why would you take the user away from the main site (by retargetting the current window or a tab or whatever) just to play the game? Also, by compartmentalizing the Unity web app away from the main site, if anything were to go awry with the Unity-specific portion of the site, it would be easier to isolate the problem and make changes to just that part without having to make changes to the whole of the site.

Even if your site is based mainly on Unity, while there should be less need to re-direct the user, as part of good design, it may still be in your best interests to do so because the plugin can incur overhead. Overhead is best avoided whenever possible to accomodate slower connections, computers, etc.

Is it better to have it integrated or separated? Better is fairly subjective to your site, game, design, tastes, etc.

more ▼

answered Oct 08, 2010 at 10:38 PM

avatar image

11.7k 19 60 119

Thanks for the reply. Currently, I haven't seen any (maybe 1 or 2) crashes when these games were loaded in separate window. I agree that a good design should have the facility to separate errors and correct them.When you mentioned "plugin can incur overhead", can you explain more on the overhead that we can face - apart from the graphics i.e., Thanks.

Oct 08, 2010 at 10:47 PM diabloroxx

When the browser encounters references to content a plug-in specializes in, the data is handed off to be processed by that plug-in. The plug-in must be loaded if it wasn't already which incurs overhead and there is always overhead (generally minimal) for passing the data to the plug-in and back. Keeping the plug-in and its loaded data in memory is further overhead. Mixing different plug-in content on the same page (eg. Flash and Unity together) compounds the overhead and adds the risk of the plug-ins fighting with each other.

Oct 12, 2010 at 03:43 PM skovacs1

Thanks for elaborating on that. I guess more testing will be needed before finalizing on one solution. Cause websites which run the u3dObject are part of the same browser(no pop-up) and they seem to run pretty fine.

Oct 12, 2010 at 10:58 PM diabloroxx
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments



asked: Oct 08, 2010 at 10:20 PM

Seen: 3151 times

Last Updated: Nov 29, 2010 at 11:58 PM