Unity scene setup
General tips
- Make an extensive use of Static Batching for duplicated models/prefabs and avoid having objects with too many split parts in the scene. Instead, try to pack all the parts with a camera framing logic (e.g., in case of a fence model made by sticks, group the sticks by side)
- Do NOT use external plugins which use scripts at runtime (e.g., plugins/script that make animations or create procedural assets from code), except the ones in Third-party tools below
- Do NOT use URP decal system
- Cloth, Wind Zone and Wheel Collider components do not work: the application does not include their engine modules.
Third-party tools
The application includes the runtime of these tools, so their components work in an environment:
| Tool | Version in the application | Components |
|---|---|---|
| SALSA LipSync Suite (Crazy Minnow Studio) | 2.5.5 | The SALSA LipSync components |
| Amplitude for WebGL (Crazy Minnow Studio) | 1.2.4 | Amplitude and AmplitudeSALSA, which give SALSA the audio levels on WebGL |
To make them work in your environment:
- License. They are paid Asset Store packages. The application ships its own licensed runtime; to build scenes with them, you need your own license of the same packages.
- Same version. Import the version listed above: a component saved by another version can carry fields the application does not read.
- Where to import them. Keep the folders the packages import into (for example
Assets/Crazy Minnow Studio/...). Do NOT move their scripts underAssets/PluginsorAssets/Standard Assets: Unity compiles the scripts there intoAssembly-CSharp-firstpass, an assembly the application does not have, so their components arrive in the application as missing scripts. - If they are already there, move the folders out of
Assets/Plugins(orAssets/Standard Assets) together with their.metafiles: the scripts keep their identity, the scenes keep their references, and Unity compiles them intoAssembly-CSharp. - The SalsaTextSync add-on is not part of the application: a scene that uses it arrives with a missing script, and the component does nothing.
- Your interpreted C# scripts cannot call these tools' APIs: use the components.
Lighting
Below some hints to setup the scene properly in order to achieve good performances on the target devices:
-
If possible, avoid real time lighting and if needed use just one directional real-time light
-
In the light baking process use the “Subtractive” and “Non-directional” modes, and pack the lightmaps at 1024x1024, keeping their number low. The project's Max Texture Size of 1024 (see 3D assets production) applies to lightmaps too: a bigger lightmap is scaled down in the build.

-
Before the light baking process, check the flag “Double sided global illumination” and set the “Cast Shadows” dropdown menu to “Two Sided”.

-
Use Light Probes and for Reflection Probes use images up to 1024x1024.
NoteRemember! Objects that have to be included in the baked lightmap, have to be marked as “Static”.
Post process
What each override of a post processing volume does in the application, on each platform:
| Override | WebGL | iOS | Android, Meta Quest, PICO |
|---|---|---|---|
| Color Adjustments, Color Curves, White Balance, Lift Gamma Gain, Shadows Midtones Highlights, Channel Mixer, Split Toning | Yes | Yes | Yes |
| Vignette | Yes | Yes | Yes |
| Tonemapping | Yes | Weak: there is no HDR buffer | No: the application removes it |
| Bloom | Yes | Weak: there is no HDR buffer | No: the application removes it |
| Bloom's Dirt Texture | No | No | No |
- The color overrides of the first row are applied together in one pass, so using several of them costs the same as using one.
- On Android, Meta Quest and PICO the application removes Bloom and Tonemapping from the scene's volumes, for performance: a scene that relies on them looks different there.
- Put the volume on the Default layer: the application's cameras read volumes on that layer only.
- The other effects (Film Grain, Chromatic Aberration, Lens Distortion, Panini Projection, Depth of Field, Motion Blur) have not been tested in the application: avoid them.
- Do NOT work in HDR color mode.