Skip to content

Bump Microsoft.Unity.Analyzers from 1.13.0 to 1.26.0 - #681

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/nuget/Microsoft.Unity.Analyzers-1.26.0
Open

Bump Microsoft.Unity.Analyzers from 1.13.0 to 1.26.0#681
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/nuget/Microsoft.Unity.Analyzers-1.26.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Apr 28, 2026

Copy link
Copy Markdown

Updated Microsoft.Unity.Analyzers from 1.13.0 to 1.26.0.

Release notes

Sourced from Microsoft.Unity.Analyzers's releases.

1.26.0

https://www.nuget.org/packages/Microsoft.Unity.Analyzers/1.26.0

  • Added UNT0040 diagnostic, GameObject.isStatic is editor-only.
  • Added UNT0041 diagnostic, use Animator.StringToHash for repeated Animator method calls.
  • Added UNT0042 diagnostic, Mesh array property accessed in loop.
  • Fixed UNT0022 diagnostic side effects.
  • Recategorized UNT0034 (Vector3→Vector2 conversion) from Performance to Readability.
  • Recategorized UNT0035 (Vector2→Vector3 conversion) from Performance to Readability.

1.25.0

https://www.nuget.org/packages/Microsoft.Unity.Analyzers/1.25.0

  • Fixed USP0023 suppressor, to properly support all message-based types.

1.24.0

https://www.nuget.org/packages/Microsoft.Unity.Analyzers/1.24.0

  • Added UniTask support for all message-based diagnostics and suppressors.
  • Added USP0023 suppressor, Don't flag incorrect naming styles for Unity messages.
  • Added UNT0039 diagnostic, Use RequireComponent attribute when self-invoking GetComponent.
  • Added ignored members to UNT0031 diagnostic, Asset operations in LoadAttribute method.

1.23.0

https://www.nuget.org/packages/Microsoft.Unity.Analyzers/1.23.0

1.22.0

https://www.nuget.org/packages/Microsoft.Unity.Analyzers/1.22.0

1.21.0

https://www.nuget.org/packages/Microsoft.Unity.Analyzers/1.21.0

  • Added Awaitable support for all message-based diagnostics and suppressors.
  • Improved UNT0014 detection consistency.

1.20.0

https://www.nuget.org/packages/Microsoft.Unity.Analyzers/1.20.0

  • Improved UNT0024, to support Unity.Mathematics.floatX types.
  • Added USP0022, Unity objects should not use if null coalescing.
  • Simplified UNT0026, to only support variable declaration constructs.

1.19.0

https://www.nuget.org/packages/Microsoft.Unity.Analyzers/1.19.0

  • Fixed trivia handling with UNT0021, when using messages without modifiers.
  • Fixed batch provider for all diagnostics.
  • Fixed UNT0034 and UNT0035 with ambiguous overloads.

1.18.0

https://www.nuget.org/packages/Microsoft.Unity.Analyzers/1.18.0

  • Added USP0021, Prefer reference equality.
  • Added support for TransformAccess with UNT0022 and UNT0032
  • Added UNT0036, Inefficient method to get position and rotation.
  • Added UNT0037, Inefficient method to get localPosition and localRotation.
  • Fixed USP0008 with partial types.

1.17.0

https://www.nuget.org/packages/Microsoft.Unity.Analyzers/1.17.0

  • Added UNT0034, A Vector3 can be converted into a Vector2.
  • Added UNT0035, A Vector2 can be converted into a Vector3.
  • Added support for help links for all analyzers.

1.16.1

https://www.nuget.org/packages/Microsoft.Unity.Analyzers/1.16.1

  • Added USP0020, The Unity runtime invokes Unity messages.

1.16.0

https://www.nuget.org/packages/Microsoft.Unity.Analyzers/1.16.0

  • Fixed UNT0033 to support all OnPostprocessAllAssets overloads.

1.15.0

https://www.nuget.org/packages/Microsoft.Unity.Analyzers/1.15.0

  • Updated UNT0006 to support all OnPostprocessAllAssets overloads.
  • Added UNT0031, Asset operations in LoadAttribute method.
  • Added UNT0032, Inefficient method to set localPosition and localRotation.
  • Added UNT0033, Incorrect message case.
  • Bumped severity to Warning for UNT0033, UNT0015 and UNT0006 diagnostics.
  • Fixed inline ifs incorrectly processed by UNT0026.

1.14.0

https://www.nuget.org/packages/Microsoft.Unity.Analyzers/1.14.0

  • Added UNT0027, Prevent call to default PropertyDrawer.OnGUI() implementation.
  • Added UNT0028, Use non-allocating physics APIs.
  • Added UNT0029, Pattern matching with null on Unity objects.
  • Added UNT0030, Calling Destroy or DestroyImmediate on a Transform.

Commits viewable in compare view.

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

---
updated-dependencies:
- dependency-name: Microsoft.Unity.Analyzers
  dependency-version: 1.26.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added .NET Pull requests that update .NET code dependencies Pull requests that update a dependency file labels Apr 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file .NET Pull requests that update .NET code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants