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.
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
Thanks for the example. I know how to implement this. I was just looking at the downside of things.
Answer by skovacs1
Oct 08, 2010 at 10:38 PM
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.
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.
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.
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.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users post good questions and use the site effectively we have posted a user guide.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
Answers and Comments
No one has followed this question yet.
How do I make my webplayer fill the entire browser window?
A node in a childnode?
Facebook popup hidden behind Unity Object in Chrome
web player problem