Releases: CesiumGS/cesium-unity
Cesium for Unity v1.10.0
Cesium for Unity works on Windows (x86-64), macOS (x86-64 and Apple Silicon), Android (ARM64 and x86-64), iOS, and Universal Windows Platform (ARM64 and x86-64).
π Get Started
- Download Cesium for Unity Samples.
- Extract the
.zip
file into a suitable location on your computer. - If you have Unity Hub installed, click the "Open" button under the "Projects" tab. Otherwise, open the Unity Editor directly and select "Open Project". Then, point it to the extracted directory. Unity will load the project and also download Cesium for Unity using the Package Manager.
- In the Asset Browser, select and load
Assets -> Scenes -> 01_CesiumWorld
. You can also select other scenes as you browse and explore the samples.
Or, to learn how to add it to your own project, see the Cesium for Unity Quickstart.
Have questions? Ask them on the community forum.
π Change Log
Additions π
- Added support for Cesium ion servers in single user mode. Tokens are not required to stream assets from such servers.
Fixes π§
- Fixed a bug where
CesiumCreditSystem
would delete itself from its scene when other additive scenes were unloaded.
In addition to the above, this release updates cesium-native from v0.34.0 to v0.35.0. See the changelog for a complete list of changes in cesium-native.
Cesium for Unity v1.9.0
Cesium for Unity works on Windows (x86-64), macOS (x86-64 and Apple Silicon), Android (ARM64 and x86-64), iOS, and Universal Windows Platform (ARM64 and x86-64).
π Get Started
- Download Cesium for Unity Samples.
- Extract the
.zip
file into a suitable location on your computer. - If you have Unity Hub installed, click the "Open" button under the "Projects" tab. Otherwise, open the Unity Editor directly and select "Open Project". Then, point it to the extracted directory. Unity will load the project and also download Cesium for Unity using the Package Manager.
- In the Asset Browser, select and load
Assets -> Scenes -> 01_CesiumWorld
. You can also select other scenes as you browse and explore the samples.
Or, to learn how to add it to your own project, see the Cesium for Unity Quickstart.
Have questions? Ask them on the community forum.
π Change Log
Additions π
- Added
CesiumWebMapTileServiceRasterOverlay
, which enables Web Map Tile Service (WMTS) imagery to be draped on aCesium3DTileset
. - Added support for the
KHR_texture_transform
glTF extension - including rotation - for picking withCesiumFeatureIdTexture
.
Fixes π§
- Normal, metallic-roughness, and occlusion textures from glTF models will now be correctly treated as linear rather than sRGB.
- Fixed a bug where UVs were not properly interpolated in
CesiumFeatureIdTexture.GetFeatureIdFromHit
, resulting in incorrect values.
In addition to the above, this release updates cesium-native from v0.33.0 to v0.34.0. See the changelog for a complete list of changes in cesium-native.
Cesium for Unity v1.8.0
Cesium for Unity works on Windows (x86-64), macOS (x86-64 and Apple Silicon), Android (ARM64 and x86-64), iOS, and Universal Windows Platform (ARM64 and x86-64).
π Get Started
- Download Cesium for Unity Samples.
- Extract the
.zip
file into a suitable location on your computer. - If you have Unity Hub installed, click the "Open" button under the "Projects" tab. Otherwise, open the Unity Editor directly and select "Open Project". Then, point it to the extracted directory. Unity will load the project and also download Cesium for Unity using the Package Manager.
- In the Asset Browser, select and load
Assets -> Scenes -> 01_CesiumWorld
. You can also select other scenes as you browse and explore the samples.
Or, to learn how to add it to your own project, see the Cesium for Unity Quickstart.
Have questions? Ask them on the community forum.
π Change Log
Breaking Changes π£
- Feature IDs and metadata are now parsed through the
EXT_mesh_features
andEXT_structural_metadata
extensions respectively. Models withEXT_feature_metadata
will still be parsed, but their metadata will no longer be accessible. CesiumDefaultTilesetMaterial
andCesiumUnlitTilesetMaterial
have had their overlay-related parameters renamed. For instance,_overlay0TextureCoordinateIndex
has now become_overlayTextureCoordinateIndex_0
. Custom materials that relied on the previous naming scheme may break.
Additions π
- Added
CesiumCartographicPolygon
andCesiumPolygonRasterOverlay
, which together can be used to clip out polygonal areas of aCesium3DTileset
. These new classes are only available in Unity 2022.2+ because they require Unity's Splines package. - Added
CesiumFeatureIdSet
, which represents a feature ID set inEXT_mesh_features
. - Added
CesiumFeatureIdAttribute
andCesiumFeatureIdTexture
, which derive fromCesiumFeatureIdSet
and respectively represent a feature ID attribute and feature ID texture inEXT_mesh_features
. - Added
CesiumPrimitiveFeatures
, a component that provides access to theEXT_mesh_features
on a glTF primitive when it is loaded byCesium3DTileset
. - Added
CesiumPropertyTableProperty
, which represents a property table property inEXT_structural_metadata
and can be used to retrieve metadata. - Added
CesiumPropertyTable
, which represents a property table inEXT_structural_metadata
. - Added
CesiumModelMetadata
, a component that provides access to theEXT_structural_metadata
on a glTF model when it is loaded byCesium3DTileset
. - Added
CesiumMetadataValue
, which can hold a metadata value fromEXT_structural_metadata
while abstracting away its type. - Added a
distance
property toCesiumOriginShift
, which specifies the maximum allowed distance from the current origin before it is shifted. - Added support for the
KHR_texture_transform
glTF extension - including rotation - inbaseColorTexture
,metallicRoughnessTexture
,emissiveTexture
,normalTexture
, andocclusionTexture
. The transformation is now applied on the GPU via nodes in the Material, rather than on the CPU by directly modifying texture coordinates. - Added
materialKey
toCesiumRasterOverlay
, which matches the overlay to its corresponding parameters in the tileset's material. This allows for explicit ordering of raster overlays and overlay-specific effects. CesiumCameraController
can now accept custom input actions that override the default inputs.
Fixes π§
- Removed the "Universal Additional Camera Data" script from DynamicCamera, as it shows up as a missing script in other render pipelines.
- Fixed a bug where adding a
CesiumSubScene
as the child of an existingCesiumGeoreference
in editor would cause the parentCesiumGeoreference
to have its coordinates reset to the default. - Fixed the "DynamicCamera is not nested inside a game object with a CesiumGeoreference" warning when adding a new DynamicCamera in the editor.
- Fixed support for loading textures with less than four channels.
- Fixed "Destroying assets is not permitted to avoid data loss" error when using a custom opaque material with texture assets on a
Cesium3DTileset
. - Fixed jump at the end of the flight path in
CesiumFlyToController
.
Deprecated β³
CesiumMetadata
has been deprecated. Instead, retrieve theCesiumModelMetadata
component attached to a tile game object in order to access its glTF metadata.CesiumFeature
has been deprecated. Instead, retrieve feature IDs from theCesiumPrimitiveFeatures
component attached to a primitive game object in order to access its glTF features. Feature IDs can be used to retrieve metadata from theCesiumModelMetadata
attached to its parent.flyToGranularityDegrees
inCesiumFlyToController
has been deprecated.CesiumFlyToController
no longer works using keypoints, so this value is unnecessary.
In addition to the above, this release updates cesium-native from v0.27.4 to v0.33.0. See the changelog for a complete list of changes in cesium-native.
Cesium for Unity v1.7.1
Cesium for Unity works on Windows (x86-64), macOS (x86-64 and Apple Silicon), Android (ARM64 and x86-64), iOS, and Universal Windows Platform (ARM64 and x86-64).
π Get Started
- Download Cesium for Unity Samples.
- Extract the
.zip
file into a suitable location on your computer. - If you have Unity Hub installed, click the "Open" button under the "Projects" tab. Otherwise, open the Unity Editor directly and select "Open Project". Then, point it to the extracted directory. Unity will load the project and also download Cesium for Unity using the Package Manager.
- In the Asset Browser, select and load
Assets -> Scenes -> 01_CesiumWorld
. You can also select other scenes as you browse and explore the samples.
Or, to learn how to add it to your own project, see the Cesium for Unity Quickstart.
Have questions? Ask them on the community forum.
π Change Log
Fixes π§
- Fixed a bug that prevented the default
CesiumIonServer
asset from remembering its token in a clean project.
Cesium for Unity v1.7.0
Warning: Shortly after releasing this version, we found a problem where it forgets the project default token after upgrading from a previous version and then reloading the project. A release will be available with v1.7.1 very soon. In the meantime, hold off upgrading or be sure to create a backup of your project first.
Cesium for Unity works on Windows (x86-64), macOS (x86-64 and Apple Silicon), Android (ARM64 and x86-64), iOS, and Universal Windows Platform (ARM64 and x86-64).
π Get Started
- Download Cesium for Unity Samples.
- Extract the
.zip
file into a suitable location on your computer. - If you have Unity Hub installed, click the "Open" button under the "Projects" tab. Otherwise, open the Unity Editor directly and select "Open Project". Then, point it to the extracted directory. Unity will load the project and also download Cesium for Unity using the Package Manager.
- In the Asset Browser, select and load
Assets -> Scenes -> 01_CesiumWorld
. You can also select other scenes as you browse and explore the samples.
Or, to learn how to add it to your own project, see the Cesium for Unity Quickstart.
Have questions? Ask them on the community forum.
π Change Log
Additions π
- Added support for multiple Cesium ion servers by creating
CesiumIonServer
assets.
In addition to the above, this release updates cesium-native from v0.27.3 to v0.27.4. See the changelog for a complete list of changes in cesium-native.
Cesium for Unity v1.6.4
Cesium for Unity works on Windows (x86-64), macOS (x86-64 and Apple Silicon), Android (ARM64 and x86-64), iOS, and Universal Windows Platform (ARM64 and x86-64).
π Get Started
- Download Cesium for Unity Samples.
- Extract the
.zip
file into a suitable location on your computer. - If you have Unity Hub installed, click the "Open" button under the "Projects" tab. Otherwise, open the Unity Editor directly and select "Open Project". Then, point it to the extracted directory. Unity will load the project and also download Cesium for Unity using the Package Manager.
- In the Asset Browser, select and load
Assets -> Scenes -> 01_CesiumWorld
. You can also select other scenes as you browse and explore the samples.
Or, to learn how to add it to your own project, see the Cesium for Unity Quickstart.
Have questions? Ask them on the community forum.
π Change Log
Additions π
- Added "Google Photorealistic 3D Tiles" to the Quick Add panel.
Cesium for Unity v1.6.3
Cesium for Unity works on Windows (x86-64), macOS (x86-64 and Apple Silicon), Android (ARM64 and x86-64), iOS, and Universal Windows Platform (ARM64 and x86-64).
π Get Started
- Download Cesium for Unity Samples.
- Extract the
.zip
file into a suitable location on your computer. - If you have Unity Hub installed, click the "Open" button under the "Projects" tab. Otherwise, open the Unity Editor directly and select "Open Project". Then, point it to the extracted directory. Unity will load the project and also download Cesium for Unity using the Package Manager.
- In the Asset Browser, select and load
Assets -> Scenes -> 01_CesiumWorld
. You can also select other scenes as you browse and explore the samples.
Or, to learn how to add it to your own project, see the Cesium for Unity Quickstart.
Have questions? Ask them on the community forum.
π Change Log
Fixes π§
- Made the project compatible with macOS versions as old as 10.13 by setting the
CMAKE_OSX_DEPLOYMENT_TARGET
variable to10.13
.
In addition to the above, this release updates cesium-native from v0.27.2 to v0.27.3. See the changelog for a complete list of changes in cesium-native.
Cesium for Unity v1.6.2
Cesium for Unity works on Windows (x86-64), macOS (x86-64 and Apple Silicon), Android (ARM64 and x86-64), iOS, and Universal Windows Platform (ARM64 and x86-64).
π Get Started
- Download Cesium for Unity Samples.
- Extract the
.zip
file into a suitable location on your computer. - If you have Unity Hub installed, click the "Open" button under the "Projects" tab. Otherwise, open the Unity Editor directly and select "Open Project". Then, point it to the extracted directory. Unity will load the project and also download Cesium for Unity using the Package Manager.
- In the Asset Browser, select and load
Assets -> Scenes -> 01_CesiumWorld
. You can also select other scenes as you browse and explore the samples.
Or, to learn how to add it to your own project, see the Cesium for Unity Quickstart.
Have questions? Ask them on the community forum.
π Change Log
Fixes π§
- Fixed a bug that caused compilation errors in packaged game builds for iOS.
- Fixed a bug that caused Apple Silicon binaries to be missing from packaged games for macOS.
In addition to the above, this release updates cesium-native from v0.27.1 to v0.27.2. See the changelog for a complete list of changes in cesium-native.
Cesium for Unity v1.6.1
Cesium for Unity works on Windows (x86-64), macOS (x86-64 and Apple Silicon), Android (ARM64 and x86-64), iOS, and Universal Windows Platform (ARM64 and x86-64).
π Get Started
- Download Cesium for Unity Samples.
- Extract the
.zip
file into a suitable location on your computer. - If you have Unity Hub installed, click the "Open" button under the "Projects" tab. Otherwise, open the Unity Editor directly and select "Open Project". Then, point it to the extracted directory. Unity will load the project and also download Cesium for Unity using the Package Manager.
- In the Asset Browser, select and load
Assets -> Scenes -> 01_CesiumWorld
. You can also select other scenes as you browse and explore the samples.
Or, to learn how to add it to your own project, see the Cesium for Unity Quickstart.
Have questions? Ask them on the community forum.
π Change Log
Fixes π§
- Fixed a bug that prevented editor windows from functioning when
com.unity.vectorgraphics
package was installed.
This release also fixes an important bug by updating cesium-native from v0.27.0 to v0.27.1. See the changelog for a complete list of changes in cesium-native.
Cesium for Unity v1.6.0
Cesium for Unity works on Windows (x86-64), macOS (x86-64 and Apple Silicon), Android (ARM64 and x86-64), iOS, and Universal Windows Platform (ARM64 and x86-64).
π Get Started
- Download Cesium for Unity Samples.
- Extract the
.zip
file into a suitable location on your computer. - If you have Unity Hub installed, click the "Open" button under the "Projects" tab. Otherwise, open the Unity Editor directly and select "Open Project". Then, point it to the extracted directory. Unity will load the project and also download Cesium for Unity using the Package Manager.
- In the Asset Browser, select and load
Assets -> Scenes -> 01_CesiumWorld
. You can also select other scenes as you browse and explore the samples.
Or, to learn how to add it to your own project, see the Cesium for Unity Quickstart.
Have questions? Ask them on the community forum.
π Change Log
Additions π
- Added support for Universal Windows Platform (UWP), which is required to build applications for the Holo Lens 2.
- Added
ComputeLoadProgress
function to estimate the percentage of the 3D tileset that has been loaded for the current view.
Fixes π§
- Fixed a bug that prevented building on iOS.
- Fixed a bug where KTX tilesets did not display properly on iOS devices due to a missing check for ETC1 texture format.
In addition to the above, this release updates cesium-native from v0.26.0 to v0.27.0. See the changelog for a complete list of changes in cesium-native.