How to Use the New echo3D Unity SDK (2022 Tutorial)
Tags: tutorial, unity3d, 3d, cloud
Published: 2022-11-11 00:20:55

Depending on your project size and platform, it can be challenging to update all your assets uniformly. [echo3D](http://www.echo3d.co) has made it easy to do this by simply using an API key. Assets are stored on the echo3D cloud and called at runtime so your experience runs smoothly and faster, every time and everywhere.

Here are 2 ways to integrate echo3D into your project. Whether you are integrating echo3D into an existing project or starting from scratch, echo3D has a 3D backend solution for you.      

Setup
=====

*   Make sure to register for FREE at [echo3D](https://console.echo3d.co/#/auth/register).
*   Install [Unity 2020.3.25 LTS](https://unity3d.com/get-unity/download/archive) (_Note: Our SDK supports Unity 2020.3 LTS and newer._)
*   Clone this [repo](https://github.com/echo3Dco/Unity-echo3D-Demo).

Video
=====
{% youtube 98bebj0g674 %} <br>

Steps
=====

*   Open the SampleScene scene.
*   Upload your 3D assets to the echo3D cloud by [clicking “Add to Cloud](https://docs.echo3d.co/quickstart/add-a-3d-model)”. You can also [search](https://docs.echo3d.co/web-console/manage-pages/content-page/how-to-add-content) our console for some.
*   Download the echo3D [Unity SDK](https://docs.echo3d.co/unity/installation) and unzip the folder.
*   [Copy the _co.echo3d.unity_ subfolder into Unity’s _Packages_ folder](https://docs.echo3d.co/unity/installation). Troubleshoot [here](https://docs.echo3d.co/unity/troubleshooting?q=newton). (_Note: Do not drag the subfolder directly into Unity, please use your File Explorer.)_

>_The echo3D Unity SDK is now ready to be used! There are 2 ways to implement it._

**Option 1: If you’re integrating echo3D into an existing project**

*   Drag the `Echo3DHologram.cs` script onto the game object that you want to host on the echo3D cloud.
<center>![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/vwt2a55zom7ms8udo8zy.png)</center>

*   On the `Echo3DHologram.cs` script, [set the API key and Entry ID](https://docs.echo3d.co/unity/using-the-sdk) from the Inspector.
*   Turn off the Mesh Renderer, or else you will have duplicate 3D objects at runtime. This allows all existing modifications in the Inspector to apply to the echo3D asset.
*   Drag the `Echo3DService` prefab anywhere into the Hierarchy.

**Option 2: If you’re starting a Unity project from scratch**

*   Drag both `Echo3DHologram`and  `Echo3DService`  prefabs into the Hierarchy from inside Packages/echo3D Unity SDK/Prefabs
*   On the `Echo3DHologram` prefab,  [set the API key](https://docs.echo3d.co/quickstart/access-the-console) and Entry ID from the Inspector.

<center>![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/hpu04a77ijbg5fqwrqz8.png)</center>

>_You have successfully connected the echo3D SDK! To see it in action, press Play in Unity. See below for more tools to manage your 3D asset in Unity._

*   _(Optional)_ Type your [Secret Key](https://docs.echo3d.co/web-console/deliver-pages/security-page#secret-key) as the value for the parameter secKey in the file Packages/co.echo3D.unity/Runtime/Echo3DHologram.cs. (_Note: Secret Key only matters if you have the_ [_Security Key_](https://docs.echo3d.co/web-console/deliver-pages/security-page#secret-key) _enabled in your echo3D console.)_

<center>![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/unnvmwnrvgikne2z29md.png)</center>

*   _(Optional)_ To edit the assets live in your project, check the boxes for “Editor Preview” and “Ignore Model Transforms”. At the top of your project, click Echo3D > Load Editor Holograms

<center>![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/66clcti0w1rsdx3je2vp.png)</center>

<center>![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/1hvhuh46cel68letrtxz.png)</center>

Learn More
==========

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

Support
=======

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

Troubleshooting
===============

Visit our troubleshooting guide [here](https://docs.echo3d.co/unity/troubleshooting#im-getting-a-newtonsoft.json.dll-error-in-unity).

More Tutorials
==============

To learn how to make other similar projects, try one of these:

*   [Make a Tarot Card Game in Unity (Free Tutorial)](https://www.echo3d.co/post/make-a-tarot-card-game-in-unity-free-tutorial)
*   [Make a 2D Space Shooter Game: Asteroid Ambush in Unity (Tutorial)](https://www.echo3d.co/post/make-a-2d-space-shooter-game-asteroid-ambush-in-unity-tutorial)
*   [Make a Ping Pong Game in Unity (Tutorial)](https://www.echo3d.co/post/make-a-ping-pong-game-in-unity-free-tutorial)
*   [Recent News in 3D, AR, VR & Metaverse](https://www.echo3d.co/post/recent-news-in-3d-ar-vr-metaverse)

***

>_**echo3D** ([www.echo3D.co](http://www.echo3d.co/); Techstars 19’) is a cloud platform for 3D/AR/VR that provides tools and network infrastructure to help developers & companies quickly build and deploy 3D apps, games, and content._

![Image description](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/rl2lkfc5kj498utv6jrp.png)