Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions com.unity.cinemachine/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).


## [2.10.6] - 2026-02-23

- Converted code using InstanceID references and API to EntityID.

## [2.10.4] - 2025-06-10

- Bugfix: FramingTransposer with a dead zone would sometimes drift.
Expand Down
10 changes: 10 additions & 0 deletions com.unity.cinemachine/Editor/Windows/CinemachineSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAsse
{
if (didDomainReload)
{
#if UNITY_6000_4_OR_NEWER
EditorApplication.hierarchyWindowItemByEntityIdOnGUI += OnHierarchyGUI;
#else
EditorApplication.hierarchyWindowItemOnGUI += OnHierarchyGUI;
#endif
}
}
#endif
Expand Down Expand Up @@ -511,9 +515,15 @@ private static void OnGUI()
GUILayout.EndScrollView();
}

#if UNITY_6000_4_OR_NEWER
private static void OnHierarchyGUI(EntityId entityId, Rect selectionRect)
{
GameObject instance = EditorUtility.EntityIdToObject(entityId) as GameObject;
#else
private static void OnHierarchyGUI(int instanceID, Rect selectionRect)
{
GameObject instance = EditorUtility.InstanceIDToObject(instanceID) as GameObject;
#endif
if (instance == null)
{
// Object in process of being deleted?
Expand Down
2 changes: 1 addition & 1 deletion com.unity.cinemachine/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "com.unity.cinemachine",
"displayName": "Cinemachine",
"version": "2.10.4",
"version": "2.10.6",
"unity": "2022.3",
"description": "Smart camera tools for passionate creators. \n\n--- ATTENTION ---\nUpgrading a project from Cinemachine 2.x to Cinemachine 3.x is not automatic and not trivial.\nDon't do it unless you're willing to put in the required effort.\n\n> For more details, refer to the upgrade guide:\nhttps://docs.unity3d.com/Packages/com.unity.cinemachine@3.1/manual/CinemachineUpgradeFrom2.html\n--------------------\n\n\n",
"keywords": [ "camera", "follow", "rig", "fps", "cinematography", "aim", "orbit", "cutscene", "cinematic", "collision", "freelook", "cinemachine", "compose", "composition", "dolly", "track", "clearshot", "noise", "framing", "handheld", "lens", "impulse" ],
Expand Down
Loading