Search Unity

[SOLVED] BrowserInterlop - No such file or directory

Discussion in 'Project Tiny' started by naimshah, Jun 21, 2019.

  1. naimshah

    naimshah

    Joined:
    Jun 21, 2019
    Posts:
    3
    In an attempt to replicate the BrowserInterlop sample DOTS project, I have encountered error while building. Steps to produce the error:
    1. Create a new DOTS project
    2. Copy paste /js~ & /prejs folder from sample BrowserInterlop into the project folder
    3. Copy paste RandomUserDataSystem.cs into /Scripts folder
    4. Set build target to "Web (AsmJS)"
    5. Build

    Build failed. Open D:\Unity\Tiny - Test RTS\Library\DotsRuntimeBuild\build.log for more details.
    ##### ExitCode
    1
    ##### Output
    shared:ERROR: JS=1: No such file or directory ("JS=1" was expected to be an input file, based on the commandline arguments provided)
    *** Bee build failed (53.01 seconds), 418 items updated

    UnityEngine.Debug:LogError(Object)
    Unity.Debug:LogError(Object) (at Library/PackageCache/com.unity.entities@0.0.12-preview.33/Unity.Entities/Stubs/Unity/Debug.cs:10)
    Unity.Editor.Build.BuildStepRunBee:Run(BuildContext) (at Library/PackageCache/com.unity.tiny@0.15.3-preview/Unity.Editor/Unity.Editor.Build/BuildStepRunBee.cs:83)
    Unity.Editor.Build.BuildPipeline:RunBuildSteps(IReadOnlyList`1, BuildContext) (at Library/PackageCache/com.unity.tiny@0.15.3-preview/Unity.Editor/Unity.Editor.Build/BuildPipeline.cs:137)
    Unity.Editor.Build.BuildPipeline:Build(BuildSettings) (at Library/PackageCache/com.unity.tiny@0.15.3-preview/Unity.Editor/Unity.Editor.Build/BuildPipeline.cs:110)
    Unity.Editor.Application:Build() (at Library/PackageCache/com.unity.tiny@0.15.3-preview/Unity.Editor/Unity.Editor/Application.cs:131)
    Unity.Editor.Application:BuildAndRun() (at Library/PackageCache/com.unity.tiny@0.15.3-preview/Unity.Editor/Unity.Editor/Application.cs:142)
    Unity.Editor.Modes.PlayBar:PlayCommandHandler(CommandExecuteContext) (at Library/PackageCache/com.unity.tiny@0.15.3-preview/Unity.Editor/Unity.Editor.Modes/PlayBar.cs:15)
    UnityEditor.CommandService:Execute(String)
    Unity.Editor.Modes.PlayBar:DrawPlayBar(CommandExecuteContext) (at Library/PackageCache/com.unity.tiny@0.15.3-preview/Unity.Editor/Unity.Editor.Modes/PlayBar.cs:79)
    UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

    Unity 2019.2.0b6
    Tiny 0.15.3

    Am I missing steps to prevent this error?
     
  2. JJJohan

    JJJohan

    Joined:
    Mar 18, 2016
    Posts:
    206
    My guess is the spaces in your project name aren't being escaped by the build system. Try renaming your project to have no spaces in the name (Tiny-TestRTS) and try again.
     
    sniffle63 likes this.
  3. naimshah

    naimshah

    Joined:
    Jun 21, 2019
    Posts:
    3
    Thanks. The method worked.