Create a 3D Chess Game in Unity with Changeable Pieces
Tags: unity3d, gamedev, tutorial, beginners
Published: 2023-10-03 20:29:44

![](https://cdn-images-1.medium.com/max/2000/0*GMuRiq58GKA0auTZ.gif)

Here’s how to build a 3D Chess game using echo3D and Unity/C# where you can change the pieces remotely pieces you what (forked from UnityChess). The full demo can also be found on echo3D’s GitHub.

This demo allows you to remotely set and swap 3D chess pieces from the cloud. **You can make any 3D model into a chess piece!**

## Register

Don’t have an API key? Make sure to register for FREE at [echo3D](https://www.echo3d.com/signup).

## Setup

* Create a new Unity project.

* [Install the echo3D Unity SDK](https://docs.echo3d.co/unity/installation).

* Open the sample scene under Assets/Scenes/Board.

* [Add the 3D model](https://docs.echo3d.com/quickstart/add-a-3d-model) from the [3D assets](https://github.com/echo3Dco/Unity-echo3D-Demo-Chess/blob/development/Example%20Assets/3D%20Assets) folder to the console.

* [Set the API key](https://docs.echo3d.com/unity/using-the-sdk) in the Inspector of the echo3D Service game object.

* [Add the metadata](https://docs.echo3d.com/web-console/manage-pages/data-page/how-to-add-data#adding-metadata) listed in the [metadata](https://github.com/echo3Dco/Unity-echo3D-Demo-Chess/blob/development/Example%20Assets/3D%20Assets) files.

## Run

Simply press the *Play* button in Unity.

Use your phone to click the [link](https://go.echo3d.co/K5Wt) or scan the QR code to see something cool in AR!

![](https://cdn-images-1.medium.com/max/2000/1*7g7pnTEFed09_wu-uHxbWQ.png)

## Learn more

Refer to our [documentation](https://docs.echo3d.com/unity/) to learn more about how to use Unity and echo3D.

## Support

Feel free to reach out at [support@echo3D.com](mailto:support@echo3D.com) or join our [support channel on Slack](https://go.echo3d.co/join).

## Troubleshooting

Visit our troubleshooting guide [here](https://docs.echo3d.com/unity/troubleshooting).
>  *Get started for free at [echo3D.com](https://www.echo3d.com/signup?utm_term=%7Bkeyword%7D&utm_campaign=UnityChess&utm_source=medium&utm_medium=blog).*

## Screenshots

### Set 1: Classic Chess Pieces

![](https://cdn-images-1.medium.com/max/3832/0*vcvSc2H55DACB1jj.jpg)

![](https://cdn-images-1.medium.com/max/3836/0*GOwAGeGiL0nUQ5zU.jpg)

![](https://cdn-images-1.medium.com/max/2000/0*7y6iJKQOLyPqAqzw.gif)

### Set 2: Construction-themed Pieces

![](https://cdn-images-1.medium.com/max/3796/0*Mboh4g1-3f-ekqjZ.jpg)

![](https://cdn-images-1.medium.com/max/3800/0*aVm6_MWv5t8ovZiL.jpg)

![](https://cdn-images-1.medium.com/max/2000/0*JI71xRoxFklQ1PQu.gif)

## Gameplay

![](https://cdn-images-1.medium.com/max/4508/0*iit85h-n7S5qYMVa.gif)
>  *Get started for free at [echo3D.com](https://www.echo3d.com/signup?utm_term=%7Bkeyword%7D&utm_campaign=UnityChess&utm_source=medium&utm_medium=blog).*

>  **echo3D** ([www.echo3D.com](http://www.echo3d.com/)) is a 3D asset management platform that enables developers to manage, update, and stream 3D, AR/VR, Metaverse, & Spatial Computing content to real-time apps and games.

![](https://cdn-images-1.medium.com/max/2000/0*GeZ3iBpuFEhs4lI2.png)