Search Unity

  1. Unity 2019.1 is now released.
    Dismiss Notice

How to Install the Tiny package

Discussion in 'Project Tiny' started by raymondyunity, Jan 14, 2019.

  1. raymondyunity

    raymondyunity

    Unity Technologies

    Joined:
    Apr 30, 2018
    Posts:
    80
    Official documentation can be found here:
    https://docs.unity3d.com/Packages/com.unity.tiny@0.13/manual/installing-tiny.html

    Package Manager

    1. From the menu, choose Window > Package Manager to open the package manager.
    installation1 (2).PNG
    2. In the package manager, check the Advanced dropdown and make sure Show Preview Packages is enabled.
    installation2.PNG installation3.PNG
    3. From the package list in the left-hand pane, choose Tiny Mode.
    4. In the right-hand pane, click the Install button

    .Net 4.x Prerequisite
    upload_2019-1-14_14-27-27.png
    Tiny Mode requires that your project use the latest version of the scripting runtime. You can update this setting by doing the following:
    1. From the menu, choose Edit > Project Settings... to open the Project Settings window.
    2. In the Player section, set the Configuration > Scripting Runtime Version to .Net 4.x Equivalent.
    Training Videos
     
    Last edited: Jan 15, 2019
    gepengstudio likes this.
  2. gepengstudio

    gepengstudio

    Joined:
    Aug 3, 2018
    Posts:
    1
    thanks. very much
     
  3. castana1962

    castana1962

    Joined:
    Apr 10, 2013
    Posts:
    353
    Hi
    I am trying the Tiny project in Unity 2018.3.8f1 and I cannot import examples
    I did the following
    1- I created a 2D Project en Unity
    2- Imported the Tiny Mode from Package Manager ( 0.14.2 preview)
    3- The project setting/ player is Net 4x Equivalent
    4. Then I try to import the samples from Tiny/Import Samples and I got the following Error

    Exception: Failed to update dependencies:
    TINY SHELL> D:\ProyectoTinyECS2D\Tiny\Dist
    SET PATH=C:\Program Files\Unity\Hub\Editor\2018.3.8f1\Editor\Data\MonoBleedingEdge\bin;%PATH%
    bee.exe


    For it, Could anybody help me to fix it?
    Thanks for your time
    Best Regards
    Alejandro
     
    Kamerger likes this.
  4. rom12345

    rom12345

    Joined:
    Jul 6, 2017
    Posts:
    1
    I'm getting the same error ?
     
  5. castana1962

    castana1962

    Joined:
    Apr 10, 2013
    Posts:
    353
    Hi
    I fixed the problem when I created a new project and installed the 0.14.1 Version.
    Hope this help !!!
    Regards
    Alejandro
     
  6. raymondyunity

    raymondyunity

    Unity Technologies

    Joined:
    Apr 30, 2018
    Posts:
    80
    Fixed in 0.14.3-preview.
     
  7. Skyblade

    Skyblade

    Joined:
    Nov 19, 2013
    Posts:
    56
    I'm getting this error in 0.14.4-preview

     
  8. Marc477

    Marc477

    Joined:
    Jan 16, 2017
    Posts:
    7
    I get the same error in 14.4. and all other 14 versions.


    Build step 'Compiling Scripts' failed with exception: System.TypeInitializationException: The type initializer for 'Unity.Tiny.TinyRuntimeInstaller' threw an exception. ---> System.Exception: Failed to update dependencies:
    TINY SHELL> C:\Users\marc4\Documents\Unity\CarGame\Tiny\Dist
    SET PATH=C:\Program Files\Unity-2018-3-12\Editor\Data\MonoBleedingEdge\bin;%PATH%
    bee.exe

    error: Cannot find system reference mscorlib in assembly references
     
  9. Marc477

    Marc477

    Joined:
    Jan 16, 2017
    Posts:
    7
    Actually in 14.3 its a bit different error. Errors happen after I try to create new Tiny project.


    UnauthorizedAccessException: Access to the path 'C:\Users\marc4\Documents\Unity\CarGame\Tiny\Dist\Bees\BuildProgram.bee.cs' is denied.
    System.IO.__Error.WinIOError (System.Int32 errorCode, System.String maybeFullPath) (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
    System.IO.FileInfo.Delete () (at <d7ac571ca2d04b2f981d0d886fa067cf>:0)
    Unity.Tiny.TinyBuildUtilities.PurgeDirectory (System.IO.DirectoryInfo dir) (at Library/PackageCache/com.unity.tiny@0.14.3-preview/Editor/Export/TinyBuildUtilities.cs:496)
    Unity.Tiny.TinyBuildUtilities.PurgeDirectory (System.IO.DirectoryInfo dir) (at Library/PackageCache/com.unity.tiny@0.14.3-preview/Editor/Export/TinyBuildUtilities.cs:492)
    Unity.Tiny.TinyBuildUtilities.PurgeDirectory (System.IO.DirectoryInfo dir) (at Library/PackageCache/com.unity.tiny@0.14.3-preview/Editor/Export/TinyBuildUtilities.cs:492)
    Unity.Tiny.TinyRuntimeInstaller.Install (System.Boolean force, System.Boolean silent) (at Library/PackageCache/com.unity.tiny@0.14.3-preview/Editor/Export/TinyRuntimeInstaller.cs:407)
    Unity.Tiny.TinyRuntimeInstaller.InstallOnLoad () (at Library/PackageCache/com.unity.tiny@0.14.3-preview/Editor/Export/TinyRuntimeInstaller.cs:33)
     
  10. Marc477

    Marc477

    Joined:
    Jan 16, 2017
    Posts:
    7
    I'M using unity 2018.3.12 by the way.

    When i run bee.exe from the console just for fun of trying I get an error thats says mscorlib can't be loaded/found.

    I tried all the 0.14.0 to 0.14.4 versions and none are working.
     
  11. kisuke_snow

    kisuke_snow

    Joined:
    May 19, 2015
    Posts:
    5
    I am getting the same error than Marc477! I tried to update a proyect to the 0.14.4 and now I can't work in none of the 0.14 versions.

    This is the error im getting on install
    Code (CSharp):
    1.  
    2. Exception: Failed to update dependencies:
    3. TINY SHELL> F:\2019\TinyProyect\CasualGolf\CasualGolf\Tiny\Dist
    4. SET PATH=D:\Unity\2018.3.2f1\Editor\Data\MonoBleedingEdge\bin;%PATH%
    5. bee.exe
    6. [32m[     0s] [0mBuild frontend of artifacts/buildprogram/tundra_buildprogram.dag ran (no suitable previous build dag file)
    7. [32m[1/8  0s] [0mCSProject build.gen.csproj
    8. [32m[2/8  0s] [0mWriteResponseFile artifacts/rsp/2201356903816615512.rsp
    9. [32m[3/8  0s] [0mVisualStudioSolution build.gen.sln
    10. [32m[4/8  1s] [0mDownload and unpack artifacts/Stevedore/7za-win-x64/.StevedoreVersion
    11. [32m[5/8  3s] [0mDownload and unpack artifacts/Stevedore/roslyn-csc-win64/.StevedoreVersion
    12. [32m[6/8  1s] [0mCsc artifacts/buildprogram/buildprogram.exe
    13. [32m[     7s] [0mBuild frontend of artifacts/tundra.dag ran (no suitable previous build dag file)
    14. [32m[1/4  1s] [0mDownload and unpack artifacts/Stevedore/7za-win-x64/.StevedoreVersion
    15. [33m[BUSY 6s] [0mDownload and unpack artifacts/Stevedore/tiny-samples/.StevedoreVersion
    16. [31m[2/4  8s] Download and unpack artifacts/Stevedore/tiny-dist/.StevedoreVersion
    17. [0m[33m##### CommandLine
    18. [0mF:\2019\TinyProyect\CasualGolf\CasualGolf\Tiny\Dist\bee.exe steve internal-unpack testing tiny-dist/24b467d6656b00060f60cba04aa94438e2416ee1_fb80481159e1b247fa9990f42cd7b84b69c130101fd15f45e967354ad533d8b0.7z "artifacts/Stevedore/tiny-dist"
    19. [33m##### Custom Environment Variables
    20. [0mBEE_INTERNAL_STEVEDORE_7ZA=F:\2019\TinyProyect\CasualGolf\CasualGolf\Tiny\Dist\artifacts\Stevedore\7za-win-x64\7za.exe
    21. [33m##### ExitCode
    22. [0m1
    23. [33m##### Output
    24. [0mstevedore: Failed to download (network error): http://stevedore.hq.unity3d.com/r/testing/tiny-dist/24b467d6656b00060f60cba04aa94438e2416ee1_fb80481159e1b247fa9990f42cd7b84b69c130101fd15f45e967354ad533d8b0.7z
    25. No se puede resolver el nombre remoto: 'stevedore.hq.unity3d.com'
    26. [31m[3/4  8s] Download and unpack artifacts/Stevedore/tiny-samples/.StevedoreVersion
    27. [0m[33m##### CommandLine
    28. [0mF:\2019\TinyProyect\CasualGolf\CasualGolf\Tiny\Dist\bee.exe steve internal-unpack testing tiny-samples/24b467d6656b00060f60cba04aa94438e2416ee1_0aa6216384de2bba66969d0e60403ed2f7973b947832c2b4b29438df1a671f50.7z "artifacts/Stevedore/tiny-samples"
    29. [33m##### Custom Environment Variables
    30. [0mBEE_INTERNAL_STEVEDORE_7ZA=F:\2019\TinyProyect\CasualGolf\CasualGolf\Tiny\Dist\artifacts\Stevedore\7za-win-x64\7za.exe
    31. [33m##### ExitCode
    32. [0m1
    33. [33m##### Output
    34. [0mstevedore: Failed to download (network error): http://stevedore.hq.unity3d.com/r/testing/tiny-samples/24b467d6656b00060f60cba04aa94438e2416ee1_0aa6216384de2bba66969d0e60403ed2f7973b947832c2b4b29438df1a671f50.7z
    35. No se puede resolver el nombre remoto: 'stevedore.hq.unity3d.com'
    36. [31m*** Bee build failed (17.06 seconds), 3 items updated[0m
    37.  
    38.  
    39.  
    40. Unity.Tiny.TinyRuntimeInstaller.UpdateToolchain (System.Boolean force) (at Library/PackageCache/com.unity.tiny@0.14.4-preview/Editor/Export/TinyRuntimeInstaller.cs:430)
    41. Unity.Tiny.TinyRuntimeInstaller.Install (System.Boolean force, System.Boolean silent) (at Library/PackageCache/com.unity.tiny@0.14.4-preview/Editor/Export/TinyRuntimeInstaller.cs:439)
    42. Unity.Tiny.TinyRuntimeInstaller.LazyInstall () (at Library/PackageCache/com.unity.tiny@0.14.4-preview/Editor/Export/TinyRuntimeInstaller.cs:40)
    43. Unity.Tiny.TinyRuntimeInstaller..cctor () (at Library/PackageCache/com.unity.tiny@0.14.4-preview/Editor/Export/TinyRuntimeInstaller.cs:21)
    44. Rethrow as TypeInitializationException: The type initializer for 'Unity.Tiny.TinyRuntimeInstaller' threw an exception.
    45. Unity.Tiny.TinyShell.RunToolNoWait (System.String name, System.String[] args, System.Diagnostics.DataReceivedEventHandler outputReceived, System.Diagnostics.DataReceivedEventHandler errorReceived) (at Library/PackageCache/com.unity.tiny@0.14.4-preview/Editor/Utility/TinyShell.cs:77)
    46. Unity.Tiny.BasicServer.SetupProcess () (at Library/PackageCache/com.unity.tiny@0.14.4-preview/Editor/LiveLink/BasicServer.cs:165)
    47. Unity.Tiny.BasicServer.Listen (System.Int32 port) (at Library/PackageCache/com.unity.tiny@0.14.4-preview/Editor/LiveLink/BasicServer.cs:221)
    48. Unity.Tiny.WebSocketServer+<>c.<Initialize>b__40_0 (Unity.Tiny.TinyProject project, Unity.Tiny.TinyContext context) (at Library/PackageCache/com.unity.tiny@0.14.4-preview/Editor/LiveLink/WebSocketServer.cs:128)
    49. Unity.Tiny.TinyEditorApplication.LoadContext (Unity.Tiny.TinyEditorContext context) (at Library/PackageCache/com.unity.tiny@0.14.4-preview/Editor/Windows/TinyEditorApplication.cs:949)
    50. Unity.Tiny.TinyEditorApplication.LoadProject (System.String projectFile, Unity.Tiny.TinyContext context) (at Library/PackageCache/com.unity.tiny@0.14.4-preview/Editor/Windows/TinyEditorApplication.cs:561)
    51. Unity.Tiny.TinyEditorApplication.LoadPersistenceId (System.String persistenceId, Unity.Tiny.TinyContext context) (at Library/PackageCache/com.unity.tiny@0.14.4-preview/Editor/Windows/TinyEditorApplication.cs:623)
    52. Unity.Tiny.TinyEditorApplication.LoadTemp (Unity.Tiny.ContextUsage usage) (at Library/PackageCache/com.unity.tiny@0.14.4-preview/Editor/Windows/TinyEditorApplication.cs:853)
    53. Unity.Tiny.TinyEditorApplication+<>c.<Update>b__32_0 () (at Library/PackageCache/com.unity.tiny@0.14.4-preview/Editor/Windows/TinyEditorApplication.cs:141)
    54. UnityEditor.EditorApplication.Internal_CallDelayFunctions () (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:209)
     
  12. ArturoNereu

    ArturoNereu

    Joined:
    Aug 23, 2012
    Posts:
    9
    Sorry to hear you are having these issues. Is related to Tiny getting some references from an internal server but somehow a server configuration changed. The team is aware and looking for a solution as we speak.
     
  13. VinesStudio

    VinesStudio

    Joined:
    Nov 14, 2016
    Posts:
    1
    The same issues!
     
  14. gamayun

    gamayun

    Joined:
    Nov 20, 2012
    Posts:
    3
    Same here, I'm not sure but I believe for me it has to do with the PATH values, hard coded somewhere "Program Files" when (I'm french) I do have "Programmes"?... Anyway I'm back to 0.14.3 and it works great, and I'm having fun playing with ECS and Tiny project. You are doing an amazing job Unity people!
     
  15. foobar

    foobar

    Joined:
    Jan 28, 2010
    Posts:
    90
    I'm still getting this error. Any word on when a fix will be available? Thanks.
     
    Exsert likes this.
  16. Exsert

    Exsert

    Joined:
    Oct 22, 2015
    Posts:
    30
    I am also getting the error, I can't use any version now sadly :(
     
  17. Exsert

    Exsert

    Joined:
    Oct 22, 2015
    Posts:
    30
    Thanks for getting back to us @raymondyunity,

    When I go to that link it returns a 404, is this a private repo?
     
  18. raymondyunity

    raymondyunity

    Unity Technologies

    Joined:
    Apr 30, 2018
    Posts:
    80
    @Exsert I have mistaken that repo as a public repo. You will have to wait for the official reelase on package manager.
     
  19. Exsert

    Exsert

    Joined:
    Oct 22, 2015
    Posts:
    30
    Ah, that is what I assumed.

    Well, I appreciate you trying to help us out :)

    It's good just to know there's a solution on it's way. If you need help testing or anything like that, just shoot me a PM.