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

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???

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.

1 Like