docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    On Tracked Objects Changed

    Triggers when AR Tracked Objects have changed. AR Tracked Objects can be added, updated, and/or removed every frame if there is an enabled AR Tracked Object Manager in the scene.

    On Tracked Objects Changed
    On Tracked Objects Change node, shown with Get Variable

    Input Data Ports

    Port Data type Description
    Target GameObject Target GameObject should have an enabled ARTrackedObjectManager component. If you do not connect this port, this node searches for an enabled AR Tracked Object Manager component in the scene instead, and throws an exception if none is found.
    Tip

    If your Script Machine Source is set to Graph, your graph asset cannot directly reference GameObjects in the scene. Use a Get Variable node to reference instantiated GameObjects.

    Output Data Ports

    Port Data type Description
    Added ReadOnlyList of ARTrackedObject AR Tracked Objects that have been added.
    Updated ReadOnlyList of ARTrackedObject AR Tracked Objects that have been updated.
    Removed ReadOnlyList of KeyValuePair<TrackableId, ARTrackedObject> AR Tracked Objects that have been removed.
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)