Overview

This page will walk you through the set up needed to connect to the STREAMSIX scoped registry to get our Unity and NuGet packages.

Create account

  • Register an account on our developer portal
  • Use a username that does not have @ sign as npm does not allow this character, it is NOT recommended that you use an email as your username. You can change your username at our user portal if you already have an account that you want to use instead.
  • Verify you can login to our registry website with your account credentials.

If you have any account issues, you can contact us at hello@streamsix.com. If possible, please use the email that your account has registered so we can verify your account state.

Setting up your Unity Editor

  • Install npm
  • Run npm login:
npm login --registry=https://repo.streamsix.com/repository/npm-snapshot-local/
  • The command will prompt you for your username, password and email, use the user that was created in the previous step for this
  • If you successfully log in you should see a msg like:
Log in on https://repo.streamsix.com/repository/npm-snapshot-local
  • Logging in will add the following var to your .npmrc file
//repo.streamsix.com/repository/npm-snapshot-local/:_authToken={{some_auth_token_value}}
  • Locate your .npmrc file and copy the value of _authToken
  • In the same directory that contains your .npmrc file, create a file named .upmconfig.toml with the following contents:
[npmAuth."https://repo.streamsix.com/repository/npm-snapshot-local/"]
token = "{_authToken from your .npmrc file here}"
email = "{your-email}"
alwaysAuth = true
  • Next in the unity project you wish to add packages to, open the package manager
    • You can find the package manager by going to EditProject SettingsPackage Manager
  • Fill out the name, URL and scope, and hit "Apply"
    - Name = STREAMSIX Packages
    - URL = https://repo.streamsix.com/repository/npm-snapshot-local
    - Scopes = com.streamsix
    scope
  • Now when you go to Window → Package Manager you should be able to view all active StreamSIX unity packages
    package
  • For more details on Unity Package Manager see the Unity upm docs

Setting up Visual Studio

  • Go to Preferences -> NuGet -> Sources
  • Click on Add and enter the following
  • Go to Manage NuGet Packages...
  • Select streamsix in Package sources drop down list
  • Check the Include prereleases checkbox
  • You should now see all available packages under Browse tab