Hey Guys,
I’m trying to build my game for the Universal Windows Platform and i’m always getting this error:
UnauthorizedAccessException: Access to the path "Temp\StagingArea\Data\Managed\sqlite3.dll" is denied.
System.IO.File.Delete (System.String path) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/File.cs:179)
System.IO.Directory.RecursiveDelete (System.String path) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/Directory.cs:195)
System.IO.Directory.Delete (System.String path, Boolean recursive) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/Directory.cs:205)
Utility.DeleteDirectory (System.String path) (at C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/Utility.cs:303)
PostProcessWinRT.MoveDataManagedToRoot () (at C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/PostProcessWinRT.cs:469)
PostProcessWinRT.Process () (at C:/buildslave/unity/build/PlatformDependent/WinRT/SharedSources/CSharp/PostProcessWinRT.cs:121)
UnityEditor.Metro.BuildPostprocessor.PostProcess (BuildPostProcessArgs args) (at C:/buildslave/unity/build/PlatformDependent/MetroPlayer/Extensions/Managed/ExtensionModule.cs:133)
UnityEditor.PostprocessBuildPlayer.Postprocess (BuildTarget target, System.String installPath, System.String companyName, System.String productName, Int32 width, Int32 height, System.String downloadWebplayerUrl, System.String manualDownloadWebplayerUrl, BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry) (at C:/buildslave/unity/build/Editor/Mono/BuildPipeline/PostprocessBuildPlayer.cs:316)
UnityEditor.HostView:OnGUI()
and this one:
Error building Player: UnauthorizedAccessException: Access to the path "Temp\StagingArea\Data\Managed\sqlite3.dll" is denied.
I already tried to run Unity as administrator but it’s not helping.
I don’t get any errors when building for Android or PC and i’m using the newest version of Unity.
Does anyone know how to fix this ??
Thanks in advantage