Skip to content

Pr/unity 2022 compatibility#13

Open
TheXRGuy-mw wants to merge 3 commits intotrev3d:masterfrom
hellomixedworld:pr/unity-2022-compatibility
Open

Pr/unity 2022 compatibility#13
TheXRGuy-mw wants to merge 3 commits intotrev3d:masterfrom
hellomixedworld:pr/unity-2022-compatibility

Conversation

@TheXRGuy-mw
Copy link

Unity 2022.3 LTS & Android 12L Compatibility Updates

Changes

Unity Downgrade (2022.3 LTS)

  • Migrated project from Unity 6000 to Unity 2022.3 LTS
  • Updated project settings for 2022.3 compatibility
  • Modified native Java implementations:
    • DisplayCaptureManager
    • DisplayCaptureNotificationService
    • BarcodeReader

Android 12L Support

  • Modified gradle dependencies for Android API level 32 compatibility
  • Downgraded AndroidX dependencies:
    • androidx.appcompat:appcompat:1.5.1
    • androidx.core:core:1.8.0
    • androidx.activity:activity:1.5.1
    • androidx.annotation:annotation-experimental:1.2.0

Meta XR Improvements

  • Addressed warnings from Meta XR project validation manager
  • Optimized project settings according to Meta's recommended guidelines
  • Enhanced compatibility with Quest platform requirements

Purpose

  • Ensures broader compatibility by supporting the stable Unity 2022.3 LTS release
  • Maintains compatibility with Android 12L (API 32) for Horizon Store submission
  • Prevents dependency conflicts with newer Android API requirements
  • Improves Meta Quest platform compliance

Testing

  • Verified successful builds in Unity 2022.3
  • Confirmed display capture functionality on Quest 3 with Android 12L
  • Validated barcode scanning capabilities for QR codes
  • Tested notification service behavior
  • Passed Meta XR validation checks

Update Project and Code to ensure Unity 2022 LTS compatibility.
For Meta Horizon Store submissions, Android SDK 32 (Android 12L) is currently a requirement. Hence having plugin dependencies that force API Level 33 or above as build target will void submission eligebility.
@trev3d
Copy link
Owner

trev3d commented Oct 31, 2024

Wow, super comprehensive. You're a better organized developer than I, lol. I will merge this ASAP. Thank you so much for the time spent on this <3

@TheXRGuy-mw
Copy link
Author

It's my pleasure! Your work is just amazing. This repository has opened doors for a lot of prototyping work that would have otherwise been laying dormant until Meta eventually brings this feature as a building block.

I hope this will not be my last contribution to your projects. Keep up the great work!

@snaik27
Copy link

snaik27 commented Nov 5, 2024

Just wanted to leave a confirmation here that it (only tested display capture) works on Unity 2022.3.38f1, just had to set the Target API level to 34 👍 Thanks!

@trev3d
Copy link
Owner

trev3d commented Dec 2, 2024

so sorry i haven't accepted this yet. super busy but i will have time over christmas hopefully. just updating you so you don't feel your contribution is unappreciated

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants