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
4 views
711
326
6 months ago 00:00:19 1
Older Neptune takes the spotlight in Neptunia Game Maker R:Evolution!
6 months ago 01:32:31 1
Live: South Korean officials begin counting ballots after polls close in 22nd parliamentary election
6 months ago 00:14:17 1
1981 Moskvich 412 1.5 MT - POV TEST DRIVE
6 months ago 00:38:59 1
Сравнение Xiaomi 13T vs Xiaomi 13T Pro - какой и почему НЕ БРАТЬ или какой ЛУЧШЕ ВЗЯТЬ? ОБЗОР и ТЕСТ
6 months ago 00:04:37 1
Testing the Sharp SX-76NF100 CRT - Is it an EDTV?
6 months ago 00:10:33 1
The U.S. is again afraid of the Russian nuclear torpedo Poseidon! Ukraine
6 months ago 00:16:47 1
Humane AI Pin review: a $700 gamble
6 months ago 00:23:10 1
I tested the Humane AI Pin - it’s not good.
6 months ago 00:18:01 1
10 закусок за 10 минут! Обалденные ЗАКУСКИ с крабовыми палочками!
6 months ago 00:19:08 1
Best HDR Gaming Monitors of 2024
6 months ago 00:24:18 1
Самый дешевый полуавтомат без газа для бытовых целей / Gemeral Mig 160 + Розыгрыш #Сварка
6 months ago 00:15:40 2
Blind Test: 90s Techno / Acid Edition Part Two - Episode 33 (Electronic Beats TV)
6 months ago 00:01:25 1
Expressvpn Reviews 🔥 Is ExpressVPN the Fastest in the World?
6 months ago 00:04:12 1
Skyrim Ultima - Official Trailer (2024)
6 months ago 00:01:18 13
THRONE AND LIBERTY: Closed Beta Trailer
6 months ago 00:03:08 1
Nordvpn Review 🔥 Where can I get a NordVPN promo code?
6 months ago 00:05:40 1
Tales from the Stars: Meetings with Guardian Angels Coloring Book Flip Through | Anna Miarczynska
6 months ago 00:14:44 1
⚡Срочно! Губернатор сбежал от разъярённой толпы! Орск Наводнение Протест
6 months ago 00:03:17 1
Royal Marines Jet Suit Boarding Ex
6 months ago 00:00:26 1
❤️ FINDING OUT IM PREGNANT WITH MY 3RD AFTER HAVING MY MISCARRIAGE #pregnant #baby #embarazo
6 months ago 00:04:02 1
9 необычных способов применения перекиси водорода💥
6 months ago 00:11:09 1
Ночное Холодное Тесто для Куличей! Влажный волокнистый Кулич на холодном тесте ночного брожения!
6 months ago 00:08:39 1
Симптомы менопаузы исчезнут без гормонов! Просто ешьте это🙌
6 months ago 00:05:06 1
Лёгкий Рецепт ТВОРОЖНОГО Печенья! 😍 Печенье из ТВОРОГА “Розочки“ – вкусное и нежное!