artoolkitx / arunityx

artoolkitX for Unity, providing high-performance video acquisition, marker and texture tracking and full Unity Editor support
https://www.artoolkitx.org/
Other
43 stars 22 forks source link

Bug: Running sample scenes in the editor results in the console being spammed #80

Closed SimonDarksideJ closed 1 year ago

SimonDarksideJ commented 1 year ago

UnityEngine.Debug:LogWarning (object)
ARXController:Log (string) (at Assets/artoolkitX-Unity/Scripts/ARXController.cs:1191)
PluginFunctionsARX:arwCapture () (at Assets/artoolkitX-Unity/Scripts/PluginFunctionsARX.cs:230)
ARXController:UpdateAR () (at Assets/artoolkitX-Unity/Scripts/ARXController.cs:813)
ARXController:Update () (at Assets/artoolkitX-Unity/Scripts/ARXController.cs:502)

Additionally, the controller seems to repeatedly restart and initialise.

philip-lamb commented 1 year ago

This is due to a Unity bug, where it is not including mac bundle plugins in the exported package. Downgrading from Unity 2021.3.25f1 to 2021.3.22f1 allows the export of the bundle.

Root cause is a regression introduced by this fix: https://issuetracker.unity3d.com/issues/macos-meta-files-are-created-inside-a-bundle-when-its-imported-into-the-project

philip-lamb commented 1 year ago

Fixed in https://github.com/artoolkitx/arunityx/releases/tag/release%2F1.1.11