How to Spawn a Player in ECS XR

This will take you about 20 minutes in prep time if you don't have Unity set-up, and 30 minutes in coding and debug time.

Click Here for DOTS Tutorial

Stop struggling with the limited documentation. Follow this step-by-step tutorial, "How to Spawn a Player in ECS XR"

Full workflows and code to programmatically spawn a Player

Click Here for DOTS Tutorial

This gitbook takes you through step-by-step full workflows and code to programmatically spawn a Player. Once you've coded along and fully finished the How To Spawn a Player tutorial, you will be able to programmatically spawn a Player.

Click Here for DOTS Tutorial

High-Level steps to Spawn a Player:

Number 01

Create a Player prefab and give it an authoring component

Number 02

Create an empty GameObject that will hold all references to Player prefabs

Number 03

Create a spawning system which spawns Player entities from user input (such as a keystroke)