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

Unable to build tinyracing WASM

Discussion in 'Project Tiny' started by tao990713, Aug 4, 2020.

  1. tao990713

    tao990713

    Joined:
    Aug 1, 2020
    Posts:
    1
    Build Wasm failed after 5.46s.
    error: ֵ����Ϊ null��
    ������: executableStringFor (System.ArgumentNullException)
    at Bee.Core.Backend.AddAction
    at Unity.BuildSystem.NativeProgramSupport.CLikeCompiler.SetupInvocation
    at Unity.BuildSystem.NativeProgramSupport.NativeProgram.SetupObjectFilesAndSetupBuiltNativeProgram
    at Unity.BuildSystem.NativeProgramSupport.NativeProgram.SetupSpecificConfigurationImpl
    at Unity.BuildSystem.NativeProgramSupport.NativeProgram.SetupSpecificConfiguration
    at WebPBuild.SetupWebPAlias
    at BuildProgram.Main
    at System.RuntimeMethodHandle.InvokeMethod
    at Bee.StandaloneBeeDriver+<>c.<CreateBuildGraph>b__42_0
    at Bee.StandaloneBeeDriver.RunBuildProgramInBeeEnvironment
    at Bee.StandaloneBeeDriver.CreateBuildGraph
    at Bee.StandaloneBeeDriver.BuildMain
    at Bee.StandaloneBeeDriver.Main
    *** Tundra build failed to setup error (2.98 seconds), 0 items updated
    [E] DAG generator driver failed: "C:\Users\tao99\Desktop\ProjectTinySamples-master\TinyRacing\Library\PackageCache\com.unity.dots.runtime@0.28.0-preview.40\bee~\bee.exe" build --beemode=ToCreateBuildGraph --commandlinerequest=tinyracing-wasm --root-artifacts-path=artifacts --bee-driver-buildprogramroot=.
    UnityEngine.Debug:LogError(Object, Object)
    Unity.Build.ResultBase:LogResult() (at Library/PackageCache/com.unity.platforms@0.6.0-preview.5/Editor/Unity.Build/ResultBase.cs:60)
    Unity.Build.Editor.<>c:<.cctor>b__41_0(BuildConfiguration) (at Library/PackageCache/com.unity.platforms@0.6.0-preview.5/Editor/Unity.Build.Editor/BuildConfigurationScriptedImporterEditor.cs:55)
    Unity.Build.Editor.BuildConfigurationScriptedImporterEditor:ExecuteCurrentBuildAction() (at Library/PackageCache/com.unity.platforms@0.6.0-preview.5/Editor/Unity.Build.Editor/BuildConfigurationScriptedImporterEditor.cs:127)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr, Boolean&)
     
  2. LawlietW

    LawlietW

    Joined:
    Jul 11, 2018
    Posts:
    1
    i have same error,wait help
     
  3. chenhao_stardust

    chenhao_stardust

    Joined:
    Jul 12, 2020
    Posts:
    10
    My mistake was this
    upload_2020-8-8_23-1-17.png
     
  4. AbdulAlgharbi

    AbdulAlgharbi

    Unity Technologies

    Joined:
    Jul 27, 2018
    Posts:
    319
    Hi
    Can you remove Library\DotsRuntimeBuild\settings directory and try to build again?
    If it still happens can you share steps on how to reproduce this error?
     
  5. chenhao_stardust

    chenhao_stardust

    Joined:
    Jul 12, 2020
    Posts:
    10
    Hi
    Errors are still there
    1. New Unity Project (2020.1.1f1c1)
    2. import Tiny3D(from github)
    3. Build Path "Build/Wasm"
    end error
     
  6. AbdulAlgharbi

    AbdulAlgharbi

    Unity Technologies

    Joined:
    Jul 27, 2018
    Posts:
    319
    Lajaylar likes this.
  7. Lajaylar

    Lajaylar

    Joined:
    Jan 3, 2020
    Posts:
    5
    i have same problem! two PCs are win10. One can be released, the other is not. All requirements has been updated. The library folders on both sides have been copied to each other, but still not. So strange. sa.png
     
  8. PauSchiSea

    PauSchiSea

    Joined:
    Aug 3, 2020
    Posts:
    8
    @Layjantar have you installed in the visual studio installer the Desktop development with .NET and C++ ?
     
  9. Lajaylar

    Lajaylar

    Joined:
    Jan 3, 2020
    Posts:
    5
  10. jin1023

    jin1023

    Joined:
    Apr 1, 2020
    Posts:
    5
    The program path is a problem. I modified the program path and it can be published normally.
     
    PauSchiSea likes this.
  11. Ted_Wikman

    Ted_Wikman

    Unity Technologies

    Joined:
    Oct 7, 2019
    Posts:
    916
    @jin1023 since many people are asking about this, could you give an example of what path you were using that caused the error, and what path you later used in order to make it build?

    Great that you solved the issue
     
  12. Lajaylar

    Lajaylar

    Joined:
    Jan 3, 2020
    Posts:
    5
    I modified the program path!but not! It's a very simple path! bb.png
     
    PauSchiSea likes this.
  13. bhuvaneshcmv_unity

    bhuvaneshcmv_unity

    Joined:
    Jul 19, 2020
    Posts:
    1
    For the people for whom path was not the issue
    You need to add C++ build tools for visual studio
     
  14. AbdulAlgharbi

    AbdulAlgharbi

    Unity Technologies

    Joined:
    Jul 27, 2018
    Posts:
    319
    This should be fixed in Tiny 0.29
    Please update and let us know if you have any other issues
     
    Thaina and V_i_T like this.
  15. Lajaylar

    Lajaylar

    Joined:
    Jan 3, 2020
    Posts:
    5
  16. Djo_krd

    Djo_krd

    Joined:
    Sep 6, 2017
    Posts:
    31
    I'm using Tiny v0.29, build project from 2D-Entities-Starter template and got this error:
    upload_2020-10-1_18-36-21.png

    Windows 10 64bit
     
  17. Djo_krd

    Djo_krd

    Joined:
    Sep 6, 2017
    Posts:
    31
    I'm solved problem! By default unity install Visual Studio 2019 with just c++ support. You need to install this packages by yourself:
    • .NET desktop development
    • Windows 10 SDK
    To do this you need open Visual Studio Installer -> change -> check components that you need
     
    Kmsxkuse, Sergey_Droba and Ted_Wikman like this.