Skip to content
Sign upLog in
← Back to Community

Install Unity in repl.it

Profile icon
RowanFromBJC

Hello!

Today I'm gonna teach you how to install the Unity hub on repl.it!
First: Create a repl and open the shell (using CTRL + SHIFT + S for Windows, or COMMAND + SHIFT + S for Mac), and type in this:

wget https://public-cdn.cloud.unity3d.com/hub/prod/UnityHub.AppImage # A file called UnityHub.AppImage will appear chmod +x ./UnityHub.AppImage # Now you can execute the file ./UnityHub.AppImage --appimage-extract # A folder called squashfs-root will appear

Now, when you are ready to start Unity, run this:

./squashfs-root/unityhub --no-sandbox

Now, you can use the Unity hub in repl.it!

Voters
Profile icon
notBrokenGlass
Profile icon
Kymarleypakau
Profile icon
TheIvoryCoder
Profile icon
MinhNguyen284
Profile icon
EliakimObame
Profile icon
MonaDokla
Profile icon
DexieTheSheep
Profile icon
AnthonyMouse
Profile icon
KamalKumar1
Profile icon
ch1ck3n
Comments
hotnewtop
Profile icon
DaCuteRaccoon

I ran all the commands in a bash shell, but got an error: /home/runner/unity/squashfs-root/unityhub-bin: error while loading shared libraries: libgobject-2.0.so.0: cannot open shared object file: No such file or directory

Profile icon
programmeruser

(unrelated) Uh, what is this?
image


image

image

image

Profile icon
RowanFromBJC

@programmeruser
dunno

Profile icon
JaBaconator

how about chrome?

Profile icon
BenjaminThoma13

What language do we make this project in. I know unity uses c# but every time i enter these commands, nothing really happens besides it installing some files

Profile icon
lin0de

@BenjaminThoma13
bash

Profile icon
brandongore502

image

how i fix?

Profile icon
KamalKumar1

Which language you use for unity

Profile icon
DaCuteRaccoon

@KamalKumar1
cpp

Profile icon
AlmightyDeaks

only problem is, replit wont let you use enough space to install an editor, any idea how you could get more

Profile icon
jakegoldman2

@AlmightyDeaks
get hacker?

Profile icon
AlmightyDeaks

@jakegoldman2
i have hacker

Profile icon
angrydoge

Itts so laggyy and it broke when I clicked add project :((((((((((((((((

Profile icon
RowanFromBJC

@angrydoge
Probably repl.it, It's just a normal free plan copy of the unity hub, my code only unpacks it and runs it.
Unless you're running it on you're own Windows/MacOS computer, this only works on linux.

Profile icon
angrydoge

O lol

@RowanFromBJC

Profile icon
DaCuteRaccoon

at least it works for you

@angrydoge

Profile icon
JBloves27

Whoa... I have to use this! Really cool!

Profile icon
Highwayman

Sickkkk game engine on replit!!