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 with more platforms scheduled to follow
- 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.
The project targets PC with PS4 and Xbox One planned to follow.
Watch our official Unite talks
Unite LA keynote
At the Unite LA 2018 keynote we unveiled FPS sample, an example project you can open up right in the editor. FPS Sample demonstrates not just what's capable when creating a fully functioning multiplayer game with Unity, but also how you can go about achieving it yourself.
Deep dive into graphics of FPS Sample - Unite LA
This LA session will take you through the structure of the project from an artist's point of view focusing in particular on the High-Definition Render Pipeline (HDRP).
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.
Use it for your own projects
Distributed under the Unity Companion License ("License"). Unity Technologies ApS (“Unity”) grants to you a worldwide, non-exclusive, no-charge, and royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, and distribute the software that accompanies this License, subject to the following restrictions, terms, and conditions.