Unturned

Unturned

Not enough ratings
Setting up unity for Unturned modding
By Khakers
How to get unity setup and the basics for modding unturned.
   
Award
Favorite
Favorited
Unfavorite
Unity Version and download
IMPORTANT INFO!
AS OF NOW, THIS GUIDE IS NO LONGER CORRECT. You can follow basically all of it by importing the project example into unity 2018.4.x


The first step to setting up Unity, is to install it. Unturned requires a specific unity version, and using any other may cause unintended issues, so make sure you get the right one.

First, navigate to the unity download page.[unity3d.com]
Once there, download the installer for unity version 2018.4 LTS
If you plan on developing anything besides unturned mods on unity, Unity hub[public-cdn.cloud.unity3d.com] is a great option.
Setting up your unity install for unturned
Tag & Layer setup
Now that you've installed unity, create a new project, and leave all of the settings to their default (except for location and name, of course).
Now, navigate to your unity project folder (right click > show in explorer), and go to project settings.
now, in a different window, open up your unturned folder and navigate to "Unturned\Bundles\Sources\Examples" and copy the "TagManager.asset" file to your Unity project folder, and overwrite when asked. if it doesn't ask you have put it in the wrong place

Bundletool
Navigate to "Unturned\Bundles\Sources\Tools" and drag the bundle tool into Unity's file browser.
While the readme specifies a location, I have literally never put it there and I don't have any problems.

Examples
The easiest way to begin is to use one of Nelson's provided examples.
all of these have broken sounds, check Frequent issues for a fix
Navigate to "Unturned\Bundles\Sources\Examples" and drag the closest example to your mod into the unity file explorer, and import all when it asks.
The easiest way to start is to make a copy of the respective example folder and rename it to your object/vehicle/item (you can do this in windows file explorer)
.Now, drag the prefab into your scene and start modifying!
once you're done, drag it back into the prefab, select the folder and bundle it.
Common Issues
You've bundled everything right, but there's no audio for it in-game?
Fear not! There is a simple fix, convert all of your audio files to .wav. I use this site[audio.online-convert.com]
12 Comments
SAM 11 Jun, 2021 @ 1:02pm 
The contents of "Unturned/Bundles/Sources/Tools" isn't there anymore, the "Tools" folder is gone. The Bundle Tool is in "Unturned/Bundles/Sources/Project.unitypackage", but the Content Tool is nowhere to be found. Also, the discord link expired.
Temporal Dilation Boi 18 Sep, 2020 @ 5:29am 
Me too. I can't seem to get the master bundle tool export. I'm trying to update "The Harke" mod.
cutetamz 27 Jan, 2020 @ 7:00am 
Hey do u have a guide to update mods that are outdated? I want to learn how
Khakers  [author] 24 Sep, 2019 @ 4:21pm 
Thanks! I’ll change that.
VICTOR 21 Sep, 2019 @ 3:19pm 
Hey, the tag manager is now located in Unturned/Bundles/Sources/Projectsettings!
Yehuuu 3 May, 2019 @ 9:48am 
oh i forgot, i can use the plane but it cant go faster so i cant fly with it. it just like im driving an invisible car :D
Yehuuu 3 May, 2019 @ 9:45am 
hi i made a plane mod about f22 raptor. when i call it with code it comes with hitbox, steer and Taillight. But my f22 raptor model doesnt appear. Did i made a mistake with layers ? can you help me ?
Khakers  [author] 20 Mar, 2019 @ 3:55pm 
You probably did something wrong
BoxySilkworm 20 Mar, 2019 @ 2:32pm 
My Unity version is 2017.4.23f1 and my car isn't working. Did I do something wrong or it isn't the right version?
BoxySilkworm 19 Mar, 2019 @ 2:24pm 
Thank you