When you always see the “Install Unity3D plugin” icon:
- Install the plugin if you haven’t already
- Navigate to chrome://flags/#enable-npapi (you may have to copy and paste link)
- Find The “Enable NPAPI” option
- Click enable
- Restart Chrome
When you are presented with a grey box with the text “Unity Player needs your permission to run”:
- Right click
- select the “Run this plug-in”
The Unity3D webplayer comes with a similar security model to Adobe Flash player. We certainly try to not encroach on your security/privacy (well, other than recording every little sound that comes through the microphone and converting it to a pitch) including not ever doing networking. On the mobile variants, we can enforce this through the permission features on the various OS’s. However, there is no such restriction in the web player for obvious reasons. You (and us) have to trust that Unity3D has implemented their code properly, that the browser sufficiently sandboxes things, and that no evil people have found any vulnerabilities in any of the libraries that we rely on. Regardless, we think that in general there is not much to worry about with regards to the web player and that it is more or less equivalent to running a standalone version of the app directly on your PC or Mac.
For the more technically inclined, Unity has this on their website:
In Unity 3.0, the webplayer implements a security model very similar to the one used by the Adobe Flash player™. This security restrictions apply only to the webplayer, and to the editor when the active build target is WebPlayer. The security model has several parts:
- Restrictions on accessing data on a domain other than the one hosting your .unity3d file.
- Some limitation on the usage of the Sockets.
- Disallowing invocation of any method we deemed off limits. (things like File.Delete, etc).
- Disallowing the usage of System.Reflection.* to call private/internal methods in classes you did not write yourself.
If your problem is not listed above, please contact us with your OS and browser versions so we can try to sort it out.