How to Add Seasonal Content on your Unity App without Rebuilding It Every Time
Tags: tutorial, unity3d, augmentedreality, showdev
Published: 2021-06-03 19:35:11

![1.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1622748080065/3G0Xj96LT.png)

**Calling all Unity game developers and Unity DevOps!** Looking for a way to update, change, and add 3D content to your app without needing to rebuilt and redeploy it? Try this simple step - **moving your 3D assets to the cloud!**

Different occasions and events call for unique seasonal content. Accordingly, [the most successful games these days are frequently updated with seasonal content to increase user retention](https://blogs.unity3d.com/2021/03/29/retention-ideas-and-solutions-to-keep-players-coming-back-to-your-game/?utm_source=linkedin&utm_medium=social&utm_campaign=cloud_global_generalpromo_2021-03-31_retention-solutions). Whether the holidays are coming up or whether you are planning a special event for your gamers, being able to introduce seasonal content with ease is key to keeping your users engaged! **This is particularly impartment to free-to-play games which are looking to push regular content updates to the app without rebuilding it.**

[echoAR](https://www.echoar.xyz/), one of the newest members of the Unity Verified Solutions Partners program, is a cloud platform for AR/VR/3D applications that provides tools and network infrastructure to help developers connect their Unity app to the cloud and quickly deploy 3D content in AR. By integrating echoAR's Unity SDK you can manage & deliver 3D content to Unity and rapidly publish real-time updates or seasonal content to your game. By using echoAR, **you encourage players to return to the game and enjoy fresh content without requiring them to download large update packages.** You prevent game stagnation for your players while avoiding a cumbersome deployment process for your technical team.

**Here's how you can easily and quickly change 3D content in your app (without rebuilding the app!) to account for events and holidays in different locations:**

# 🔑 Get an API key
* Register for FREE at [echoAR](https://console.echoar.xyz/#/auth/register) and get your own API key (also check your inbox for an automatic email with your key).
* Upon registration you will be redirected to the console (you can also use the link in the registration email to get back to the console anytime.) Make sure your key is set in the header or type and load it yourself!

![2.gif](https://cdn.hashnode.com/res/hashnode/image/upload/v1622748182076/UmPOcUTtG.gif)

* You did it! 🎉

# 🔨 Install the Unity SDK
You can easily use echoAR as a backend for your [Unity](https://unity3d.com/) project by following these steps:
* **Download Unity SDK**: Click the "Downloads" button in the top header bar to directly download the echoAR SDK for Unity.

![3.jpg](https://cdn.hashnode.com/res/hashnode/image/upload/v1622748219237/LHNBysVtw.jpeg)

* **Open a Unity Project**: Create a new or open an existing project in Unity (make sure your Unity version is [up to date](https://docs.unity3d.com/Manual/index.html) and has the required modules to build an app on your platform of choice!)
* **Integrate Unity SDK**: Double click on the `echoAR-Unity.unitypackage` file to import it into your Unity project. Alternativity, click `Assets > Import Package > Custom Package...` in the top menu bar and choose the `echoAR-Unity.unitypackage` file to import it into your Unity project.

![4.gif](https://cdn.hashnode.com/res/hashnode/image/upload/v1622748300181/3Y1ilhMeg.gif)

* That's it! 🎉

# 🧰 Using the SDK
* **Streaming 3D holograms into Unity**: Either open the sample scene under `Assets/echoAR/Examples/sample`

![5.gif](https://cdn.hashnode.com/res/hashnode/image/upload/v1622748327295/Y3EGm8CAu.gif)

* or create a new empty game object and attach the script `echoAR/echoAR.cs` to it.

![6.gif](https://cdn.hashnode.com/res/hashnode/image/upload/v1622748354926/oO3FNCcfBU.gif)

* In the Inspector View for the echoAR game object or the empty game object that you created, update the `API Key` field with your API key.

![7.gif](https://cdn.hashnode.com/res/hashnode/image/upload/v1622748368086/0Ot9kY6kZ.gif)

* [Add a 3D model](https://docs.echoar.xyz/quickstart/add-a-3d-model) through the [console](https://console.echoar.xyz/) ([here's how](https://docs.echoar.xyz/quickstart/add-a-3d-model))


![8.gif](https://cdn.hashnode.com/res/hashnode/image/upload/v1622748422260/m74GgUZHu.gif)

* Go back to Unity and hit the **Play** button. The SDK will stream the 3D model into Unity.

* **Great work!** 🎉

# 📐 Transforming Content and Seasonal Content
* **Real-time updates and animations**: You can go back to the console to add more 3D models, delete 3D models, [add metadata](https://docs.echoar.xyz/web-console/manage-pages/data-page/how-to-add-data#adding-metadata), or change existing metadata associated with your entry and instantly see the changes in Unity even **while the Unity project is running**.
* You can also **edit and change content** in the [content page](https://docs.echoar.xyz/web-console/manage-pages/content-page/how-to-edit-content) to include or update seasonal content. Edit buttons are revealed when hovering over a content card.

![9.gif](https://cdn.hashnode.com/res/hashnode/image/upload/v1622748490924/XtZapq3mH.gif)

* Clicking the edit "pencil" icons will allow you to individually change the hologram to account for seasonal content:

![10.gif](https://cdn.hashnode.com/res/hashnode/image/upload/v1622748500722/HmUqNkkMt.gif)

* You can update the hologram by selecting a file from local storage, choosing a file from the displayed sample models, or searching for models.

![11.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1622748526813/2oQKofZZe.png)

* When selecting models from local storage, be sure to **select all files associated** with that model (i.e., **include material and texture files** in your selection). **ZIP** files are also supported.

* Click "**Next**" and "**Done**" on the Submit dialog to upload the new hologram with the seasonal content.
* The updated content will now be displayed in the Content page.

![12.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1622748566453/cvb8Z8Lrg.png)

* **Fantastic work!** 🎉

# 👩‍💻 Edit code
* Now that you are able to successfully stream the 3D model into Unity, you can also make custom adjustments to it.
* Each hologram will be instantiated with a script named `CustomBehaviour.cs` attached.
* You can edit this script to create any behavior you would like while referencing additional data streamed from the cloud.
* Learn how to add code to your Unity project while getting data from the cloud [here](https://docs.echoar.xyz/unity/edit-code).
*  **Great work!** 🎉

# 🤳 Adding AR capabilities
* Now that you are successfully able to stream 3D content into Unity and know how to change content, you might consider adding AR capabilities to your cloud-connected Unity project. Learn how [here](https://docs.echoar.xyz/unity/adding-ar-capabilities).

# ❔ Troubleshooting
* Troubleshoot issues [here](https://docs.echoar.xyz/unity/troubleshooting). You can check out our full documentation for other useful tutorials [here](https://docs.echoar.xyz/) and also reach out to our support team [here](http://go.echoar.xyz/join).

---

# 💫BONUS POINT!

echoAR also allows you to **monitor players' engagement and automatically obtain game analytics.** The more you know about your best performing 3D assets and most popular content, the more you can customize your game's UX/UI to keep players engaged and incentivize them to play longer. **echoAR offers a Unity-compatible SDK and is a Unity Verified Solutions Partner.**

***

> **echoAR** (http://www.echoAR.xyz; Techstars '19) is a cloud platform for augmented reality (AR) and virtual reality (VR) that provides tools and server-side infrastructure to help developers & companies quickly build and deploy AR/VR apps and experiences. 

![13.png](https://cdn.hashnode.com/res/hashnode/image/upload/v1622748677982/TODwht0p6.png)