I am currently using the Nuitrack SDK with an Astra+ sensor in Unity.
I am writing this because I am experiencing intermittent crashes in Unity.
Previously, I was using Nuitrack Runtime v0.38.4. At that time, the sensor occasionally failed to connect during initialization. After seeing the “Stability Improved for all supported platforms” note in v0.38.5, I updated the Nuitrack Runtime to version 0.38.5.
After the update, some parts seemed more stable, but I started experiencing intermittent crashes when the initial sensor connection failed. I suspect that the crash may occur when DepthSensor.Create() fails during sensor initialization. After downgrading back to Nuitrack Runtime v0.38.4, the crashes no longer occurred.
I would like to ask whether the NuitrackSDK.unitypackage released for v0.38.4 is fully compatible with Nuitrack Runtime v0.38.5.
I have also attached the collected crash logs and environment information for reference.
Since updating to version 0.38.5, I have noticed that crashes occur not only when enabling the sensor, but also when a compilation is triggered after making code changes while using Nuitrack.
Additionally, after a crash causes the project to close, When I restart the project and click the “Continue launching Nuitrack” button, the project crashes again.
I did not experience these issues with version 0.38.4; the crashes started occurring after updating to 0.38.5.
This time, the attached logs are related to those crashes.
Could you please take a look and let me know what you find?
Sorry for the delayed response.
It took some time to perform additional testing in an attempt to reproduce the issue.
When testing using the “Try Nuitrack” button, I did not observe any crashes.
I also tested using the rear USB ports on the PC, and I did not observe any crashes there either.
However, when testing with the front USB ports on the PC, the application appears to crash intermittently.
As you mentioned, it seems that crashes may occur when the USB connection becomes unstable.
The crashes occurred when opening a Unity project or when pressing the Play button in the Unity Editor.