Is unity web player safe?

I mean is it safe to put a level onto the player without being worried of any of the assets being downloaded? Is it just “Play” or are there any ways people might download the levels?

how are they going to play the level without downloading the assets?

Maybe its encrypted in some way?

Well its all in a unity3d file, so unless you know the format of that file (I believe its a closed format) I think we are safe (relatively).

Thanks for the info.

It’s a .NET assembly… it might as well be an open book.

unity doesn’t encrypt the data but they are lzma compressed

I just got all the information to download games from the web player, thanks!

Ok, just kidding. Thanks for the replies.

They also use a proprietary format for storing the data which makes it harder (but not impossible) to steal the assets.

Also someone can find the link to your .unity3d file from the html and potentially embed it in their pages (although there are some things you can do to stop that working).

I think Unity Pro offers some kind of encryption?

Just like every game that runs locally, web player content can be stolen:

  • Code is stored in .NET assemblies. There are decent disassemblers freely available.
  • Models and textures are uploaded to the graphics card. There are free programs available that will intercept this data and allow you to store it.
  • Audio has to be decompressed either before or during playback. I’m not familiar with the intricacies of this process, but I’m sure it’s just as easy to steal as other assets.

So don’t ever release a game, right? No. Stop worrying about people pirating your stuff. If it’s worth stealing, then it’s worth buying. Focus on selling something worth buying, and you’ll make money. Every penny or second spent on preventing piracy is wasted.

I’ve just searched in google for unity3d decompiler and got this link: http://en.unity3d.netobf.com/unity3d_decompiler

I tested with a sample web player file and it works. I just needed to download http://reflector.red-gate.com/Download.aspx to display my code, that was in the Assembly-CSharp.dll file, it’s necessary to link the unityscript.lang.dll file.

Like Daniel said, don’t waste your time/energy on try to protect it. It’s safe from the majority of people.

If you do make a serious effort to protect the assets, hackers will hack it just for the “challenge” anyway.