menu
 

在 Audiokinetic 社区问答论坛上,用户可对 Wwise 和 Strata 相关问题进行提问和解答。如需从 Audiokinetic 技术支持团队获取答复,请务必使用技术支持申请单页面。

0 投票
Using Unity 2017.3.0f3 with Wwise Integration 2017.2.0.6500.947

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

{code:java}
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
{code}

- 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?
分类:General Discussion | 用户: Ed R. (140 分)

1个回答

+1 投票
 
已采纳

I also have the same issue, using Wwise 2019.1.4 - Unity 2019.2.9f1

I think it's related to the fact that both, source and destination paths for banks generation are the same (StreamingAssets/Audio/[PlatformName])

I made a quick fix to solve this issue, within the AKBuildPostProcessor.cs file, but it's not ideal.

Check this PasteBin: https://pastebin.com/DKzeb5x6

 

 

用户: Raúl Emmanuel I. (820 分)
采纳于 用户:Ed R.
...