Releases: CesiumGS/cesium-unity
Cesium for Unity v0.3.0
Cesium for Unity works on Windows (x86-64), macOS (x86-64 and Apple Silicon), Android (ARM64 and x86-64), and iOS.
π 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 π£
- Removed the
positionAuthority
,unityX
,unityY
, andunityZ
properties fromCesiumGlobeAnchor
. Also removed theSetPositionUnity
method. - Removed the
CesiumGlobeAnchorPositionAuthority
enum. The authoritative position is now always found in thepositionGlobeFixed
property. The object's Unity world position can be obtained from itsTransform
. - Marked the
longitude
,latitude
, andheight
properties onCesiumGlobeAnchor
as obsolete. Use thelongitudeLatitudeHeight
property instead. - Marked the
ecefX
,ecefY
, andecefZ
properties onCesiumGlobeAnchor
as obsolete. Use thepositionGlobeFixed
property instead. - Marked
SetPositionLongitudeLatitudeHeight
andSetPositionEarthCenteredEarthFixed
methods onCesiumGlobeAnchor
as obsolete. Set thelongitudeLatitudeHeight
orpositionGlobeFixed
property instead. - Replaced
MetadataProperty
withCesiumFeature
. Metadata features are now separated based on feature tables where properties are accessed by name. - Replaced
CesiumMetadata.GetProperties
withCesiumMetadata.GetFeatures
, which returns an array ofCesiumFeature
s.
Additions π
- Added support for rendering point clouds (
pnts
). CesiumGlobeAnchor
now stores a precise, globe-relative orientation and scale in addition to position.- Added
localToGlobeFixedMatrix
,longitudeLatitudeHeight
,positionGlobeFixed
,rotationGlobeFixed
,rotationEastUpNorth
,scaleGlobeFixed
, andscaleEastUpNorth
properties toCesiumGlobeAnchor
. - Added the
Restart
method toCesiumGlobeAnchor
, which can be use to reinitialize the component from its serialized values. - Moved the Cesium tileset shaders from the
Shader Graphs
shader category to the newCesium
shader category. - Added
CesiumDebugColorizeTilesRasterOverlay
to visualize how a tileset is divided into tiles.
Fixes π§
- Fixed a bug that prevented caching of 3D Tiles and overlay requests.
- Fixed a bug that could cause the Cesium ion Token Troubleshooting panel to crash the Unity Editor.
- Added a workaround for a crash in the Burst Compiler (bcl.exe) in Unity 2022.2 when using il2cpp.
- Fixed a bug that could cause incorrect metadata to be associated with a feature, especially in Draco-encoded tiles.
In addition to the above, this release updates cesium-native from v0.21.3 to v0.22.0. See the changelog for a complete list of changes in cesium-native.
Cesium for Unity v0.2.0
Cesium for Unity works on Windows (x86-64), macOS (x86-64 and Apple Silicon), Android (ARM64 and x86-64), and iOS.
π 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 π£
- Renamed
CesiumTransforms
toCesiumWgs84Ellipsoid
.
Additions π
- Added
CesiumCameraController
, a globe-aware controller that adapts its speed and clipping planes based on its height from the globe. - Added
CesiumFlyToController
, a controller that can smoothly fly to locations across the globe. - Added an option to add a
DynamicCamera
from the Cesium panel to the scene. TheDynamicCamera
containsCesiumCameraController
andCesiumFlyToController
components and offers easy navigation of the globe. - Added support for building to iOS.
- Added support for building to Android x86-64 devices like the Magic Leap 2.
Fixes π§
- Fixed a bug where
CesiumGeoreference
,CesiumGlobeAnchor
, andCesiumSubScene
would not properly update when their values were changed by undos or pasted values. CesiumRuntimeSettings
is now stored inAssets/CesiumSettings/Resources
instead ofAssets/Settings/Resources
.- Added an explicit
Physics.SyncTransforms
whenCesiumOriginShift
activates or deactivates sub-scenes, avoiding a brief period of potentially very incorrect collisions.
In addition to the above, this release updates cesium-native from v0.21.1 to v0.21.3. See the changelog for a complete list of changes in cesium-native.
Cesium for Unity v0.1.2
π 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.
To add Cesium to Unity to a new or existing project instead, see the Quickstart.
Have questions? Ask them on the community forum.
π Change Log
Fixes π§
- Fixed a bug that caused Cesium for Unity to fail to compile in Unity 2022.2 and potentially in other scenarios.
- Fixed a bug that led to an exception when the project name included characters outside the printable ASCII range.
Cesium for Unity v0.1.1
π 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.
Have questions? Ask them on the community forum.
π Change Log
Fixes π§
- Fixed a bug that caused raster overlay tiles to be missing or mixed up, especially when zooming in close and then back out.
Cesium for Unity v0.1.0
This is the initial public release of Cesium for Unity!
π 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.
Have questions? Ask them on the community forum.