Audiokinetic's Community Q&A is the forum where users can ask and answer questions within the Wwise and Strata communities. If you would like to get an answer from Audiokinetic's Technical support team, make sure you use the Support Tickets page.

0 votes

Hello everyone,

Any clues about this kind error when you try to compiling for Android Quest Headset or other platforms?
( see below )

In advance, many thanks

éliane

****************************

OException: The process cannot access the file 'E:\dev\gitrepos\recoverage-sahab\RECOVERAGE_SAHAB\RECOVERAGE_SAHAB\Assets\StreamingAssets\Audio\GeneratedSoundBanks\Android\Artworks.bnk' because it is being used by another process.

System.IO.FileSystem.CopyFile (System.String sourceFullPath, System.String destFullPath, System.Boolean overwrite) (at <b11ba2a8fbf24f219f7cc98532a11304>:0)

System.IO.FileInfo.CopyTo (System.String destFileName, System.Boolean overwrite) (at <b11ba2a8fbf24f219f7cc98532a11304>:0)

(wrapper remoting-invoke-with-check) System.IO.FileInfo.CopyTo(string,bool)

AkUtilities.DirectoryCopy (System.String sourceDirName, System.String destDirName, System.Boolean copySubDirs) (at Assets/Wwise/API/Runtime/Handwritten/Common/AkUtilities.cs:599)

AkBuildPreprocessor.CopySoundbanks (System.Boolean generate, System.String platformName, System.String& destinationFolder) (at Assets/Wwise/MonoBehaviour/Editor/WwiseSetupWizard/AkBuildPreprocessor.cs:102)

AkBuildPreprocessor.OnPreprocessBuildInternal (UnityEditor.BuildTarget target, System.String path) (at Assets/Wwise/MonoBehaviour/Editor/WwiseSetupWizard/AkBuildPreprocessor.cs:129)

AkBuildPreprocessor.OnPreprocessBuild (UnityEditor.Build.Reporting.BuildReport report) (at Assets/Wwise/MonoBehaviour/Editor/WwiseSetupWizard/AkBuildPreprocessor.cs:160)

UnityEditor.Build.BuildPipelineInterfaces+<>c__DisplayClass16_0.<OnBuildPreProcess>b__1 (UnityEditor.Build.IPreprocessBuildWithReport bpp) (at <1899c5bd2a6d466081cd705bee01d689>:0)

UnityEditor.Build.BuildPipelineInterfaces.InvokeCallbackInterfacesPair[T1,T2] (System.Collections.Generic.List`1[T] oneInterfaces, System.Action`1[T] invocationOne, System.Collections.Generic.List`1[T] twoInterfaces, System.Action`1[T] invocationTwo, System.Boolean exitOnFailure) (at <1899c5bd2a6d466081cd705bee01d689>:0)

UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)

 

in General Discussion by éliane b. (220 points)

1 Answer

0 votes
Hello Éliane,
Have you found a solution to your problem?
I had a similar problem here, if that helps :
-->  https://www.audiokinetic.com/qa/5718/ioexception-sharing-violation-on-path?show=5718#q5718

Hoping you'll find an answer
Théophile
by Théophile Demarcq (1.7k points)
...