I’m currently developing a Full Motion Video (FMV) game which, by its nature, contains a very large number of video and audio clips. I’ve encountered a critical issue that only appears in the built version of the game, while everything works perfectly within the Unity Editor.
The Problem: In the final build (PC/Windows Standalone), the majority of my audio clips fail to play. When the system attempts to play a referenced audio clip, the player.log file shows the following error:
Error: Cannot create FMOD::Sound instance for clip "myaudiofile.wav" (FMOD error: Error loading file. )
Key Observations:
Editor vs. Build: All audio clips play without any issues in the Editor. The problem is exclusive to the built application.
Working Audio: Curiously, not all audio is affected.
Audio tracks embedded within my video files play correctly.
There is one specific SFX (an AudioClip asset) that also plays without any problems in the build.
Past Success: A demo build of the project from about two months ago, which was around 3-4 GB and used a subset of the current assets, did not have this issue.
Troubleshooting So Far: I have tried building the project with different Unity LTS versions (both older and the latest), but the result is consistently the same.
The fact that embedded video audio and one specific SFX work correctly suggests that the FMOD system itself is functional, but there’s a file loading or referencing issue specific to most of my standalone AudioClip assets during runtime.
This is for a professional project, and I am completely blocked by this issue. Any guidance or suggestions on what to investigate next would be immensely appreciated.
Thank you.