- Home /
Are There Any Plans To Support HTML5 In Unity?
I've been exploring the possibility of using Flash in Unity. There appears to be no good solution for this at the moment and it doesn't appear to be a priority for near-future releases of Unity (at least as far as I can find). So I was wondering, will Unity eventually support HTML5 (which, for my purposes, has similar features to Flash) and if so how far out on the horizon is that?
Specifically I want to load animated and interactive web content onto a texture and I need to be able to control characteristics of blocks of text (style, size, etc for fonts) in a dynamic way. It seems HTML5 support would solve both my problems.
you are probably aware of http://feedback.unity3d.com. Please post this feature request there and see what happens :-)
Thanks for the pointer. Rather than start a vote for HT$$anonymous$$L5 I decided to cast 3 votes to Flash Support. I hope others will do the same.
http://feedback.unity3d.com/forums/15792-unity/suggestions/163299-flash-support
Bad idea to add Flash - then Apple will definitely shut out Unity... :/
Answer by Jaap Kreijkamp · Feb 02, 2010 at 12:38 AM
I wouldn't hold your breath. Adding a HTML5 capable renderer would add quite some weight to unity clients as it probably needs to include it given the vast amount of different browser options that can be available at the client. What you need can possibly solved at the server side, render the rich text texture on the server and send this over.
Agreed. $$anonymous$$y first reaction was "oh, I hope they don't bloat the runtime with that".
This makes it sound impossible to bundle shared libraries with a project based on what libs the project uses. I'm sure that's not the case.
Answer by Butch · Jul 27, 2010 at 01:06 PM
I don't think HTML 5 would be or should be added to the Unity client plug-in...that would sabotage the whole point of adopting HTML5 right from the start. HTML5 will be a part of every browser so there's no need for a plugin. Essentially, an HTML5 game would consist of the HTML5 code plus probably some javascript, so it would be it's own thing just like developing for the the Mac or PC. (or maybe because I haven't built a Unity game yet, but I thought the Unity module was not used for desktop gaming, but maybe it is the more I think about it.) Point being...module/plug-in free game operation is going to be HUGE moving forward and Unity should catch that wave now.
$$anonymous$$y original question involved using HT$$anonymous$$L 5 inside Unity for rendering complex/mixed textual markup. Not every Unity game ships for the web player. In my case the game is run standalone on the PC. I agree there could be some Utopian future where browsers require no plugins and everything is made with a sprinkle of JavaScript and unicorn horns but I needed complex rendering yesterday.
Answer by yoyo · Mar 16, 2011 at 05:21 PM
As of Feb 27, 2011, Unity announced future Flash support. Meanwhile, Adobe is working on Wallaby, a technology to convert Flash to HTML5. Nothing has been announced, but at the risk of rumour-mongering, I wouldn't be surprised if Unity brought out an HTML5 exporter in future.
Answer by LukeTomes · Jan 29, 2012 at 02:34 AM
You should check out uWebkit from mythoslabs. Rendering of dynamic web content inside Unity as you've requested. Works on most platforms except Android currently.
Nice product, but USELESS unless they start to support Android too. Hope they will soon.
Answer by vished · May 15, 2012 at 06:38 AM
When using WebGL and HTML5, who needs Flash? Why pay Adobe revenue share for memory leaks and feature delays? How much is Adobe paying Unity to support their "distribution channel"?