Surprise Me!

Unity Portable Install ✧ [ FRESH ]

Double-clicking a .unity file (your scene file) will not automatically open your portable Unity Editor. The OS looks for installed applications. You will have to manually open the portable Unity Editor first, then use File > Open Project, or drag your project folder onto the Unity.exe icon.


Since you can't set system-wide environment variables without admin rights, you'll use a launch script. Create a file LaunchUnityHub.bat at the root of your portable drive: unity portable install

@echo off
set UNITY_CACHE_DIR=D:\PortableUnity\Cache
set UNITY_TEMP_DIR=D:\PortableUnity\Temp
set UNITY_EDITOR_LOG_DIR=D:\PortableUnity\Logs
set LOCALAPPDATA=D:\PortableUnity\LocalAppData

start "" "D:\PortableUnity\Hub\Unity Hub.exe" Double-clicking a

Double-click this batch file every time you want to run Unity. It redirects all Unity temp and cache files to your portable drive. Double-click this batch file every time you want


Instead of letting Hub install editors (which writes to AppData), download the official Unity Editor from the Unity Download Archive.

Pro tip: Rename the folder to include the full version, like 2022.3.20f1 or 2023.2.0b1. The Unity Hub will automatically detect any subfolder containing Editor\Unity.exe.