Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Bug]ARTrackedImage trackedImagesChanged value error #VisionPro #1179

Open
Labels
bugA bug

Description

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
When recognizing images, the update information is wrong. After I recognize a picture, I hold the picture so that it does not appear in the camera, but the picture is still returned in the update.

Expected behavior
Uptate will return information that is consistent with the actual situation, or is there any way to clear the currently recognized pictures, because I found that the information returned in add is always correct.

Actual behavior
`ARTrackedImageManager m_TrackedImageManager;

void OnEnable() => m_TrackedImageManager.trackedImagesChanged += OnChanged;

void OnDisable() => m_TrackedImageManager.trackedImagesChanged -= OnChanged;

void OnChanged(ARTrackedImagesChangedEventArgs eventArgs)
{
foreach (var newImage in eventArgs.added)
{
// Handle added event
}

foreach (var updatedImage in eventArgs.updated)
{
 // Handle updated event
}
foreach (var removedImage in eventArgs.removed)
{
 // Handle removed event
}

}`
I just follow the official example for image recognition. I get the currently captured object in add and update.
Smartphone (please complete the following information):

  • Device: [VisionPro]
  • Unity version
    2022年3月26日
  • ARFoundation version
    5.1.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA bug

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /