Closed snpeasoup closed 1 year ago
Hi,
The issue https://github.com/KyryloKuzyk/AR-Foundation-Remote-support/issues/70 was already addressed in the latest plugin version.
As for the AssertionException spamming the AR Companion app's screen, thanks for reporting the bug! It appears when the 'Ar Companion Settings/Camera Video Settings/Max Camera Intrinsics Fps' setting value is greater than 1.0f. I fixed the issue in the latest plugin version 1.4.30-release.2/2.0.30-release.2. Please update the plugin and make a new build of the AR Companion app.
To decrease the latency and increase the plugin's performance, I can suggest you to lower the video settings in the 'Ar Companion Settings/Camera Video Settings'. Because of the bug with the 'Max Camera Intrinsics Fps', I assume you tried to increase the 'fps' settings, but the performance effect of doing so is actually the opposite of what you're trying to achieve. The 'fps' settings are the cap for the update frequency. Increasing the cap will likely increase the latency and worthen the performance.
To revert the settings to the defaults, please go to 'Assets/Plugins/ARFoundationRemoteInstaller/Resources/Settings', then right-click the header and press 'Reset'. Then, to increase the performance, try lowering the quality settings: Resolution Scale, Quality, Max Video Fps, and so on. Lowering these settings doesn't influence the quality of the Image Tracking because it's actually happening on the AR device. Please tell me if this helps.
I just got the plugin today, and was excited to use it due to normal AR development being so slow. I set it up, according to the documentation, but when I run it, it is so laggy that it is basically useless. I'm using it for image tracking, where i have embedded the reference library in the plugin settings, and when I can get it to update the UI it can show the correct prefab and such. It is just unbearably slow.
I am using wired connection, setup like the dokumentation specified, by using adb to forward the port (using WIN/Android). It worked fine when building it the normal way, so its not the app that is buggy/laggy. Its a simple, freshly started AR project, with a single image, when scanning its supposed to show the exact same image you're scanning, on top of the scanned one.
Using Unity 2022.2.21 (was using 2022.3.0 before but that didn't work for the same reasons stated here: https://github.com/KyryloKuzyk/AR-Foundation-Remote-support/issues/70)
I receive no warnings in console, except:
_d3d11: Creating default shader resource view with dxgi-fmt=0 for a texture that uses dxgi-fmt=29
I have 1000mbps internet, and did tests around the time i tested the plugin, but connection seemed fine and stable.
Also, when stopping the game via the editor, it gives an error in the app. If i then try to start the game again, it spams with null reference errors in the app, all over the screen, and eventually freezes. Closing and opening the app solves the issue, but only until next time i stop the game
I love the concept of the plugin/app - but right now its running so slow it isn't helping dev-time
Screenshot is what happens when i stop the game from the editor