-
Notifications
You must be signed in to change notification settings - Fork 329
CHANGE: Remove code to support Unity versions older than 2021.3 #2267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CHANGE: Remove code to support Unity versions older than 2021.3 #2267
Conversation
…ed at this moment (Unity 2021.3 LTS)
|
CC @Pauliusd01 -- not sure you want to test this change, there should be no functionality changes. Mentioning you here just for viz. |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
🤖 Helpful? Please react with 👍/👎 | Questions❓Please reach out in Slack #ask-u-pr-agent |
| BuildTarget.LinuxHeadlessSimulation, | ||
| BuildTarget.EmbeddedLinux, | ||
| #if UNITY_2022_1_OR_NEWER | ||
| BuildTarget.QNX, | ||
| #endif | ||
| #if UNITY_2022_3_OR_NEWER | ||
| BuildTarget.VisionOS, | ||
| #endif |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion: The conditional compilation directive for BuildTarget.QNX was removed, but it should be restored. The minimum supported Unity version for this package is now 2021.3, but BuildTarget.QNX was only introduced in Unity 2022.1. Without the conditional compilation, this code will fail to compile on Unity 2021.3. [possible issue, importance: 9]
| BuildTarget.LinuxHeadlessSimulation, | |
| BuildTarget.EmbeddedLinux, | |
| #if UNITY_2022_1_OR_NEWER | |
| BuildTarget.QNX, | |
| #endif | |
| #if UNITY_2022_3_OR_NEWER | |
| BuildTarget.VisionOS, | |
| #endif | |
| BuildTarget.LinuxHeadlessSimulation, | |
| BuildTarget.EmbeddedLinux, | |
| #if UNITY_2022_1_OR_NEWER | |
| BuildTarget.QNX, | |
| #endif | |
| #if UNITY_2022_3_OR_NEWER | |
| BuildTarget.VisionOS, | |
| #endif |
🤖 Helpful? Please react with 👍/👎 | Questions❓Please reach out in Slack #ask-u-pr-agent
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed that up
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for doing this clean-up. Did you also look at .asmdef files to remove any symbols indirectly mapping to older than 2021.3?
Yes, it didn't appear to me like we had anything. 2021.3 is there in a few spots though -- good to keep it in mind next time we clean up 2021.3. |
Description
Unity 2021.3 LTS is oldest Unity version that is supported at this moment, yet we still have some code lying around that deals with older versions such as 2020 and so. We're removing this code in this PR.
Testing status & QA
Local complication, no functional changes intended.
Overall Product Risks
Checklist
Before review:
Changed,Fixed,Addedsections.Area_CanDoX,Area_CanDoX_EvenIfYIsTheCase,Area_WhenIDoX_AndYHappens_ThisIsTheResult.During merge:
NEW: ___.FIX: ___.DOCS: ___.CHANGE: ___.RELEASE: 1.1.0-preview.3.After merge: