Repository navigation
Unity 7.0 requires now AutoStaticsCleanup/NoAutoStaticsCleanup for static variables - #228
Merged
Merged
Conversation
…or events must have a Unity.Scripting.LifecycleManagement.AutoStaticsCleanup or NoAutoStaticsCleanup attribute. AutoStaticsCleanup additionally requires the type and all its containing types to be declared partial. for Unity 7
Contributor
There was a problem hiding this comment.
💡 Harness Review
The change adds lifecycle-cleanup annotations and makes static values readonly or constant, but the compatibility handling breaks compilation on supported Unity versions.
Reviewed commit 29ef9a1
🤖 Helpful? 👍/👎
Member
Author
|
/review |
Contributor
There was a problem hiding this comment.
💡 Harness Review
The change adds lifecycle cleanup opt-outs and makes static references readonly or constant. I examined compatibility guards, polyfill accessibility, field usages, and reference checks; I found no new actionable issues.
Reviewed commit ab462ea
🤖 Helpful? 👍/👎
7 of 12 tasks
…coreclr # Conflicts: # com.unity.mobile.android-logcat/Editor/AndroidLogcatScreenCaptureWindow.cs # com.unity.mobile.android-logcat/Editor/AndroidLogcatSettingsProvider.cs # com.unity.mobile.android-logcat/Editor/AndroidLogcatStyles.cs # com.unity.mobile.android-logcat/Tests/Editor/AndroidLogcatNetTests.cs
…ster Fixes UAL0013 on Unity 7 for AndroidLogcatCaptureList.Styles, AndroidLogcatImageViewer.Styles, AndroidLogcatLiveStream and AndroidLogcatUtilities. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
BorisShir
approved these changes
Oct 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix