Community Q&A

Where Wwise users help each other out!

Audiokinetic's Community Q&A is the forum where Wwise users ask and answer questions within the Wwise community. Contact Sales if your project requires a support plan.

Unity Cloud Build IOException: Sharing violation with "Enable copying of soundbanks at pre-Build step"

0 votes
Using Unity 2017.3.0f3 with Wwise Integration 2017.2.0.6500.947

Windows and macOS builds fail on Unity Cloud Build with error:

31194: [Unity] Player export failed. Reason: IOException: Sharing violation on path /BUILD_PATH/tea-clipper-games.proj-rip-tcg.release-windows-64-bit/Assets/StreamingAssets/Audio/GeneratedSoundBanks/Windows/163730314.wem" or "/BUILD_PATH/tea-clipper-games.proj-rip-tcg.release-windows-64-bit/Assets/StreamingAssets/Audio/GeneratedSoundBanks/Windows/163730314.wem

- The Unity engineers identified the issue as coming from Assets/Wwise/Editor/WwiseSetupWizard/AkBuildPreprocessor.cs as it tries to copy files.
- Local builds on Windows 10 complete successfully
- Issue started after setting "Enable copying of soundbanks at pre-Build step" in Wwise Settings
- Audio fails to play if the option is not set.

Has anyone else experienced this? Is there a workaround?
asked Feb 27, 2018 in General Discussion by Ed R. (100 points)

Please sign-in or register to answer this question.