Building Game Error, baselib.dll.lib not found
Hello, Im trying to build my test project with unity 2019.4.11f1 but im getting following error at the end of building:
and here is log
IOException: Failed to Copy File / Directory from 'D:/UnityEditor/2019.4.11f1/Editor/Data/PlaybackEngines/WindowsStandaloneSupport/Variations/win32_development_il2cpp\baselib.dll.lib' to 'Temp/StagingArea/build/bin/x86/Debug\baselib.dll.lib'. UnityEditor.FileUtil.CopyFileOrDirectory (System.String source, System.String dest) (at :0) UnityEditor.WindowsStandalone.WindowsDesktopStandalonePostProcessor.CopyVariationNativeBinaries (UnityEditor.Modules.BuildPostProcessArgs args, System.String variation, System.String stagingDestination, System.Boolean copyPlayerExe, System.Boolean failIfNotBuilt, System.Boolean forSolutionBuild, System.Boolean useIl2Cpp) (at C:/buildslave/unity/build/PlatformDependent/WinPlayer/Extensions/Managed/WindowsDesktopStandalonePostProcessor.cs:233) UnityEditor.WindowsStandalone.WindowsDesktopStandalonePostProcessor.CopyVariationFolderIntoStagingArea (UnityEditor.Modules.BuildPostProcessArgs args, System.Collections.Generic.HashSet`1[T] filesToNotOverwrite) (at C:/buildslave/unity/build/PlatformDependent/WinPlayer/Extensions/Managed/WindowsDesktopStandalonePostProcessor.cs:269) DesktopStandalonePostProcessor.SetupStagingArea (UnityEditor.Modules.BuildPostProcessArgs args, System.Collections.Generic.HashSet`1[T] filesToNotOverwrite) (at :0) DesktopStandalonePostProcessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at :0) Rethrow as BuildFailedException: Exception of type 'UnityEditor.Build.BuildFailedException' was thrown. DesktopStandalonePostProcessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args) (at :0) UnityEditor.Modules.DefaultBuildPostprocessor.PostProcess (UnityEditor.Modules.BuildPostProcessArgs args, UnityEditor.BuildProperties& outProperties) (at :0) UnityEditor.PostprocessBuildPlayer.Postprocess (UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target, System.String installPath, System.String companyName, System.String productName, System.Int32 width, System.Int32 height, UnityEditor.BuildOptions options, UnityEditor.RuntimeClassRegistry usedClassRegistry, UnityEditor.Build.Reporting.BuildReport report) (at :0) UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
Did you found any solution for that? The unity reinstall worked?
Did you found any solution for that? The unity reinstall worked?
I get the same error with Unity 2019.4.16f1.
The file baselib.dll.lib is not on my machine in any folder.
Answer by JoshPeterson · Oct 07, 2020 at 12:13 PM
This error indicates that something is wrong with the Unity installation. This file should exist at the location specified. Can you try to re-install Unity?