Legacy Documentation: Version 5.3
Troubleshooting Webplayer
Mobile Developer Checklist

Webplayer Player Settings

This page details the Player Settings specific to webplayers. A description of the general Player Settings can be found here.

Resolution And Presentation

Property: Function:
Resolution
Default Screen Width Screen Width the player will be generated with.
Default Screen Height Screen Height the plater will be generated with.
Run in background Check this if you don’t want to stop executing your game if the player loses focus.
WebPlayer Template Custom host pages and other files for webplayer deployment. See the page about using WebPlayer templates for further details.

Other Settings

Property: Function:
Rendering
Rendering Path This property is shared between Standalone and WebPlayer content.
        Forward with Shaders Good support for lighting features; limited support for shadows.
        Deferred Lighting Best support for lighting and shadowing features, but requires certain level of hardware support. Best used if you have many realtime lights. (NOTE: If the camera’s projection mode is set to Orthographic, this value is overridden, and the camera will always use Forward rendering.)
        Legacy Vertex Lit Lowest lighting fidelity, no shadows support. Best used on old machines or limited mobile platforms.
        Legacy Deffered (light prepass) Best support for lighting and shadowing features, but requires certain level of hardware support. Best used if you have many realtime lights.
Color Space Which color space should be used for rendering? The options are Gamma and Linear.
Auto Graphics API Automatically use the best graphics API
Static Batching Set this to use Static batching on your build (Inactive by default in webplayers).
Dynamic Batching Set this to use Dynamic Batching on your build (Activated by default).
GPU Skinning Should DX11/ES3 GPU skinning be enabled?
Streaming
First Streamed Level If you are publishing a Streamed Web Player, this is the index of the first level that will have access to all Resources.Load assets.
Configuration
Disable HW Statistics When checked the application will send information about the hardware to Unity (See hwstats page for more details).
Scripting Define Symbols Custom compilation flags (see the platform dependent compilation page for details).
Optimization
Prebake Collision Meshes Should collision data be added to meshes at build time?
Preload Shaders Should shaders be loaded when the player starts up?
Preloaded Assets An array of assets to be loaded when the player starts up.
Vertex Compression Compress the chosen vertices
Optimize Mesh Data Remove any data from meshes that is not required by the material applied to them (tangents, normals, colors, UV).

Details

The Default Screen Width and Default Screen Height are added to the generated HTML file to specify the width and height of the player content. For custom templates, these values can be accessed via the UNITY_WIDTH and UNITY_HEIGHT template tags (see Using WebPlayer Templates for more information). In the default template, the values are used in the embedded JavaScript and CSS. The easiest way to locate them is usually to search for the numeric values in the generated HTML text.

Troubleshooting Webplayer
Mobile Developer Checklist