A multiplayer First-Person Shooter game project
Use it to learn about the latest features in Unity, extract and use the parts you need or use the full project as a starting point for your own games.
Introducing the FPS Sample
The FPS Sample is available for download. It includes:
- 1 fully populated arena level, including high-quality assets for HDRP
- 2 fully rigged characters with 4 unique weapons
- Up to 16 players
- Deathmatch and Assault game modes
- Support for PC
- FPS netcode based on an authoritative server architecture
Use it as a starting point for creating a First-Person Shooter project, or a source of inspiration for intermediate and experienced developers.
Watch our official Unite & GDC talks
Get Started Building World-Class Networked Games with FPS Sample
In this introductory session, from GDC 2019, you'll learn how to get started building AAA-quality, multiplayer first-person shooter (FPS) games using the FPS Sample. We will also show how the netcode of a fast-paced multiplayer shooter works. Finally, we will discuss networked games at a high level and answer some of your questions as you begin planning your own multiplayer game with Unity.
Getting Started with the FPS Sample
In this session, recorded at GDC 2019, you'll learn how to get started using the FPS Sample. Unity Evangelist Andy Touch will provide an overview of the project – which was designed to demonstrate product-grade implementations of Unity features, including graphics and networking – in a real-time multiplayer context. You'll also see how the netcode of a fast-paced multiplayer shooter like this sample works.
Deep dive into networking for Unity's FPS Sample - Unite LA
Take an in-depth look at how the netcode of a fast-paced multiplayer shooter like Unity's FPS Sample works. Learn about snapshot generation and compression, client-side prediction and lag compensation. See how the game code has been structured into server and client parts to enable a small, dedicated server to run the game.
What is a sample project?
While Unity provides you with many ways of solving particular game mechanics and genre challenges, a sample game provides you with inspiration in the form of one specific approach, which has actually been implemented in a project.
Hear Lead Dev Peter Andreasen and Lead Technical Artist Martin Kümmel Vestergaard describe the project.
Learn how to use HDRP with FPS Sample
The FPS Sample uses the latest rendering pipeline. Use the project to learn how to employ some of the latest features like layered materials, HDR lights, post-filters and light modes in HDRP.
Two of the people behind the project, Lead Dev, Peter Andreasen, and Technical Art Director, Martin Kümmel Vestergaard, talk about creating graphics in the sample game and what they think you can get out of it.
A living project
We will continue to maintain and further develop the FPS Sample in the upcoming Unity versions.
That also means that you can expect the project to adopt new features, such as the VFX Graph, in future updates. You can also look forward to a tutorial and a making-of blog series in 2019.
How to get started
The project, including documentation, is available on Github. To use the project, get the latest version of the Unity Beta below or from your Unity Hub.
Join our developers on community forums to give feedback and exchange information about the project.