Issue with the RGB camera

Hello, we are having problems using the RGB camera. Even using the sample scene, there are a variety of errors in the logs, including:

Error NREAL Usb submit transfer failed: ret=-1, errno=12, Out of memory
Error NREAL [2022-10-18 13:41:21.102] [21333] [ERROR] [NRSensor] Generic Camera data_bytes error, should be = 1843200, cur = 1020376
Error NREAL [2022-10-18 13:41:21.134] [21333] [ERROR] [NRSensor] Generic Camera data_bytes error, should be = 1843200, cur = 354628
Error NREAL [2022-10-18 13:41:21.168] [21333] [ERROR] [NRSensor] Generic Camera data_bytes error, should be = 1843200, cur = 255024
Error NREAL [2022-10-18 13:41:21.203] [21333] [ERROR] [NRSensor] Generic Camera data_bytes error, should be = 1843200, cur = 1537060
Error NREAL [2022-10-18 13:41:21.235] [21333] [ERROR] [NRSensor] Generic Camera data_bytes error, should be = 1843200, cur = 365780
Error NREAL [2022-10-18 13:41:21.269] [21333] [ERROR] [NRSensor] Generic Camera data_bytes error, should be = 1843200, cur = 1135560
Error NREAL [2022-10-18 13:41:21.303] [21333] [ERROR] [NRSensor] Generic Camera data_bytes error, should be = 1843200, cur = 1261004
Error NREAL [2022-10-18 13:41:21.335] [21333] [ERROR] [NRSensor] Generic Camera data_bytes error, should be = 1843200, cur = 734060

In particular, “Generic Camera data_bytes error” keeps appearing every frame while the camera data is being acquired. In addition, after RGBCamTexture.Play() has been called the app often freezes for several seconds or even crashes completely.

Is there a solution? We are using version 1.9.5. We have tried it on multiple phones, and the problem appears in all of them.

Hi, please try to reboot your phone and open your MR app again.

Thank you for the response. Rebooted, but unfortunately no improvement.

We have had this problem for a few weeks now, I think since we upgraded the SDK to version 1.9.x. As far as I remember, with version 1.8.0 we did not have this problem (but I am not 100% sure about this).

OK, but could you please tell me if there is any error tip before building in Unity? Generally, we recommend to delete old project and create new project, after that import new NRSDK.

I uninstalled and reinstalled Nebula and now the problem seems to be gone. I’ll keep you updated if it happens again. Thank you.

1 Like