Search Unity

  1. Unity 2019.2 is now released.
    Dismiss Notice

js error in Project Tiny scenes

Discussion in 'Project Tiny' started by SlimeEnthusiast, Dec 9, 2018.

  1. SlimeEnthusiast

    SlimeEnthusiast

    Joined:
    Mar 2, 2015
    Posts:
    7
    After working on a scene in Project Tiny for a bit, I am now getting the following error:

    Exception: Tiny: fs.js:646
    return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
    ^
    Error: ENOENT: no such file or directory, open 'C:\Users\FFF\Documents\ProjectTiny\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.2-preview/Editor/Utility/TinyShell.cs:217)
    Unity.Tiny.TinyShell.RunTool (System.String name, System.String[] args) (at Library/PackageCache/com.unity.tiny@0.13.2-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.2-preview/Editor/Export/TinyBuildUtilities.cs:397)
    Unity.Tiny.TinyScriptingManager.CompileScripts (Unity.Tiny.TinyBuildOptions buildOptions) (at Library/PackageCache/com.unity.tiny@0.13.2-preview/Editor/Context/TinyScriptingManager.cs:58)
    Unity.Tiny.TinyBuildUtilities.CompileScripts (Unity.Tiny.TinyBuildOptions buildOptions) (at Library/PackageCache/com.unity.tiny@0.13.2-preview/Editor/Export/TinyBuildUtilities.cs:430)
    Unity.Tiny.TinyBuildUtilities.CompileScripts () (at Library/PackageCache/com.unity.tiny@0.13.2-preview/Editor/Export/TinyBuildUtilities.cs:423)
    Unity.Tiny.TinyEditorApplication.LoadContext (Unity.Tiny.TinyEditorContext context, System.Boolean isChanged) (at Library/PackageCache/com.unity.tiny@0.13.2-preview/Editor/Windows/TinyEditorApplication.cs:936)
    Unity.Tiny.TinyEditorApplication.LoadProject (System.String projectFile, Unity.Tiny.TinyContext context) (at Library/PackageCache/com.unity.tiny@0.13.2-preview/Editor/Windows/TinyEditorApplication.cs:542)
    Unity.Tiny.TinyEditorApplication.LoadPersistenceId (System.String persistenceId, Unity.Tiny.TinyContext context) (at Library/PackageCache/com.unity.tiny@0.13.2-preview/Editor/Windows/TinyEditorApplication.cs:604)
    Unity.Tiny.TinyEditorApplication.LoadTemp (Unity.Tiny.ContextUsage usage) (at Library/PackageCache/com.unity.tiny@0.13.2-preview/Editor/Windows/TinyEditorApplication.cs:830)
    Unity.Tiny.ExportOnPlay+<>c.<HandlePlayStateChanged>b__2_0 () (at Library/PackageCache/com.unity.tiny@0.13.2-preview/Editor/Utility/ExportOnPlay.cs:23)
    UnityEditor.EditorApplication.Internal_CallDelayFunctions () (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:209)​

    When I click play, the editor will go into play mode, but no actual game window opens in my browser. This problem occurs even in TinySample scenes, so it doesn't appear to be a problem specific to my scene. I tried deleting and reimporting Project Tiny to no avail. I am using 2018.3.0b12. Any tips?
     
  2. etienne_unity

    etienne_unity

    Unity Technologies

    Joined:
    Aug 31, 2017
    Posts:
    54
    Hi @SlimeEnthusiast

    You can try deleting the
    C:\Users\FFF\Documents\ProjectTiny\Tiny
    folder, and re-install the runtime by using Tiny > Update Runtime.