Wednesday, January 12, 2011

Unity3D WWW Replacement.

Due to my rage at the stupid WWW class in Unity3D, I have started coding a replacement. This is needed, because Unity3D on iOS or Web devices will not use System.Net.WebRequest due to security concerns. RAAARGH!

This is a WIP Unity3D WWW Replacement class, which works like a real HTTP class should. It is not entirely usable, however it will evolve and get better. At least it has been started.

5 comments:

Rustam Ganeyev said...

What's the advantage of your implementation?

Simon Wittber said...

Advantages? Where do I start... let me see.

HTTPS, GZip, Headers, Status Codes, Etags....

Kaan Erdemir said...

Hi, how is going with new HTTP stuff?

I am using WWW to load texture from a webservice, and there are problems with corrupted images and serverside redirections... WWW object is very dummy and if there is a problem, it locks player entirely.

Is there any documentation or example code to give a try your HTTP object?

Simon Wittber said...

The completed project is now available on the Unity asset store, with example code.

Kaan Erdemir said...

hmm ok

Popular Posts