# Cesium 2.6 - Unable to package

**URL:** https://community.cesium.com/t/cesium-2-6-unable-to-package/33422
**Category:** Cesium for Unreal
**Created:** [July 1, 2024, 3:23am UTC](https://community.cesium.com/t/cesium-2-6-unable-to-package/33422 "2024-07-01T03:23:04Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![clint](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/clint/32/14898_2.png) [@clint](https://community.cesium.com/u/clint)
#### Post date: [July 1, 2024, 3:23am UTC](https://community.cesium.com/t/cesium-2-6-unable-to-package/33422/1 "2024-07-01T03:23:04Z")

</div>

Hi, receiving below error upgrading to Cesium 2.6 and UE5.4.1.

UATHelper: Packaging (Windows): ------ Building 4 action(s) started ------  
UATHelper: Packaging (Windows): [1/4] Compile [x64] CesiumGltfPrimitiveComponent.cpp  
UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGltfPrimitiveComponent.cpp(49): error C2027: use of undefined type ‘UStaticMesh’  
UATHelper: Packaging (Windows): C:\Program Files\Epic Games\UE\_5.4\Engine\Source\Runtime\Engine\Classes\Components\StaticMeshComponent.h(31): note: see declaration of ‘UStaticMesh’  
UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGltfPrimitiveComponent.cpp(55): error C2664: ‘void CesiumLifetime::destroy(UObject \*)’: cannot convert argument 1 from ‘UStaticMesh \*’ to ‘UObject \*’  
UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGltfPrimitiveComponent.cpp(55): note: Types pointed to are unrelated; conversion requires reinterpret\_cast, C-style cast or parenthesized function-style cast  
UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumLifetime.h(33): note: see declaration of ‘CesiumLifetime::destroy’  
UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGltfPrimitiveComponent.cpp(55): note: while trying to match the argument list ‘(UStaticMesh \*)’  
UATHelper: Packaging (Windows): [2/4] Compile [x64] CesiumGltfComponent.cpp  
UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGltfComponent.cpp(1942): error C2039: ‘toMat4’: is not a member of ‘glm’  
UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\ThirdParty\include\glm\gtc\quaternion.inl(7): note: see declaration of ‘glm’  
UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGltfComponent.cpp(1932): note: This diagnostic occurred in the compiler generated function ‘void loadInstancingData::\<lambda\_2\>::operator ()(\_T1 &&) const’  
UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGltfComponent.cpp(1951): error C2039: ‘toMat4’: is not a member of ‘glm’  
UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\ThirdParty\include\glm\gtc\quaternion.inl(7): note: see declaration of ‘glm’  
UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGltfComponent.cpp(1932): note: This diagnostic occurred in the compiler generated function ‘void loadInstancingData::\<lambda\_2\>::operator ()(\_T1 &&) const’  
UATHelper: Packaging (Windows): Total time in Parallel executor: 16.75 seconds  
UATHelper: Packaging (Windows): Total execution time: 18.93 seconds  
UATHelper: Packaging (Windows): Took 19.02s to run dotnet.exe, ExitCode=6  
UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\Owner\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE\_5.4\UBA-the\_lanes-Win64-Development.txt)  
UATHelper: Packaging (Windows): AutomationTool executed for 0h 0m 21s

---

<div class="post-metadata">

### Author: ![Kevin\_Ring](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kevin_ring/32/2003_2.png) [@Kevin\_Ring](https://community.cesium.com/u/Kevin_Ring)
#### Post date: [July 1, 2024, 12:01pm UTC](https://community.cesium.com/t/cesium-2-6-unable-to-package/33422/2 "2024-07-01T12:01:22Z")

</div>

This problem has been fixed in Cesium for Unreal v2.7.0, which we released today. It’s not yet available via the Epic Launcher (Epic needs to review and approve it first), but you can install it today by following the instructions here:

> **[GitHub - CesiumGS/cesium-unreal: Bringing the 3D geospatial ecosystem to...](https://github.com/CesiumGS/cesium-unreal?tab=readme-ov-file#package-installing-cesium-for-unreal)**
>
> Bringing the 3D geospatial ecosystem to Unreal Engine - CesiumGS/cesium-unreal

---

<div class="post-metadata">

### Author: ![clint](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/clint/32/14898_2.png) [@clint](https://community.cesium.com/u/clint)
#### Post date: [July 1, 2024, 11:50pm UTC](https://community.cesium.com/t/cesium-2-6-unable-to-package/33422/3 "2024-07-01T23:50:15Z")

</div>

Hi Kevin,

Thanks for the update. I tried v2.7, but I am receiving the below errors and package fails;

UATHelper: Packaging (Windows): ------ Building 114 action(s) started ------

UATHelper: Packaging (Windows): [1/114] Compile [x64] PCH.CesiumRuntime.cpp

UATHelper: Packaging (Windows): [2/114] Compile [x64] CesiumCustomVersion.cpp

UATHelper: Packaging (Windows): [3/114] Compile [x64] CesiumCreditSystemBPLoader.cpp

UATHelper: Packaging (Windows): [4/114] Compile [x64] CesiumEllipsoidFunctions.cpp

UATHelper: Packaging (Windows): [5/114] Compile [x64] CesiumActors.cpp

UATHelper: Packaging (Windows): [6/114] Compile [x64] CalcBounds.cpp

UATHelper: Packaging (Windows): [7/114] Compile [x64] CesiumCamera.cpp

UATHelper: Packaging (Windows): [8/114] Compile [x64] CesiumEllipsoid.cpp

UATHelper: Packaging (Windows): [9/114] Compile [x64] CesiumCameraManager.cpp

UATHelper: Packaging (Windows): [10/114] Compile [x64] CesiumFlyToComponent.cpp

UATHelper: Packaging (Windows): [11/114] Compile [x64] CesiumGlobeAnchoredActorComponent.cpp

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Public\CesiumGlobeAnchorComponent.h(185): error C2143: syntax error: missing ‘;’ before ‘\*’

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Public\CesiumGlobeAnchorComponent.h(185): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Public\CesiumGlobeAnchorComponent.h(185): error C2238: unexpected token(s) preceding ‘;’

UATHelper: Packaging (Windows): [12/114] Compile [x64] CesiumGlobeAnchorComponent.cpp

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Public\CesiumGlobeAnchorComponent.h(185): error C2143: syntax error: missing ‘;’ before ‘\*’

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Public\CesiumGlobeAnchorComponent.h(185): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Public\CesiumGlobeAnchorComponent.h(185): error C2238: unexpected token(s) preceding ‘;’

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGlobeAnchorComponent.cpp(282): error C2039: ‘GetEllipsoid’: is not a member of ‘UCesiumGlobeAnchorComponent’

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Public\CesiumGlobeAnchorComponent.h(21): note: see declaration of ‘UCesiumGlobeAnchorComponent’

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGlobeAnchorComponent.cpp(282): error C2270: ‘GetEllipsoid’: modifiers not allowed on nonmember functions

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGlobeAnchorComponent.cpp(283): error C2355: ‘this’: can only be referenced inside non-static member functions or non-static data member initializers

PackagingResults: Error: missing ‘;’ before ‘\*’

PackagingResults: Error: missing ‘;’ before ‘\*’

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGlobeAnchorComponent.cpp(286): error C2355: ‘this’: can only be referenced inside non-static member functions or non-static data member initializers

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGlobeAnchorComponent.cpp(306): error C2039: ‘GetEllipsoid’: is not a member of ‘UCesiumGlobeAnchorComponent’

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Public\CesiumGlobeAnchorComponent.h(21): note: see declaration of ‘UCesiumGlobeAnchorComponent’

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGlobeAnchorComponent.cpp(307): error C2039: ‘GetEllipsoid’: is not a member of ‘UCesiumGlobeAnchorComponent’

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Public\CesiumGlobeAnchorComponent.h(21): note: see declaration of ‘UCesiumGlobeAnchorComponent’

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGlobeAnchorComponent.cpp(314): error C2039: ‘GetEllipsoid’: is not a member of ‘UCesiumGlobeAnchorComponent’

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Public\CesiumGlobeAnchorComponent.h(21): note: see declaration of ‘UCesiumGlobeAnchorComponent’

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGlobeAnchorComponent.cpp(316): error C2039: ‘GetEllipsoid’: is not a member of ‘UCesiumGlobeAnchorComponent’

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Public\CesiumGlobeAnchorComponent.h(21): note: see declaration of ‘UCesiumGlobeAnchorComponent’

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGlobeAnchorComponent.cpp(359): error C2039: ‘GetEllipsoid’: is not a member of ‘UCesiumGlobeAnchorComponent’

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Public\CesiumGlobeAnchorComponent.h(21): note: see declaration of ‘UCesiumGlobeAnchorComponent’

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGlobeAnchorComponent.cpp(365): error C2039: ‘GetEllipsoid’: is not a member of ‘UCesiumGlobeAnchorComponent’

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Public\CesiumGlobeAnchorComponent.h(21): note: see declaration of ‘UCesiumGlobeAnchorComponent’

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGlobeAnchorComponent.cpp(365): error C2660: ‘`anonymous-namespace’::createEastSouthUp’: function does not take 1 arguments

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGlobeAnchorComponent.cpp(323): note: see declaration of ‘`anonymous-namespace’::createEastSouthUp’

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGlobeAnchorComponent.cpp(365): note: while trying to match the argument list ‘(CesiumGeospatial::GlobeAnchor)’

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGlobeAnchorComponent.cpp(365): fatal error C1903: unable to recover from previous error(s); stopping compilation

UATHelper: Packaging (Windows): [13/114] Compile [x64] CesiumCameraManager.spec.cpp

UATHelper: Packaging (Windows): [14/114] Compile [x64] CesiumFeatureIdAttribute.cpp

UATHelper: Packaging (Windows): [15/114] Compile [x64] CesiumCartographicPolygon.cpp

UATHelper: Packaging (Windows): [16/114] Compile [x64] CesiumGeoreference.spec.cpp

UATHelper: Packaging (Windows): [17/114] Compile [x64] CesiumGlobeAnchor.spec.cpp

UATHelper: Packaging (Windows): [18/114] Compile [x64] CesiumDebugColorizeTilesRasterOverlay.cpp

UATHelper: Packaging (Windows): [19/114] Compile [x64] CesiumBingMapsRasterOverlay.cpp

UATHelper: Packaging (Windows): [20/114] Compile [x64] CesiumCreditSystem.cpp

UATHelper: Packaging (Windows): [21/114] Compile [x64] CesiumLoadTestCore.cpp

UATHelper: Packaging (Windows): [22/114] Compile [x64] CesiumLoadTestSamples.cpp

UATHelper: Packaging (Windows): [23/114] Compile [x64] CesiumFeatureIdAttribute.spec.cpp

UATHelper: Packaging (Windows): [24/114] Compile [x64] CesiumMaterialUserData.cpp

UATHelper: Packaging (Windows): [25/114] Compile [x64] CesiumIonServer.cpp

UATHelper: Packaging (Windows): [26/114] Compile [x64] CesiumEncodedMetadataConversions.cpp

UATHelper: Packaging (Windows): [27/114] Compile [x64] CesiumGltfSpecUtility.cpp

UATHelper: Packaging (Windows): [28/114] Compile [x64] Cesium3DTilesetRoot.cpp

UATHelper: Packaging (Windows): [29/114] Compile [x64] CesiumEncodedMetadataUtility.cpp

UATHelper: Packaging (Windows): [30/114] Compile [x64] CesiumOriginShiftComponent.spec.cpp

UATHelper: Packaging (Windows): [31/114] Compile [x64] CesiumOriginShiftComponent.cpp

UATHelper: Packaging (Windows): [32/114] Compile [x64] CesiumIonRasterOverlay.cpp

UATHelper: Packaging (Windows): [33/114] Compile [x64] CesiumGeoreference.cpp

UATHelper: Packaging (Windows): [34/114] Compile [x64] CesiumMetadataPrimitive.cpp

UATHelper: Packaging (Windows): [35/114] Compile [x64] CesiumPointAttenuationVertexFactory.cpp

UATHelper: Packaging (Windows): [36/114] Compile [x64] CesiumLifetime.cpp

UATHelper: Packaging (Windows): [37/114] Compile [x64] CesiumBoundingVolumeComponent.cpp

UATHelper: Packaging (Windows): [38/114] Compile [x64] CesiumPolygonRasterOverlay.cpp

UATHelper: Packaging (Windows): [39/114] Compile [x64] CesiumPrimitiveFeatures.spec.cpp

UATHelper: Packaging (Windows): [40/114] Compile [x64] CesiumPrimitive.cpp

UATHelper: Packaging (Windows): [41/114] Compile [x64] CesiumFeatureIdTexture.cpp

UATHelper: Packaging (Windows): [42/114] Compile [x64] CesiumFeatureIdSet.cpp

UATHelper: Packaging (Windows): [43/114] Compile [x64] CesiumFeaturesMetadataComponent.cpp

UATHelper: Packaging (Windows): [44/114] Compile [x64] CesiumGltfPointsComponent.cpp

UATHelper: Packaging (Windows): [45/114] Compile [x64] CesiumGltfPointsSceneProxy.cpp

UATHelper: Packaging (Windows): [46/114] Compile [x64] CesiumPropertyTable.spec.cpp

UATHelper: Packaging (Windows): [47/114] Compile [x64] CesiumGltfPrimitiveComponent.cpp

UATHelper: Packaging (Windows): [48/114] Compile [x64] CesiumFeatureIdTexture.spec.cpp

UATHelper: Packaging (Windows): [49/114] Compile [x64] CesiumRuntimeSettings.cpp

UATHelper: Packaging (Windows): [50/114] Compile [x64] CesiumSceneGeneration.cpp

UATHelper: Packaging (Windows): [51/114] Compile [x64] CesiumPropertyArrayBlueprintLibrary.cpp

UATHelper: Packaging (Windows): [52/114] Compile [x64] CesiumFeatureIdSet.spec.cpp

UATHelper: Packaging (Windows): [53/114] Compile [x64] CesiumModelMetadata.cpp

UATHelper: Packaging (Windows): [54/114] Compile [x64] CesiumPrimitiveFeatures.cpp

UATHelper: Packaging (Windows): [55/114] Compile [x64] CesiumGltfComponent.cpp

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGltfComponent.cpp(3837): warning C4996: ‘Chaos::TParticlesChaos::FConvex::FRealType,3::X’: Use GetX or SetX instead Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGltfComponent.cpp(1680): note: see reference to function template instantiation ‘Chaos::FTriangleMeshImplicitObjectPtr BuildChaosTriangleMeshes(const TArray\<FStaticMeshBuildVertex,FDefaultAllocator\> &,const TArray\<uint32,FDefaultAllocator\> &)’ being compiled

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGltfComponent.cpp(1706): note: see reference to function template instantiation ‘void loadPrimitive\<CesiumGltf::AccessorView\<uint8\_t\>\>(LoadGltfResult::LoadPrimitiveResult &,const glm::dmat4x4 &,const CreateGltfOptions::CreatePrimitiveOptions &,const CesiumGltf::Accessor &,const CesiumGltf::AccessorView &,const TIndexAccessor &,std::vector\<FCesiumTextureResourceBase \*,std::allocator\<FCesiumTextureResourceBase \*\>\> &,const CesiumGeospatial::Ellipsoid &)’ being compi

led

UATHelper: Packaging (Windows): with

UATHelper: Packaging (Windows): [

UATHelper: Packaging (Windows): TIndexAccessor=CesiumGltf::AccessorView\<uint8\_t\>

UATHelper: Packaging (Windows): ]

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGltfComponent.cpp(3853): warning C4996: ‘Chaos::TParticlesChaos::FConvex::FRealType,3::X’: Use GetX or SetX instead Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGltfComponent.cpp(3854): warning C4996: ‘Chaos::TParticlesChaos::FConvex::FRealType,3::X’: Use GetX or SetX instead Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumGltfComponent.cpp(3855): warning C4996: ‘Chaos::TParticlesChaos::FConvex::FRealType,3::X’: Use GetX or SetX instead Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.

UATHelper: Packaging (Windows): [56/114] Compile [x64] CesiumMetadataPickingBlueprintLibrary.spec.cpp

UATHelper: Packaging (Windows): [57/114] Compile [x64] CesiumPrimitiveMetadata.cpp

UATHelper: Packaging (Windows): [58/114] Compile [x64] CesiumRuntime.cpp

UATHelper: Packaging (Windows): [59/114] Compile [x64] CesiumSubLevelSwitcherComponent.cpp

UATHelper: Packaging (Windows): [60/114] Compile [x64] CesiumTile.cpp

UATHelper: Packaging (Windows): [61/114] Compile [x64] CesiumTextureResource.cpp

UATHelper: Packaging (Windows): [62/114] Compile [x64] CesiumSunSky.cpp

UATHelper: Packaging (Windows): [63/114] Compile [x64] CesiumTransforms.cpp

UATHelper: Packaging (Windows): [64/114] Compile [x64] CesiumPropertyArray.spec.cpp

UATHelper: Packaging (Windows): [65/114] Compile [x64] CesiumTestHelpers.cpp

UATHelper: Packaging (Windows): [66/114] Compile [x64] CesiumMetadataValue.spec.cpp

UATHelper: Packaging (Windows): [67/114] Compile [x64] Cesium3DTileset.cpp

UATHelper: Packaging (Windows): [68/114] Compile [x64] CesiumMetadataValue.cpp

UATHelper: Packaging (Windows): [69/114] Compile [x64] CesiumTextureUtility.cpp

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\CesiumTextureUtility.cpp(45): warning C4996: ‘RHIAsyncCreateTexture2D’: Use the RHIAsyncCreateTexture2D function that takes an InResourceState and DebugName. Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.

UATHelper: Packaging (Windows): [70/114] Compile [x64] CesiumTextureUtility.spec.cpp

UATHelper: Packaging (Windows): [71/114] Compile [x64] CesiumRasterOverlay.cpp

UATHelper: Packaging (Windows): [72/114] Compile [x64] CesiumEncodedFeaturesMetadata.cpp

UATHelper: Packaging (Windows): [73/114] Compile [x64] GlobeAwareDefaultPawn.spec.cpp

UATHelper: Packaging (Windows): [74/114] Compile [x64] Google3dTilesLoadTest.cpp

UATHelper: Packaging (Windows): [75/114] Compile [x64] CesiumWgs84Ellipsoid.cpp

UATHelper: Packaging (Windows): [76/114] Compile [x64] GlmLogging.cpp

UATHelper: Packaging (Windows): [77/114] Compile [x64] GeoTransforms.cpp

UATHelper: Packaging (Windows): [78/114] Compile [x64] Module.CesiumRuntime.3.cpp

UATHelper: Packaging (Windows): [79/114] Compile [x64] GlobeAwareDefaultPawn.cpp

UATHelper: Packaging (Windows): [80/114] Compile [x64] CesiumTileExcluderAdapter.cpp

UATHelper: Packaging (Windows): [81/114] Compile [x64] CesiumPropertyTexture.cpp

UATHelper: Packaging (Windows): [82/114] Compile [x64] CesiumTileMapServiceRasterOverlay.cpp

UATHelper: Packaging (Windows): [83/114] Compile [x64] GeoTransforms.spec.cpp

UATHelper: Packaging (Windows): [84/114] Compile [x64] SubLevels.spec.cpp

UATHelper: Packaging (Windows): [85/114] Compile [x64] CesiumWebMapServiceRasterOverlay.cpp

UATHelper: Packaging (Windows): [86/114] Compile [x64] CesiumWebMapTileServiceRasterOverlay.cpp

UATHelper: Packaging (Windows): [87/114] Compile [x64] SpdlogUnrealLoggerSink.cpp

UATHelper: Packaging (Windows): [88/114] Compile [x64] CesiumPropertyTextureProperty.spec.cpp

UATHelper: Packaging (Windows): [89/114] Compile [x64] CesiumPropertyTableProperty.spec.cpp

UATHelper: Packaging (Windows): [90/114] Compile [x64] UnrealTaskProcessor.cpp

UATHelper: Packaging (Windows): [91/114] Compile [x64] UnrealMetadataConversions.cpp

UATHelper: Packaging (Windows): [92/114] Compile [x64] CesiumTileExcluder.cpp

UATHelper: Packaging (Windows): [93/114] Compile [x64] CesiumSubLevelComponent.cpp

UATHelper: Packaging (Windows): [94/114] Compile [x64] VecMath.cpp

UATHelper: Packaging (Windows): [95/114] Compile [x64] UnrealAssetAccessor.cpp

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\UnrealAssetAccessor.cpp(200): warning C4996: ‘EHttpRequestStatus::Failed\_ConnectionError’: Failed\_ConnectionError has been deprecated, use Failed + EHttpFailureReason::ConnectionError instead Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\ThirdParty\include\CesiumAsync\AsyncSystem.h(71): note: see reference to function template instantiation ‘auto UnrealAssetAccessor::get::\<lambda\_1\>::operator ()\<CesiumAsync::Promise\<std::shared\_ptrCesiumAsync::IAssetRequest\>\>(const \_T1 &) const’ being compiled

UATHelper: Packaging (Windows): with

UATHelper: Packaging (Windows): [

UATHelper: Packaging (Windows): \_T1=CesiumAsync::Promise\<std::shared\_ptrCesiumAsync::IAssetRequest\>

UATHelper: Packaging (Windows): ]

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\UnrealAssetAccessor.cpp(168): note: see reference to function template instantiation ‘CesiumAsync::Future\<std::shared\_ptrCesiumAsync::IAssetRequest\> CesiumAsync::AsyncSystem::createFuture\<std::shared\_ptrCesiumAsync::IAssetRequest,UnrealAssetAccessor::get::\<lambda\_1\>\>(Func &&) const’ being compiled

UATHelper: Packaging (Windows): with

UATHelper: Packaging (Windows): [

UATHelper: Packaging (Windows): Func=UnrealAssetAccessor::get::\<lambda\_1\>

UATHelper: Packaging (Windows): ]

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\UnrealAssetAccessor.cpp(263): warning C4996: ‘EHttpRequestStatus::Failed\_ConnectionError’: Failed\_ConnectionError has been deprecated, use Failed + EHttpFailureReason::ConnectionError instead Please update your code to the new API before upgrading to the next release, otherwise your project will no longer compile.

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\ThirdParty\include\CesiumAsync\AsyncSystem.h(71): note: see reference to function template instantiation ‘auto UnrealAssetAccessor::request::\<lambda\_1\>::operator ()\<CesiumAsync::Promise\<std::shared\_ptrCesiumAsync::IAssetRequest\>\>(const \_T1 &) const’ being compiled

UATHelper: Packaging (Windows): with

UATHelper: Packaging (Windows): [

UATHelper: Packaging (Windows): \_T1=CesiumAsync::Promise\<std::shared\_ptrCesiumAsync::IAssetRequest\>

UATHelper: Packaging (Windows): ]

UATHelper: Packaging (Windows): A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Private\UnrealAssetAccessor.cpp(224): note: see reference to function template instantiation ‘CesiumAsync::Future\<std::shared\_ptrCesiumAsync::IAssetRequest\> CesiumAsync::AsyncSystem::createFuture\<std::shared\_ptrCesiumAsync::IAssetRequest,UnrealAssetAccessor::request::\<lambda\_1\>\>(Func &&) const’ being compiled

UATHelper: Packaging (Windows): with

UATHelper: Packaging (Windows): [

UATHelper: Packaging (Windows): Func=UnrealAssetAccessor::request::\<lambda\_1\>

UATHelper: Packaging (Windows): ]

UATHelper: Packaging (Windows): [96/114] Compile [x64] UnrealAssetAccessor.spec.cpp

UATHelper: Packaging (Windows): [97/114] Compile [x64] Module.CesiumRuntime.8.cpp

UATHelper: Packaging (Windows): [98/114] Compile [x64] Module.CesiumRuntime.7.cpp

UATHelper: Packaging (Windows): [99/114] Compile [x64] CesiumPropertyTexture.spec.cpp

UATHelper: Packaging (Windows): [100/114] Compile [x64] UnrealMetadataConversions.spec.cpp

UATHelper: Packaging (Windows): [101/114] Compile [x64] ScreenCreditsWidget.cpp

UATHelper: Packaging (Windows): [102/114] Compile [x64] Module.CesiumRuntime.2.cpp

UATHelper: Packaging (Windows): [103/114] Compile [x64] CesiumMetadataUtilityBlueprintLibrary.cpp

UATHelper: Packaging (Windows): [104/114] Compile [x64] CesiumMetadataPickingBlueprintLibrary.cpp

UATHelper: Packaging (Windows): [105/114] Compile [x64] CesiumViewExtension.cpp

UATHelper: Packaging (Windows): [106/114] Compile [x64] Module.CesiumRuntime.1.cpp

UATHelper: Packaging (Windows): [107/114] Compile [x64] CesiumPropertyTable.cpp

UATHelper: Packaging (Windows): [108/114] Compile [x64] Module.CesiumRuntime.6.cpp

UATHelper: Packaging (Windows): [109/114] Compile [x64] Module.CesiumRuntime.5.cpp

UATHelper: Packaging (Windows): [110/114] Compile [x64] CesiumPropertyTextureProperty.cpp

UATHelper: Packaging (Windows): [111/114] Compile [x64] Module.CesiumRuntime.4.cpp

UATHelper: Packaging (Windows): [112/114] Compile [x64] CesiumPropertyTableProperty.cpp

UATHelper: Packaging (Windows): Total time in Parallel executor: 292.61 seconds

UATHelper: Packaging (Windows): Total execution time: 300.02 seconds

UATHelper: Packaging (Windows): Took 300.20s to run dotnet.exe, ExitCode=6

UATHelper: Packaging (Windows): UnrealBuildTool failed. See log for more details. (C:\Users\Owner\AppData\Roaming\Unreal Engine\AutomationTool\Logs\C+Program+Files+Epic+Games+UE\_5.4\UBA-the\_lanes-Win64-Development.txt)

UATHelper: Packaging (Windows): AutomationTool executed for 0h 5m 2s

UATHelper: Packaging (Windows): AutomationTool exiting with ExitCode=6 (6)

UATHelper: Packaging (Windows): BUILD FAILED

PackagingResults: Error: Unknown Error

Kind Regards,

**Clint Motley**

Co-Founder | CTO

![](https://global.discourse-cdn.com/cesium/original/2X/c/c982ab4f56bc15e06ab10de8e7d2a38ea6fdf2ff.png)

**p** 0431 461 763

**o** (07) 3194 2037

**e** [clint@immersiv.com.au](mailto:clint@immersiv.com.au)

**w** [www.immersiv.com.au](http://www.immersiv.com.au/)

[**![Title: instagram - Description: instagram icon](https://global.discourse-cdn.com/cesium/original/2X/1/1ed559b4fdfc859c9e4bc769a0f4a40a19d6d0b7.png)**](https://www.instagram.com/immersiv_3d/)[**![Title: linkedin - Description: linkedin icon](https://global.discourse-cdn.com/cesium/original/3X/f/7/f7a4108797834241dabdfe6c64719130d3e5b8cb.png)**](https://www.linkedin.com/company/immersivau/)

**![](https://global.discourse-cdn.com/cesium/original/3X/e/b/eb130d5329e60ff747d6ac7fac7f20a0ba95e2ff.png) ![](https://global.discourse-cdn.com/cesium/original/3X/8/6/86350f63ca3251f7ca2d90467b30dd2f0bf9ea95.png)**

---

<div class="post-metadata">

### Author: ![Kevin\_Ring](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kevin_ring/32/2003_2.png) [@Kevin\_Ring](https://community.cesium.com/u/Kevin_Ring)
#### Post date: [July 2, 2024, 2:53am UTC](https://community.cesium.com/t/cesium-2-6-unable-to-package/33422/4 "2024-07-02T02:53:03Z")

</div>

Looks like we fixed one missing header and introduced another. 🤦‍♂️ Unreal’s build process unfortunately makes this really easy to do.

Adding `#include "CesiumEllipsoid.h"` near the top of `CesiumGlobeAnchorComponent.h` should fix this one. Can you try that?

---

<div class="post-metadata">

### Author: ![clint](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/clint/32/14898_2.png) [@clint](https://community.cesium.com/u/clint)
#### Post date: [July 2, 2024, 3:19am UTC](https://community.cesium.com/t/cesium-2-6-unable-to-package/33422/5 "2024-07-02T03:19:43Z")

</div>

No worries. Sorry which file do I access to add?

Kind Regards,

**Clint Motley**

Co-Founder | CTO

![](https://global.discourse-cdn.com/cesium/original/2X/c/c982ab4f56bc15e06ab10de8e7d2a38ea6fdf2ff.png)

**p** 0431 461 763

**o** (07) 3194 2037

**e** [clint@immersiv.com.au](mailto:clint@immersiv.com.au)

**w** [www.immersiv.com.au](http://www.immersiv.com.au/)

[**![Title: instagram - Description: instagram icon](https://global.discourse-cdn.com/cesium/original/2X/1/1ed559b4fdfc859c9e4bc769a0f4a40a19d6d0b7.png)**](https://www.instagram.com/immersiv_3d/)[**![Title: linkedin - Description: linkedin icon](https://global.discourse-cdn.com/cesium/original/3X/f/7/f7a4108797834241dabdfe6c64719130d3e5b8cb.png)**](https://www.linkedin.com/company/immersivau/)

**![](https://global.discourse-cdn.com/cesium/original/3X/e/b/eb130d5329e60ff747d6ac7fac7f20a0ba95e2ff.png) ![](https://global.discourse-cdn.com/cesium/original/3X/8/6/86350f63ca3251f7ca2d90467b30dd2f0bf9ea95.png)**

---

<div class="post-metadata">

### Author: ![Kevin\_Ring](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kevin_ring/32/2003_2.png) [@Kevin\_Ring](https://community.cesium.com/u/Kevin_Ring)
#### Post date: [July 2, 2024, 4:45am UTC](https://community.cesium.com/t/cesium-2-6-unable-to-package/33422/6 "2024-07-02T04:45:23Z")

</div>

The one that has your first error:

> [@clint](#):
>
> A:\Projects\_R+D\The Lanes\_5.4\Plugins\CesiumForUnreal\Source\CesiumRuntime\Public\CesiumGlobeAnchorComponent.h

---

<div class="post-metadata">

### Author: ![clint](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/clint/32/14898_2.png) [@clint](https://community.cesium.com/u/clint)
#### Post date: [July 2, 2024, 6:01am UTC](https://community.cesium.com/t/cesium-2-6-unable-to-package/33422/7 "2024-07-02T06:01:35Z")

</div>

Thanks. I added to the file but received this error in UE.

 ![](https://global.discourse-cdn.com/cesium/original/3X/a/3/a32241571968d917504e018c07205f41ef2e7c93.png)

Error;

 ![](https://global.discourse-cdn.com/cesium/original/3X/6/3/63ef62aa4716eb40bb22b8265f88038fa88f1cbf.png)

Kind Regards,

**Clint Motley**

Co-Founder | CTO

![](https://global.discourse-cdn.com/cesium/original/2X/c/c982ab4f56bc15e06ab10de8e7d2a38ea6fdf2ff.png)

**p** 0431 461 763

**o** (07) 3194 2037

**e** [clint@immersiv.com.au](mailto:clint@immersiv.com.au)

**w** [www.immersiv.com.au](http://www.immersiv.com.au/)

[**![Title: instagram - Description: instagram icon](https://global.discourse-cdn.com/cesium/original/2X/1/1ed559b4fdfc859c9e4bc769a0f4a40a19d6d0b7.png)**](https://www.instagram.com/immersiv_3d/)[**![Title: linkedin - Description: linkedin icon](https://global.discourse-cdn.com/cesium/original/3X/f/7/f7a4108797834241dabdfe6c64719130d3e5b8cb.png)**](https://www.linkedin.com/company/immersivau/)

**![](https://global.discourse-cdn.com/cesium/original/3X/e/b/eb130d5329e60ff747d6ac7fac7f20a0ba95e2ff.png) ![](https://global.discourse-cdn.com/cesium/original/3X/8/6/86350f63ca3251f7ca2d90467b30dd2f0bf9ea95.png)**

---

<div class="post-metadata">

### Author: ![Kevin\_Ring](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/kevin_ring/32/2003_2.png) [@Kevin\_Ring](https://community.cesium.com/u/Kevin_Ring)
#### Post date: [July 2, 2024, 7:28am UTC](https://community.cesium.com/t/cesium-2-6-unable-to-package/33422/8 "2024-07-02T07:28:13Z")

</div>

The error message tells you the solution. Move the CesiumEllipsoid.h line before the CesiumGlobeAnchorComponent.generated.h line.

---

<div class="post-metadata">

### Author: ![clint](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/clint/32/14898_2.png) [@clint](https://community.cesium.com/u/clint)
#### Post date: [July 2, 2024, 11:54pm UTC](https://community.cesium.com/t/cesium-2-6-unable-to-package/33422/9 "2024-07-02T23:54:23Z")

</div>

Thanks Kevin, that works now cheers.

Kind Regards,

**Clint Motley**

Co-Founder | CTO

![](https://global.discourse-cdn.com/cesium/original/2X/c/c982ab4f56bc15e06ab10de8e7d2a38ea6fdf2ff.png)

**p** 0431 461 763

**o** (07) 3194 2037

**e** [clint@immersiv.com.au](mailto:clint@immersiv.com.au)

**w** [www.immersiv.com.au](http://www.immersiv.com.au/)

[**![Title: instagram - Description: instagram icon](https://global.discourse-cdn.com/cesium/original/2X/1/1ed559b4fdfc859c9e4bc769a0f4a40a19d6d0b7.png)**](https://www.instagram.com/immersiv_3d/)[**![Title: linkedin - Description: linkedin icon](https://global.discourse-cdn.com/cesium/original/3X/f/7/f7a4108797834241dabdfe6c64719130d3e5b8cb.png)**](https://www.linkedin.com/company/immersivau/)

**![](https://global.discourse-cdn.com/cesium/original/3X/e/b/eb130d5329e60ff747d6ac7fac7f20a0ba95e2ff.png) ![](https://global.discourse-cdn.com/cesium/original/3X/8/6/86350f63ca3251f7ca2d90467b30dd2f0bf9ea95.png)**

---

<div class="post-metadata">

### Author: ![L\_N](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/l_n/32/16048_2.png) [@L\_N](https://community.cesium.com/u/L_N)
#### Post date: [July 3, 2024, 7:18am UTC](https://community.cesium.com/t/cesium-2-6-unable-to-package/33422/10 "2024-07-03T07:18:58Z")

</div>

Hi @Kevin_Ring

Since I have updated to the latest Cesium for Unreal Version 2.7.0, it is also no longer possible for me to pack projects.  
The error message is about the georeferencing which I have not changed. The project (blueprints) exists since Cesium V2.1 and could always be packed so far.

fatal error: [File:D:\build++UE5\Sync\Engine\Source\Runtime\CoreUObject\Private\Serialization\AsyncLoading2.cpp] [Line: 1700]  
ObjectSerializationError: /Game/…(0xEF2DCD8C5C2B8213) /Game/…(0xEF2DCD8C5C2B8213) - CesiumGeoreference /Game/…:PersistentLevel.CesiumGeoreference\_UAID\_38CA843E26D642D201\_1499604535: Bad export index 1275068422/4517.
