Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error occurred while rendering. Rendering has stopped #8647

Closed
qq617564112 opened this issue Mar 2, 2020 · 5 comments
Closed

An error occurred while rendering. Rendering has stopped #8647

qq617564112 opened this issue Mar 2, 2020 · 5 comments

Comments

@qq617564112
Copy link

I've currently use cesium with angular, the model is loaded successfully but when I try to change view this error occurred:
DeveloperError: compressed is required, actual value was undefined Error at new DeveloperError (http://localhost:8080/bundle.js:21790:19) at Object../node_modules/cesium/Source/Core/Check.js.Check.defined (http://localhost:8080/bundle.js:13572:19) at Object../node_modules/cesium/Source/Core/AttributeCompression.js.AttributeCompression.decompressTextureCoordinates (http://localhost:8080/bundle.js:5642:59) at TerrainEncoding../node_modules/cesium/Source/Core/TerrainEncoding.js.TerrainEncoding.decodePosition (http://localhost:8080/bundle.js:72960:87) at getPosition (http://localhost:8080/bundle.js:168299:18) at GlobeSurfaceTile../node_modules/cesium/Source/Scene/GlobeSurfaceTile.js.GlobeSurfaceTile.pick (http://localhost:8080/bundle.js:168335:22) at Globe../node_modules/cesium/Source/Scene/Globe.js.Globe.getHeight (http://localhost:8080/bundle.js:167057:38) at adjustHeightForTerrain (http://localhost:8080/bundle.js:220533:32) at tilt3DOnTerrain (http://localhost:8080/bundle.js:220345:13) at tilt3D (http://localhost:8080/bundle.js:220162:13)

but when I turn scene.globe = false, the error won't occur.

@lafflan
Copy link

lafflan commented Mar 16, 2020

same error occurred when i upgrade to version 1.67 ,
but when I set a terrainProvider (not EllipsoidTerrainProvider) ,the error won't occur.

@OmarShehata
Copy link
Contributor

@sweerwen are you also using AngularJS? If so, it might be related to #8673.

@lafflan
Copy link

lafflan commented Mar 26, 2020

@sweerwen are you also using AngularJS? If so, it might be related to #8673.

i haven't using anglurjs ,just vuejs.

@lafflan
Copy link

lafflan commented Mar 26, 2020

i'm sorry!
it's my mistake, i had set the CESIUM_BASE_URL to the old version path.

@OmarShehata
Copy link
Contributor

Thanks for confirming @sweerwen .

@qq617564112 I'm going to close this since I've unable to reproduce your original issue. If it's an Angular-specific issue, check out the possible solution recommended here: #8673 (comment)

If you're still having an issue please add a minimal code example with instructions on how you're setting up your project so we can reproduce (including what version of Angular and CesiumJS).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants