Unity 2D on 8GB / no external GPU: Getting started in 30 minutes
Create the first Unity 2D project and move a rectangle around. On 8GB with no external GPU, a small 2D project is more than enough to get started.
Unity is seen as "heavy," but a small 2D project runs on 8GB of PC RAM with no external GPU. This article covers everything from installing Unity Hub to moving a rectangle with the keyboard. If you don't cram in 3D or lighting, the first step stays light.
Verification result: With Unity 6's 2D template, from creating a new project to moving the rectangle took about 25 minutes. Editor startup is heavy, but during work it's stable.
Prep
- Unity Hub
- Unity 6 (2D template)
- Recommended to have 10GB or more free space
Without a GPU, the editor renders on the CPU. As long as you don't use heavy shaders or huge numbers of objects, that's enough to get started with 2D.
1. Create the project
- Launch Unity Hub and select "New project".
- Choose "2D" from the templates.
- Name the project
First2Dand press "Create project". - Wait until the editor launches. It can take a few minutes on the first time.
2. Place the rectangle
- Right-click in the Hierarchy window → "2D Object" → "Sprites" → "Square".
- A white rectangle appears in the Scene view.
- In the Inspector, set position to
X=0, Y=0.
3. Attach a movement script
Right-click in the Project window → "Create" → "C# Script", name it PlayerMove. Paste the following code:
using UnityEngine;
public class PlayerMove : MonoBehaviour
{
public float speed = 5f;
void Update()
{
float x = Input.GetAxis("Horizontal");
float y = Input.GetAxis("Vertical");
transform.Translate(new Vector3(x, y, 0) * speed * Time.deltaTime);
}
}
Drag and drop the script onto the rectangle to attach it. Press the Play button, and if it moves with the arrow keys, it's a success.
Tips for keeping it light
- Close unused windows (Profiler, Animation, etc.).
- Switch the Scene view display from "Shaded" to "2D".
- Don't make textures too large.
- Don't use 3D lighting or post-effects.
Note: Unity version or template names can change, and the initial package download takes time. If the line is slow, pick a time window.
Notes
- Choose a drive with free space as the save destination for the project.
- Building uses more capacity. First, try working just in the editor.
- Without external GPU, editor drawing can get heavy. Lowering the resolution helps.
- Bringing in tons of assets from the asset store makes the project heavy. The standard square is enough for the first work.
Summary
Unity 2D starts even on 8GB / no external GPU. The first goal is just "moving the rectangle." When you make a small thing that works, you can see what to add next.