Unity
Engine for Unity
Connect Engine to a Unity audio path, drive its sound from vehicle state at runtime, and place the result in the project mix.
Before you begin
Confirm that Engine is present in the project and identify the product edition you are using. Follow the documentation supplied with that edition for its current installation steps, control names, and runtime interface.
Begin at a comfortable monitoring level. Establish one known starting sound before connecting live vehicle data so that routing problems can be separated from unexpected input values.
Prove the audio path
Connect Engine to a Unity audio path whose lifetime and output you control. Make sure that path reaches the audible project mix, then activate the source and confirm the starting sound before adding gameplay logic.
Engine behaves as a continuing source rather than a one-shot event. Verify the active state as well as the output routing, level, and mute state when the source is silent.
Connect vehicle state
Choose a value the project already owns, such as vehicle speed, and connect it to the corresponding Engine control for the installed edition. Add one connection at a time and listen to the result before combining several changing values.
Test the idle state, the usual operating range, and the highest value the game is expected to send. Use the supplied product documentation for the accepted control ranges, and smooth abrupt gameplay changes when an immediate sonic jump would be distracting.
Manage the source lifecycle
Activate the source only while its vehicle or gameplay system owns it. Stop or disable it when that context ends, and test repeated spawning, scene changes, pauses, and destruction so an old engine sound cannot continue after its vehicle is gone.
When several vehicles can sound at once, verify that each object updates the intended Engine source and that one vehicle’s state cannot alter another vehicle’s sound.
Place it in the mix
Set the Engine level, position, attenuation, and spatial behaviour as part of the same Unity mix as the rest of the project. Audition the vehicle from the nearest and most distant listening positions the experience supports, then test the loudest expected combination of vehicles and other sounds.
Apply downstream processing through the audio routing supported by the installed edition. Recheck level and perspective after adding effects rather than treating the generated sound in isolation.
Troubleshooting
- The engine is silent: confirm that the source is active, restore a known starting state, and check its output path, level, mute state, and the main project mix.
- The sound does not follow the vehicle: verify that the gameplay value is changing, that it is connected to the intended source, and that it is within the range documented for that edition.
- Changes sound abrupt or unexpected: disconnect live values, restore the starting state, and reconnect one input at a time. Compare each input with the product’s documented range.
- A sound continues after its vehicle is inactive: make source shutdown part of the same lifecycle that disables or removes the vehicle, then repeat the transition that exposed the issue.
- The engine is difficult to place: check level, attenuation, spatial behaviour, and downstream effects from several listener positions in the complete project mix.