Run your own Unity Package Server!

Looking at the Package Manger package in the Package Manager

Step 1: Creating a server instance

Connect to your new instance
This is how we talk to our debian linux server

Step 2: Installing and Configuring Verdaccio

Prerequisites

nodejs and npm are installed!

Installing Verdaccio

Verdaccio is running on port 4873!

Firewall

Add a Rule to the Firewall
I marked the important bits in yellow. Turns out most of the bits were important…
Verdaccio is running, but empty

Keeping Verdaccio alive

Step 3: Creating a user

User created!

Step 4: Creating and uploading packages

package.json for a package without dependencies
Your final folder could look like this

Updates

Dependencies

package.json for a package with dependencies

Step 5: PackageManager, meet Verdaccio!

Add this to the top of your Packages/manifest.json
Our own package in the Unity Package Manager, served from our own npm package server!

Bonus

Unpublish (remove) a package from the server

Restrict access

Reserve a static IP address

Remove Uplinks

Little use looking for unity packages on the npmjs registry

--

--

--

XR specialist, exploring the multitude of potential futures one prototype at a time.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

MyListing v1.5 Update!

Container signing with Notary v2

Timeular Time Integrations

Siii … iii … iiigh

Let’s get started with cloud computing

Why was Google down? 🤔

Google logo image

How to integrate InfluxDB with AWS

Easy ways for kids to learn coding

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Markus X. Hofer

Markus X. Hofer

XR specialist, exploring the multitude of potential futures one prototype at a time.

More from Medium

Creating a Simple Cooldown System in Unity Using Time.time

Using GIT for version control with Unity pt.1

Unity: Simple Player Movement

Star Wars Storm Trooper mini figure walking on sandy surface

Using Cookies to Create Realistic Lighting- Game Dev Series 165