Introducing the FPS Sample
The FPS Sample was created for internal validation of features and packages available at the time of Unity 2018.3 and is available for download including all assets. In the project you will find:
- 1 fully populated arena level, including high-quality assets for HDRP
- 2 fully rigged characters with 4 unique weapons
- Game code that includes unsupported custom netcode with an authoritative server architecture supporting up to 16 players (not recommended for use in production)
- Deathmatch and Assault game modes
- Support for PC
It’s intended as a source of inspiration and learning for intermediate and experienced developers using Unity 2018.3 or Unity 2018.4 LTS releases. It’s using experimental tech. Please note that the project is not supported and we highly recommend upgrading to supported packages if you wish to use parts of the project as a starting point for your own.
Watch our official Unite & GDC talks
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.
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.
Introducing the FPS Sample
Get a quick walkthrough of the FPS Sample project. Get an overview of which features it uses and how you can use it as a starting point for creating your own First-Person Shooter project, or as a learning resource
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 High Definition Render Pipeline (HDRP). Use the project as inspiration on how to use Unity features like layered materials, HDR lights, post-filters and light modes in HDRP.
In this video, two of the people behind the project, Lead Developer Peter Andreasen and Technical Art Director Martin Kümmel Vestergaard, talk about their approach to creating graphics in the sample game and what they think you can learn from it.
How to get started
The project, including documentation, is available on GitHub for Unity 2018.3.8f1. Please note that the project is using technology and packages which are undergoing massive updates, including networking, meaning we recommend using the project as a source of inspiration only.
Join us on our FPS Sample forum to talk about the project, exchange information and give feedback.
FPS Sample on Github
Getting started guide