Search Issue Tracker
Fixed in 4.2.8
Fixed in 5.1.0-pre.4
Votes
0
Found in [Package]
4.2.7
5.0.1
5.1.0-pre.3
Issue ID
ARFB-238
Regression
No
mutableLibrary.count returns zero when adding an image to the library with ScheduleAddImageWithValidationJob
How to reproduce:
1. Open the user’s attached “IN-23022_ARImageTrackingDynamic.zip“ project
2. Build and Run for Android
3. Go to Windows > Android Logcat and connect the device
4. Observe output messages
Expected result: “one has been loaded in to Library, mutable library size [1]“ message is logged
Actual result: “one has been loaded in to Library, mutable library size [0]“ message is logged
Reproducible with: 4.2.7 (2020.3.44f1, 2021.3.17f1), 5.0.3 (2021.3.17f1, 2022.2.3f1, 2023.1.0a26)
Reproducible with these devices:
Google Pixel 7 (Pixel 7), Android 13, CPU: Google Tensor G2, GPU: Mali-G710
Samsung Galaxy Z Flip3 5G (SM-F711B), Android 12, CPU: Snapdragon 888, GPU: Adreno (TM) 660
Samsung Galaxy S10+ (SM-G975F), Android 10, CPU: NOT FOUND, GPU: Mali-G76
Not reproducible with these devices:
VLNQA00494 - iPhone 14 Pro Max, 16.0.3 iOS
VLNQA00358 - iPhone 12, 14.1 iOS
VLNQA00392 - iPad (9th generation), 15.0 iOS
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on UndoManager::RegisterUndoInternal when applying added GameObjects to a Prefab
- [Asset Bundles] A new bundle hash is not generated when the name of a serialized field is changed
- Icon section shows incomplete message and unusable check box in Build Profiles and Player Settings window instead of “Not applicable for this platform” for Dedicated Server Platform
- Assets are created in the Package folders when creating assets via custom buttons in the Inspector window or other windows
- “Select” windows are named differently on Windows and macOS
Resolution Note:
Porting changes to 4.2.
Documentation changes highlighting the proper usage of the function, and how it can fail when calling the first frame of runtime, due to ARSession state being null.
Resolution Note:
Porting documentation changes to 5.0.
Method will fail if called on the first frame of runtime, since ARSession is currently null.
Resolution Note:
The documentation has been updated to reflect potential failure points when running the code.
If the function is ran on the first frame of runtime, the session is null and the image cannot be added to the library.
Refer to this docs page when the documentation is updated https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@5.1/manual/features/image-tracking.html#add-new-reference-images-at-runtime