compressed is required, actual value was undefined while moving or pitching camera. (1.66)

Hello everyone.

I’m getting error when I attempt to move or pitch camera. Zooming works fine. What’s interesting minified version of Cesium works great, error occurs only with unminified Cesium.

The error only applies to the latest version of Cesium (1.66). Older versions works well.

DeveloperError: compressed is required, actual value was undefined
at new DeveloperError (
at Object.Check.defined ( .com/Cesium/Cesium.js:146:23)
at Object.AttributeCompression.decompressTextureCoordinates ( .com/Cesium/Cesium.js:27100:19)
at TerrainEncoding.decodePosition ( .com/Cesium/Cesium.js:28292:47)
at getPosition$2 ( .com/Cesium/Cesium.js:206104:22)
at GlobeSurfaceTile.pick ( .com/Cesium/Cesium.js:206140:26)
at Globe.pickWorldCoordinates ( com/Cesium/Cesium.js:214141:55)
at pickGlobe ( com/Cesium/Cesium.js:233604:41)
at spin3D ( .com/Cesium/Cesium.js:234093:28)
at reactToInput (

Thanks for any help.

I’m not able to reproduce this. Are you using any custom terrain provider? Would you be able to share a sample project that reproduces this?

Easiest way might be a Glitch project as described in this getting started guide ( And instead of including the minified version:

<script src=""></script>
  <link href="" rel="stylesheet">


You can include the unminified like this:

<script src=""></script>
  <link href="" rel="stylesheet">


Unfortunately I can’t share any code from my app. I’m not using any terrain provider. I get cesium library from github. I checked multiple versions from 1.54 to 1.65 and all works fine, only on newest 1.66 error occurs.

Are you able to reproduce this issue in a blank CesiumJS scene?