# Error when trying to build my game in the file : CompileCesiumForUnityNative.cs

**URL:** <https://community.cesium.com/t/error-when-trying-to-build-my-game-in-the-file-compilecesiumforunitynative-cs/25274>\
**Category:** Cesium for Unity\
**Created:** [July 9, 2023, 7:15pm UTC](https://community.cesium.com/t/error-when-trying-to-build-my-game-in-the-file-compilecesiumforunitynative-cs/25274 "2023-07-09T19:15:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![enzodiot](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/enzodiot/32/14000_2.png) [@enzodiot](https://community.cesium.com/u/enzodiot)\
**Post date:** [July 9, 2023, 7:15pm UTC](https://community.cesium.com/t/error-when-trying-to-build-my-game-in-the-file-compilecesiumforunitynative-cs/25274/1 "2023-07-09T19:15:45Z")

</div>

Hello everyone,  
I followed the different steps from the cesium website and the github page to build an application with cesium in unity, After that I used the panel cesium in unity to add a globe and the dynamic camera. The first thing a bit weird is inside the dynamics camera there is a missing script i don’t know why. But when i look at my game in unity it seems to work well event if i have this warning :

 ![image](https://global.discourse-cdn.com/cesium/original/2X/8/8d3f7d5aa88c2627fea782a877ddcbb1af802d73.png)  
So after testing my game i tried to build it but i have this message of error :  
 ![image](https://global.discourse-cdn.com/cesium/original/2X/4/429bdddc21229cd7bd134b9099e3c9f76026ce23.png)  
So if someone has the solution, i would be grateful.

---

<div class="post-metadata">

**Author:** ![Kevin\_Ring](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kevin_ring/32/2003_2.png) [@Kevin\_Ring](https://community.cesium.com/u/Kevin_Ring)\
**Post date:** [July 9, 2023, 10:16pm UTC](https://community.cesium.com/t/error-when-trying-to-build-my-game-in-the-file-compilecesiumforunitynative-cs/25274/2 "2023-07-09T22:16:35Z")

</div>

The warning is possibly this issue?

> <https://github.com/CesiumGS/cesium-unity/issues/322>
>
> Install Unity Hub 3.4.2 and Unity 2021.3.25f1.
> 
> Follow the 'Cesium for Unity Q…uickstart" guide,
> https://cesium.com/learn/unity/unity-quickstart/
> 
> 1. When creating the new project, use the "3D Sample Scene (HDRP)" template.
> 2. When installing Cesium from the Package Manager, use "Cesium for Unity, Version 1.2.0 - May 09, 2023"
> 3. Continue with the tutorial until you add a Dynamic Camera.
> 
> In the Inspector Window, you'll see a Script component that shows a warning icon and "Missing (Mono Script)". From a user perspective, I don't know if there is broken functionality or if I have set something up wrong.
> 
> When reproducing the same steps, but using the "3D Sample Scene (URP)" template, everything looks fine. Instead of the missing script, I see a "Universal Additional Camera Data" script.

If so, it should be harmless. If you’re not using HDRP, please screenshot your DynamicCamera game object in the Editor so we can see what you have there.

As for your packaging error, take a look at that message carefully. It’s telling you to find details of the actual problem in a log file. If you look at that log file, the problem may be obvious to you. If it’s not, please share it with us.
