Error messages from logs (syntax-highlighting is supported via Markdown):
Here's what i'm doing/seeing:
Set the app-sim-target window to "device"
Press the play/connect button in that same window, wait for the ZI app to launch on the device, and for the unity pop-up to finish. (At this point I get a message in the headset that it is connected and to play my unity scene)
Press play in Unity
ZI app on the headset crashes and dumps me back to the main menu
This was tested using the unity example project included in v0.53.3. The only thing I did was to import the ZI tar in the package manager (I confirmed that I did import the one from 0.53.3 and not 0.53.2)
I tried running logcat via ADB to see what errors were showing up on the headset, but since ZI uses it's own ADB server and caused a conflict, that didn't work.
Ok, I had been testing using the Unity "app sim target" window, not the one in the hub. I don't see that diagnostic log option within Unity.
I just tried to launch app sim from the hub, and that also launch the device agent and then crashes shortly after (several seconds). I have attached that log. MLHubLogs-20220914-110536-win.zip (368.6 KB)
edit:
Just saw this in the logs:
09-14 11:04:20.112 10100 6566 6589 E com.magicleap.zi_agent: leapcore/frameworks/perception/lumin/src/head_tracking.cpp(177) operator()():
09-14 11:04:20.112 10100 6566 6589 E com.magicleap.zi_agent: ERR: exception: Handle not registered
09-14 11:04:20.122 10100 6566 6589 E com.magicleap.zi_agent: leapcore/frameworks/perception/lumin/src/head_tracking.cpp(177) operator()():
09-14 11:04:20.122 10100 6566 6589 E com.magicleap.zi_agent: ERR: [stack trace begin]
......
09-14 11:04:20.128 10100 6566 6589 E com.magicleap.zi_agent: leapcore/frameworks/perception/lumin/src/controller.cpp(98) operator()():
09-14 11:04:20.128 10100 6566 6589 E com.magicleap.zi_agent: ERR: exception: Perception system not started
09-14 11:04:20.133 10100 6566 6589 E com.magicleap.zi_agent: leapcore/frameworks/perception/lumin/src/controller.cpp(98) operator()():
09-14 11:04:20.133 10100 6566 6589 E com.magicleap.zi_agent: ERR: [stack trace begin]
One note, the values (position/orientation/etc) in the simulator window for head-pose, controller, etc. all were updating for a few seconds before it crashed. So it was able to connect somewhat briefly. Also, i'm using the USB-C cable that shipped with the device, connected directly to a USB-C port on my machine. Additionally, the computer is hard-wired and the headset is connected to a very strong wifi-6 access point with very little congestion.
My app? I'm not running any apps. The crashes in unity were happening with the example project from the SDK download, and the one from the hub was happening with no apps running.
I am unable to test that at the moment, however it happens even without unity involved at all. If i simply open ZI in the hub and connect to the headset, the headset app crashes after a few moments (that's the log I posted above). At the moment, the headset is on a fresh install of the latest OS with no extra apps installed.