Testing of Mutable Runtime Reference Image Library in Unity Editor: XR Simulation + AR Foundation
This is a Video Demo on How to test Mutable Runtime Reference Image Library correctly in Unity based on my Text Tutorial ⭐ #MutableRuntimeReferenceImageLibrary
MutableRuntimeReferenceImageLibrary is intended to add Images for Tracking on the go when the user has running app on his phone. Using AR Foundation and the next tips, you can test the Adding of New Images into the Mutable Library in the Runtime correctly with XR Simulation.
---------------------------------
Demo Scene to Test
---------------------------------
There is BasicImageTracking Example Scene that uses Mutable Library in AR Foundation Samples, and I:
🧶 1. Duplicated the Simulated Environment by Default: Window — XR — AR Foundation — XR Environment — XR Environment overlay — Pencil icon — Duplicate Environment.
🧶 2. Added one more Tracked Image next to the existing one on the Scene and set the Image field of its Simulated Tracked Image component for All Images: to bind a simulated tracked image to your reference image library.
🧶 3. Added the next parts of code in the OnTrackablesChanged() method of .
-----------------------------------
2 Approaches to Test
-----------------------------------
You can test the Adding of New Image in Runtime using 2 predefined lists.
🧶 1. added list
foreach (var newImage in added)
{
(“added : “ );
}
There is no reaction to added list when a new image added to the library during runtime because all Simulated Tracked Images were in the Camera View at start.
The Simulated Environment assumes that AR Image is static in the environment, so once it appears in the camera view, it marks as static because this is not a separate image — this is a container for an image () which is not moving.
To trigger added list, you just need to add a new into the camera view: you can just place the SimulatedTrackedImage Game Objects before the Scene Start at some distance to the right/to the left from the Camera View.
This method will not work for true testing goals:
Scene View — open Duplicated Simulation Environment prefab to observe camera position — root Game Object — Simulation Environment component — Camera Starting Pose — Rotation/Position.
🧶 2. updated list
foreach (var newImage in updated)
{
(“updated: “ );
}
It can trigger perfectly for Added Image in Runtime and you can track the first appearance after adding an image to the library.
-----------------
Resources
-----------------
🧶 Complete AR Testing Tutorial:
🧶 My AR Assets:
#AR #Unity #ImageTracking
21 view
936
381
4 years ago 01:08:39 867
1+ Hour of R6 Dev Build Testing
7 months ago 00:08:21 15
Driveables of the Commonwealth - Havok Physics Vehicles - Testing
5 years ago 01:00:06 24
Testing $ Of Drumsticks
6 years ago 00:03:47 27
Demonstration of Ki Testing
13 years ago 00:02:51 55
Testing of FlyG
3 years ago 00:04:21 182
Testing the Nvidia RTX 4090
11 years ago 00:53:27 132
Курс Understanding Testing Process. Урок 1. Aim of testing/ Цель тестирования
12 years ago 00:02:47 412
testing of my wr250r
12 years ago 00:02:41 42
Hammer Work Flow: Testing of Possibilities
8 months ago 00:11:35 10
Path of Exile 2 - Exclusive Couch Co-op Footage and Skill Combo Testing
8 years ago 00:05:32 76
Battery security testing video of BLUBOO Edge
5 years ago 00:06:10 1.5K
Early Test Footage of Overwatch
11 years ago 00:02:32 75
Testing Of Sound - Восточный Ростов
5 years ago 00:04:50 51
Triaxial testing of geogrid-stabilised materials
12 years ago 00:22:53 73
World Of tanks Testing T57 Heavy Tank!
7 years ago 00:01:04 22
Testing Robustness
2 years ago 00:21:02 77
World of Jade Dynasty - Technical Testing Gameplay