# ❓ 7. FAQ & Troubleshooting

**Q: I get a `DllNotFoundException: fmodstudioL` error.**\
**A:** You forgot to import the native libraries. Download the official FMOD for Unity package and import only the `Plugins` folder into your project.

**Q: My background music is being culled/muted when I move the camera!**\
**A:** Your music event is being treated as a 3D sound. Open FMOD Studio, select your music event, and **delete the `Spatializer` effect** from the Master Track. Rebuild your banks. The system will automatically detect it as a 2D sound (`MaxDistance = 0`) and disable culling for it.

**Q: When I spawn 1,000 enemies, some sounds don't play or cut off abruptly.**\
**A:** You are experiencing "Voice Stealing Thrashing". FMOD has a hard limit of 256 channels.

1. Open FMOD Studio and reduce the `Max Distance` of your enemy sounds so they cull earlier.
2. Set `Max Instances` (e.g., to 20) in the event's Macros, and set `Stealing` to `Virtualize` or `Furthest`.
3. Ensure your looping sounds have a **Loop Region** on the FMOD timeline, otherwise, they will die naturally while virtualized.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sniveler-code.gitbook.io/dots/audio-dispatcher-fmod/7.-faq-and-troubleshooting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
