-
Notifications
You must be signed in to change notification settings - Fork 329
CHANGE: Remove code that supported Unity versions older than 2022 LTS #2274
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
base: develop
Are you sure you want to change the base?
Conversation
| case TrackingType.RotationOnly: | ||
| if (rotationValid) | ||
| transform.localRotation = newRotation; | ||
| break; |
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.
This code is still logically the same as on the left, I just rephrased it to be more explicit in 2022 LTS+
| matches: new InputDeviceMatcher() | ||
| .WithInterface(XRUtilities.InterfaceMatchAnyVersion) | ||
| .WithProduct("^(Daydream Controller)")); | ||
| #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.
The reason I'm cutting this is that Daydream has been discontinued by Google in 2020
| // Note that m_Quitting is used here to mitigate the problem reported in issue tracker: | ||
| // https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-10774. | ||
| // Enabling a device will call into IOCTL of backend which will (may) be destroyed prior | ||
| // to this callback on Unity version <= 2022.2. This is not a fix for the actual problem |
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.
This change is a rollback of 7d53de2, for which we hopefully have a native-side solution in 2022 LTS now
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.
How is that solved now?
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.
@ekcoh would know better
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 |
Packages/com.unity.inputsystem/InputSystem/Plugins/XR/TrackedPoseDriver.cs
Show resolved
Hide resolved
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.
Looks good to me. The only comment I have is about the m_Quitting - which is okay to remove if this is solved sufficiently elsewhere.
…LTS (case UUM-10774)
Co-authored-by: u-pr-agent[bot] <205906871+u-pr-agent[bot]@users.noreply.github.com>
60ad958 to
30eb8e6
Compare
Description
Removing mentions of Unity older than 2022 LTS from code and manifests.
Testing status & QA
Local complilation
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: