Cannot read property latitude/longitude of undefined. while using Cesium.createOsmBuildings() in 2D/Columbus mode

TypeError: Cannot read properties of undefined (reading 'longitude')
    at GeographicProjection.project (webpack-internal:///./node_modules/cesium/Source/Core/GeographicProjection.js:65:24)
    at Object.Transforms.wgs84To2DModelMatrix (webpack-internal:///./node_modules/cesium/Source/Core/Transforms.js:1136:38)
    at updateNodeHierarchyModelMatrix (webpack-internal:///./node_modules/cesium/Source/Scene/Model.js:4349:79)
    at Model.update (webpack-internal:///./node_modules/cesium/Source/Scene/Model.js:5630:7)
    at Batched3DModel3DTileContent.update (webpack-internal:///./node_modules/cesium/Source/Scene/Batched3DModel3DTileContent.js:480:9)
    at Cesium3DTile.process (webpack-internal:///./node_modules/cesium/Source/Scene/Cesium3DTile.js:1951:17)
    at processTiles (webpack-internal:///./node_modules/cesium/Source/Scene/Cesium3DTileset.js:2335:14)
    at Cesium3DTileset.prePassesUpdate (webpack-internal:///./node_modules/cesium/Source/Scene/Cesium3DTileset.js:2197:3)
    at PrimitiveCollection.prePassesUpdate (webpack-internal:///./node_modules/cesium/Source/Scene/PrimitiveCollection.js:398:17)
    at prePassesUpdate (webpack-internal:///./node_modules/cesium/Source/Scene/Scene.js:3788:14)

This is happening while bundling Cesium with webpack, it seems to happen when the map projection is changed to 2D/Columbus and the camera is panned to the top/bottom/left/right of the screen. Panning to the top/bottom produces the same stack trace with a latitude trace, left/right produces the stack trace with a longitude trace.

The above issue is asked on

but I could not find it in bugs list.
Can you please help me with it?

1 Like

Facing the same issue. Did you manage to fix it