Search Unity

Win32Exception when importing sample projects

Discussion in 'Project Tiny' started by vhagharvhaghar, Aug 29, 2019.

  1. vhagharvhaghar

    vhagharvhaghar

    Joined:
    Feb 19, 2015
    Posts:
    15
    Whenever I try to import the samples I get this error :

    Code (CSharp):
    1. Win32Exception: ApplicationName='cmd.exe', CommandLine='/Q /C "C:\Users\SAIF__~1\AppData\Local\Temp\df35fefc-d2ed-4ae3-86f7-81629aee8074.bat"', CurrentDirectory='C:\Users\saif__000\Desktop\PTR\TINY_18', Native error= The system cannot find the file specified.
    2.  
    3. System.Diagnostics.Process.StartWithCreateProcess (System.Diagnostics.ProcessStartInfo startInfo) (at <3845a180c26b4889bc2d47593a665814>:0)
    4. System.Diagnostics.Process.Start () (at <3845a180c26b4889bc2d47593a665814>:0)
    5. (wrapper remoting-invoke-with-check) System.Diagnostics.Process.Start()
    6. Unity.Tiny.TinyShell.StartProcess (System.String command, System.String arguments, System.IO.DirectoryInfo workingDirectory, System.Diagnostics.DataReceivedEventHandler outputReceived, System.Diagnostics.DataReceivedEventHandler errorReceived) (at Library/PackageCache/com.unity.tiny@0.14.5-preview/Editor/Utility/TinyShell.cs:247)
    7. Unity.Tiny.TinyShell.RunInShell (System.String command, Unity.Tiny.ShellProcessArgs args) (at Library/PackageCache/com.unity.tiny@0.14.5-preview/Editor/Utility/TinyShell.cs:217)
    8. Unity.Tiny.TinyPreferences+ProgramPath.TryGetVersion (System.String directory, System.String command, System.String& version) (at Library/PackageCache/com.unity.tiny@0.14.5-preview/Editor/Windows/TinyPreferences.cs:137)
    9. Unity.Tiny.TinyPreferences+ProgramPath.Initialize () (at Library/PackageCache/com.unity.tiny@0.14.5-preview/Editor/Windows/TinyPreferences.cs:94)
    10. Unity.Tiny.TinyPreferences+ProgramPath.get_Value () (at Library/PackageCache/com.unity.tiny@0.14.5-preview/Editor/Windows/TinyPreferences.cs:50)
    11. Unity.Tiny.TinyPreferences.get_MonoDirectory () (at Library/PackageCache/com.unity.tiny@0.14.5-preview/Editor/Windows/TinyPreferences.cs:323)
    12. Unity.Tiny.TinyRuntimeInstaller.UpdateToolchain (System.Boolean force) (at Library/PackageCache/com.unity.tiny@0.14.5-preview/Editor/Export/TinyRuntimeInstaller.cs:416)
    13. Unity.Tiny.TinyRuntimeInstaller.Install (System.Boolean force, System.Boolean silent) (at Library/PackageCache/com.unity.tiny@0.14.5-preview/Editor/Export/TinyRuntimeInstaller.cs:439)
    14. Unity.Tiny.TinyRuntimeInstaller.LazyInstall () (at Library/PackageCache/com.unity.tiny@0.14.5-preview/Editor/Export/TinyRuntimeInstaller.cs:40)
    15. Unity.Tiny.TinyRuntimeInstaller..cctor () (at Library/PackageCache/com.unity.tiny@0.14.5-preview/Editor/Export/TinyRuntimeInstaller.cs:21)
    16. Rethrow as TypeInitializationException: The type initializer for 'Unity.Tiny.TinyRuntimeInstaller' threw an exception.
    17.