Skip to main content

About Bitesize Samples

The Bitesize Samples repository provides a series of sample code as modules to use in your games and better understand Netcode for GameObjects (Netcode).

  • 2D Space Shooter Sample - Learn more about physics movement and status effects using Netcode NetworkVariables and ObjectPooling.
  • Invaders Sample - Learn more about game flow, modes, unconventional movement networked, and a shared timer.
  • Client Driven Sample - Learn more about Client driven movements, networked physics, spawning vs statically placed objects, object reparenting.
  • Dynamic Addressables Network Prefabs - Learn more about the dynamic prefab system, which allows us to add new spawnable prefabs at runtime.


You need Unity and Netcode for GameObjects installed to work with these samples. See Install Netcode for GameObjects for details.

Get the samples

Get the project files

Download the project files from the Bitesize Samples Repository

how to download

After download, unzip the archive file. You are now ready to add the project to Unity Hub.

Add a sample to the Unity Hub

  1. Open Unity Hub.
  2. Click Add.
  3. Navigate to the unzipped folder. select the one of the projects in the Basic folder to add the respective project.

The Bitesize Samples have been built for a specific Unity version. You can see the version after adding a sample to the Unity Hub or in the description of the repository. We recommend using the same Unity version to avoid potential issues.


Error building

Error: Error building Player: Currently selected scripting backend (IL2CPP) isn't installed.

Currently, you may need to have Unity IL2CPP installed. Bitesize Samples should not require IL2CPP, and may have updates to resolve this error.