FPS Sample

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 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.

 

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

 

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.

We use cookies to ensure that we give you the best experience on our website. Visit our cookie policy page for more information.

Got it