Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Accidentally clicked on "Update Runtime" and now my project wont build.

Discussion in 'Project Tiny' started by tomny, Jan 20, 2019.

  1. tomny

    tomny

    Joined:
    Sep 12, 2015
    Posts:
    16
    I tried restarting my editor but now I cant build my project anymore because of this error


    Exception: Tiny: fs.js:646
    return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
    ^
    Error: ENOENT: no such file or directory, open 'C:\Unity\FacebookTests\Tiny\Dist\runtimedll\RuntimeFull.d.ts'
    at Object.fs.openSync (fs.js:646:18)
    at Object.fs.openSync (pkg/prelude/bootstrap.js:483:32)
    at Object.fs.readFileSync (fs.js:551:33)
    at Object.fs.readFileSync (pkg/prelude/bootstrap.js:679:36)
    at allInputs.forEach.file (C:\snapshot\manager\tscompile\index.js:309:46)
    at Array.forEach (<anonymous>)
    at Object.run (C:\snapshot\manager\tscompile\index.js:308:19)
    at Object.<anonymous> (C:\snapshot\manager\index.js:47:6)
    at Module._compile (pkg/prelude/bootstrap.js:1252:22)
    at Object.Module._extensions..js (module.js:661:10)

    Unity.Tiny.TinyShell.RunInShell (System.String command, Unity.Tiny.ShellProcessArgs args) (at Library/PackageCache/com.unity.tiny@0.13.4-preview/Editor/Utility/TinyShell.cs:217)
    Unity.Tiny.TinyShell.RunTool (System.String name, System.String[] args) (at Library/PackageCache/com.unity.tiny@0.13.4-preview/Editor/Utility/TinyShell.cs:71)
    Unity.Tiny.TinyBuildUtilities.CompileTypeScript (System.IO.FileInfo tsConfigFile, System.IO.FileInfo outMetadataFile) (at Library/PackageCache/com.unity.tiny@0.13.4-preview/Editor/Export/TinyBuildUtilities.cs:397)
    Unity.Tiny.TinyScriptingManager.CompileScripts (Unity.Tiny.TinyBuildOptions buildOptions) (at Library/PackageCache/com.unity.tiny@0.13.4-preview/Editor/Context/TinyScriptingManager.cs:58)
    Unity.Tiny.TinyBuildUtilities.CompileScripts (Unity.Tiny.TinyBuildOptions buildOptions) (at Library/PackageCache/com.unity.tiny@0.13.4-preview/Editor/Export/TinyBuildUtilities.cs:430)
    Unity.Tiny.TinyBuildUtilities.CompileScripts () (at Library/PackageCache/com.unity.tiny@0.13.4-preview/Editor/Export/TinyBuildUtilities.cs:423)
    Unity.Tiny.TinyScriptUtility+PostProcessor.OnPostprocessAllAssets (System.String[] importedAssets, System.String[] deletedAssets, System.String[] movedAssets, System.String[] movedFromAssetPaths) (at Library/PackageCache/com.unity.tiny@0.13.4-preview/Editor/Scripting/TinyScriptUtility.cs:226)
    System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
    Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
    System.Reflection.MonoMethod.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
    System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
    UnityEditor.AssetPostprocessingInternal.PostprocessAllAssets (System.String[] importedAssets, System.String[] addedAssets, System.String[] deletedAssets, System.String[] movedAssets, System.String[] movedFromPathAssets) (at C:/buildslave/unity/build/Editor/Mono/AssetPostprocessor.cs:141)

     

    Attached Files:

  2. tomny

    tomny

    Joined:
    Sep 12, 2015
    Posts:
    16
    I think I finally fixed it by deleting the Tiny folder in the root of the project, but this still shouldn't happen I'm guessing..