How to Change 3D Assets in a Unity Game (Tutorial)
Tags: gamedev, unity3d, tutorial, programming
Published: 2023-10-03 20:26:49


## How to Change 3D Assets in a Unity Game (Tutorial)

![echo3D](https://cdn-images-1.medium.com/max/2182/1*rdK8bkPqEf0l4K0AkWoKdg.png)

[echo3D](http://www.echo3d.com) lets you load assets from the cloud easily, whether it’s a new project or existing one with tons of assets. Changing assets can be as simple as changing an API key. You can swap out assets even after the game is complete and manage the assets from [echo3D](http://www.echo3d.com)’s 3D asset management tools. We forked this 3D platformer from [gansari](https://github.com/gansari231/Farm-Barn). Check out the full repo on our [Github](https://github.com/echo3Dco/Unity-echo3D-Demo-FarmBarn/).

This demo lets you remotely manage and change the ‘banana’ and ‘player’ 3D assets from the [echo3D](http://www.echo3d.com) cloud.

![](https://cdn-images-1.medium.com/max/2186/1*is80EOlLT9nfWYcvTC_k8Q.gif)

![](https://cdn-images-1.medium.com/max/2172/1*AI-nHcMpQ--7-PUeXKApzw.gif)

Click this [link](https://go.echo3d.co/QipF) or scan this QR code to see the Player in AR on your phone!

![echo3D](https://cdn-images-1.medium.com/max/2000/1*w1-BoBrjhWHGQ7yFtH1rkg.png)

## Register

Don’t have an API key? Make sure to register for FREE at [echo3D](https://console.echo3d.com/#/auth/register?utm_term={keyword}&utm_campaign=3Dplatformer_reskin&utm_source=MEDIUM&utm_medium=blog).

## Setup

* Built with Unity 2022.3.5.

* [Register](https://console.echo3d.com/#/auth/register?utm_term=%7Bkeyword%7D&utm_campaign=farmbarn_reskin&utm_source=GITHUB&utm_medium=repo) for your free echo3D account.

* Clone this [repo](https://github.com/echo3Dco/Unity-echo3D-Demo-FarmBarn/).

* The echo3D SDK has already been installed.

## Steps

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

* [Add the 3D models](https://docs.echo3d.com/quickstart/add-a-3d-model) Banana and Player models from the Models folder to the console.

![echo3D](https://cdn-images-1.medium.com/max/2000/1*5I74me0lXhW1JugZ5LFrKQ.gif)

* [Add the API key](https://docs.echo3d.com/unity/using-the-sdk) in the Inspector of the Banana, Banana1, Banana 2 and Player game objects on the echo3DHologram component.

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

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

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

## Run

Press the *Play* button in Unity to collect the rotating objects on the farm.

## 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).
>  [Sign up for your free all access 7 day trial](https://console.echo3d.com/#/auth/register?utm_term=%7Bkeyword%7D&utm_campaign=farmbarn_reskin&utm_source=GITHUB&utm_medium=repo).

## More Content

Check these out:

* [Spatial.io & echo3D Demo (Tutorial)](https://medium.com/echo3d/spatial-io-echo3d-demo-tutorial-3930cb57fa1c)

* [New echo3D Feature: Convert USDZ to GLB, FBX & OBJ](https://medium.com/echo3d/new-echo3d-feature-convert-usdz-to-glb-fbx-obj-38089e67af5d)

* [How to Build an AR App in Unity Using echo3D (Tutorial)](https://medium.com/echo3d/how-to-build-an-ar-app-in-unity-using-echo3d-tutorial-5b1528a26033)

* [Make a Game Prop Using Sloyd.AI and echo3D, View in AR (Tutorial)](https://medium.com/echo3d/make-a-game-prop-using-sloyd-ai-and-echo3d-view-in-ar-tutorial-b69eeb06e50a)



>  **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/3296/1*cNrRDT0JEpkcy-zG6KBNgw.png)