How to reproduce:
1. Open the user’s attached “AppleMultipeerConnectivityUnityPluginSample.zip” project
2. Open Build Settings and enable the “ARCollaborationDataSample” Scene in the “Scenes In Build” list
3. Build And Run the project on an iOS device
4. In Xcode, open Instruments and choose “Leaks”
5. Select a built application, start recording, and observe the result
Expected result: No leaks
Actual result: Multiple leaks are found
Reproducible with: 5.0.5 (2021.3.22f1), 5.1.0-pre.4 (2021.3.26f1, 2022.2.21f1, 2023.1.0b18, 2023.2.0a16)
Could not test with: 2020.3.48f1 (Errors after project downgrade)
Reproduced on: macOS 13.2.1 (Intel)
VLNQA00494 - iPhone 14 Pro Max, 16.3.1 iOS
VLNQA00310 - iPad Pro 12.9", 13.4.1 iOS
No repro:
VLNQA00358 - iPhone 12, 14.1 iOS
VLNQA00392 - iPad (9th generation), 15.0 iOS
VLNQA00409 - Galaxy Z Fold3 5G (SM-F926B), CPU: Snapdragon 888, GPU: Adreno 660, OS: 11
VLNQA00513 - OnePlus Nord N10 5G (BE2029), CPU: Snapdragon 690 SM6350, GPU: Adreno 619, OS: 11
Note: The memory leaks started to appear after the collaboration request was enabled "subsystem.collaborationRequested = true;” (user’s info)