Skip to content
Open
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
### Fixed

- [UUM-133861] Fixed "Look rotation viewing vector is zero" log being spammed when holding shift while using a create tool such as Create Sprite.
- Fixed warnings related to obsolete API calls with Unity 6.4 and onwards.

## [6.0.9] - 2026-01-30

Expand Down
4 changes: 4 additions & 0 deletions Editor/EditorCore/EditorUtility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,11 @@ public static void SetGizmoIconEnabled(Type script, bool enabled)

internal static T[] FindObjectsByType<T>() where T : UObject
{
#if UNITY_6000_4_OR_NEWER
return UObject.FindObjectsByType<T>();
#else
return UObject.FindObjectsByType<T>(FindObjectsSortMode.None);
#endif
}

internal static string GetActiveSceneAssetsPath()
Expand Down
2 changes: 1 addition & 1 deletion Tests/Editor/Editor/MeshSyncTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ static ulong GetRawId(Object obj)
var id = obj.GetObjectId();

#if UNITY_6000_4_OR_NEWER
return id.GetRawData();
return EntityId.ToULong(id);
#else
return (ulong)id;
#endif
Expand Down
9 changes: 8 additions & 1 deletion Tests/Editor/Undo/TestUndo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,19 @@ public static void CreateShape_UndoDoesRemoveTheGameObject()

instance.PerformAction();

#if UNITY_6000_4_OR_NEWER
var shapes = GameObject.FindObjectsByType<ProBuilderMesh>();
#else
var shapes = GameObject.FindObjectsByType<ProBuilderMesh>(FindObjectsSortMode.None);
#endif
Assume.That(shapes.Length, Is.EqualTo(1));

Undo.PerformUndo();

#if UNITY_6000_4_OR_NEWER
shapes = GameObject.FindObjectsByType<ProBuilderMesh>();
#else
shapes = GameObject.FindObjectsByType<ProBuilderMesh>(FindObjectsSortMode.None);
#endif
Assert.That(shapes.Length, Is.EqualTo(0));
}

Expand Down