Unity unable to find %game-name%_Data despite the fact that the folder is there
hello, i recently started to work on a SDK for my game, i made a test build and get a error. [Excerpt from output_log.txt] (There should be 'The Drift SDK_Data' folder next to the executable ) The data folder is there with everything in it, i cant work out the error myself as there is only a scene, two animations and a png image in that build so far.
Edit 1: Unity editor output log: FileNotFoundException: Could not find file "C:\Program Files\Unity\Editor\Data\PlaybackEngines\windowsstandalonesupport\Managed\UnityEngine.dll". System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.IO/FileStream.cs:305) System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare) Mono.Cecil.ModuleDefinition.GetFileStream (System.String fileName, FileMode mode, FileAccess access, FileShare share) Mono.Cecil.ModuleDefinition.ReadModule (System.String fileName, Mono.Cecil.ReaderParameters parameters) Mono.Cecil.ModuleDefinition.ReadModule (System.String fileName) Mono.Cecil.AssemblyDefinition.ReadAssembly (System.String fileName) UnityEditor.AssemblyHelper.GetAssemblyDefinitionCached (System.String path, System.Collections.Generic.Dictionary`2 cache) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:74) UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List`1 alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2 cache, BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:101) UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:179) UnityEditor.HostView:OnGUI()
Answer by bourbon9 · Apr 22, 2018 at 05:23 PM
ok i think i know what it it, corrupt unity install or missing unity files, ill try a reinstall as i still have the installer