- Home /
XBox One Build FileNotFoundException
Hey, I'm trying to make an Xbox One Build. I have been working fine for weeks but kind of out of nowhere I'm getting hit with a file not found exception. It is looking for a analytics dll in the temp folder. Which is weird because its there, like unity generates it when you launch unity. Any direction would be helpful. I've tried reinstalling the XBox one plugin, recloning my project, turning it off and on again. no luck so far. the full error is:
FileNotFoundException: Could not find file "D:\Unity_Games\bestpartyever\BestPartyEver_UnityProject\Temp/StagingArea/Data\AOTCompileStep\UnityEngine.Analytics.dll.native.dll" or "D:\Unity_Games\bestpartyever\BestPartyEver_UnityProject\Temp/StagingArea/Data\AOTCompileStep\UnityEngine.Analytics.dll.native"
System.IO.File.Copy (System.String sourceFileName, System.String destFileName, Boolean overwrite) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.IO/File.cs:124)
System.IO.File.Copy (System.String sourceFileName, System.String destFileName) (at /Users/builduser/buildslave/mono-runtime-and-classlibs/build/mcs/class/corlib/System.IO/File.cs:86)
UnityEditor.XboxOne.XboxOneUtils.LinkMonoAssemblyStep2 (System.String buildingDataFolder, System.String inputName, System.String outputDir, System.String installPath, Boolean generatePdb) (at C:/buildslave/unity/build/PlatformDependent/XboxOne/Editor/Managed/XboxOneUtils.cs:443)
UnityEditor.XboxOne.XboxOneUtils.LinkMonoAssembliesParallel (System.String sourceAssembliesFolder, System.String targetCrossCompiledASMFolder, System.String installPath, BuildOptions options) (at C:/buildslave/unity/build/PlatformDependent/XboxOne/Editor/Managed/XboxOneUtils.cs:272)
UnityEditor.PostProcessXboxOnePlayer.CompileAOTCode (BuildTarget target, BuildOptions options, System.String installPath, System.String stagingAreaData, System.String stagingAreaDataManaged, System.String[]& managedDlls) (at C:/buildslave/unity/build/PlatformDependent/XboxOne/Editor/Managed/PostProcessXboxOnePlayer.cs:76)
UnityEditor.PostProcessXboxOnePlayer.PostProcess (BuildTarget target, BuildOptions options, System.String installPath, System.String stagingAreaData, System.String stagingArea, System.String playerPackage, System.String stagingAreaDataManaged) (at C:/buildslave/unity/build/PlatformDependent/XboxOne/Editor/Managed/PostProcessXboxOnePlayer.cs:213)
UnityEditor.XboxOne.XboxOneBuildPostprocessor.PostProcess (BuildPostProcessArgs args) (at C:/buildslave/unity/build/PlatformDependent/XboxOne/Editor/Managed/ExtensionModule.cs:85)
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()
Comment