# 'CesiumForUnity' could not be found error while building for linux

**URL:** <https://community.cesium.com/t/cesiumforunity-could-not-be-found-error-while-building-for-linux/44292>\
**Category:** Cesium for Unity\
**Created:** [November 26, 2025, 6:47am UTC](https://community.cesium.com/t/cesiumforunity-could-not-be-found-error-while-building-for-linux/44292 "2025-11-26T06:47:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prajwal\_K](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/prajwal_k/32/27540_2.png) [@Prajwal\_K](https://community.cesium.com/u/Prajwal_K)\
**Post date:** [November 26, 2025, 6:47am UTC](https://community.cesium.com/t/cesiumforunity-could-not-be-found-error-while-building-for-linux/44292/1 "2025-11-26T06:47:59Z")

</div>

I was trying to build a scene for linux. The project works perfect in editor, map loads clearly. But when i build im getting compilation errors with scripts under CesiumForUnitySamples/Scripts saying that  
`The type or namespace name ‘CesiumForUnity’ could not be found (are you missing a using directive or an assembly reference?)`

@Kevin_Ring Could you please help me with this???

 ![Screenshot from 2025-11-26 12-25-25](https://global.discourse-cdn.com/cesium/original/3X/5/a/5a80813d2f2d7963260989e58807818b797fd828.jpeg)

---

<div class="post-metadata">

**Author:** ![Prajwal\_K](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/prajwal_k/32/27540_2.png) [@Prajwal\_K](https://community.cesium.com/u/Prajwal_K)\
**Post date:** [November 26, 2025, 9:47am UTC](https://community.cesium.com/t/cesiumforunity-could-not-be-found-error-while-building-for-linux/44292/2 "2025-11-26T09:47:43Z")

</div>

![image](https://global.discourse-cdn.com/cesium/original/3X/d/c/dc24092f6b76bcded247073aaf53626686994c1d.jpeg)

Fixed it by enabling linux platform support on Packages \> Cesium for Unity \> Runtime \> CesiumRuntime (Assembly Definition Asset)  
Apply and save.  
Reimport and rebuilt. Works great.
