Hi!! i install the new sample with version 0.11.1 and update the snapdragon service to the 0.11.1, the plane detector ad the spatial meshing app doesn't work. I see only the back button, i move in the environment but i see nothing.
Best Answer
S
Simon Steiner
said
over 1 year ago
Adding the resolution of this issue here for others with the same issue.
For most developers that recently upgraded to Spaces 0.11.1 the resolution is to:
Uninstall Spaces Services and the Samples app
Power off the device
Power it back on again
Reinstall services
Reinstall the samples app
Grant permissions to both
You might also need to check if your Motorola Edge and A3 firmware is up to date. Here are the current firmware versions (as of 03/24/2023):
Motorola Edge: S3SHS32.12-41-4-4
A3: A3_user_S1040001_2208180059_sdm710_postcs8
Lenovo UDC: 22.09.0.43
You can check your A3 version in the Lenovo Universal Device Client app and your Motorola Edge version under Settings > System updates .
If you cant update you might need to factory reset your device.
I have also been trying the Spatial Mapping sample as well as a custom app with spatial mapping enabled. I have not been able to get the mesh visualization to work. I am using AR Foundation 4.2.7 and have latest Spaces Service APK and SDK installed (0.11.1).
S
Steve Lukas
said
over 1 year ago
After installing the latest Spaces Services, please try restarting the phone to verify that the new OpenXR instance is properly set up and running, and that the Camera permission has been set in the Services apk and the app.
A
Aristides.staikos
said
over 1 year ago
I have tried restarting the device as well as confirmed Camera Permissions are properly set.
A
Aristides.staikos
said
over 1 year ago
I believe there is an issue with external camera access, as I have seen this behavior when trying to develop applications to use the Camera on the A3.
A
Aristides.staikos
said
over 1 year ago
Some additional info I was able to grab from device, the following messages are continuously scrolling when running the scene when trying to use spatial mapping:
03-06 15:52:55.375 27849 27954 W Unity : [XR] Scene understanding step is not update meshes, cannot update meshes yet!
03-06 15:52:55.375 27849 27954 E Unity : [XR] Failed to update mesh infos
03-06 15:52:55.388 27998 28059 W AndroidXrFramePacer::WaitForStrip: Waiting on 1st strip (s1) -- Wrong VSYNC period! expected 7619, current 7618
T
Tim
said
over 1 year ago
We unfortunately ran into the same problem. Spatial Meshing is not executing properly. We tried building the samples ourselves and also just running the "SnapdragonSpaces_Unity_Samples_0_11_1.apk". Both version display the following error over and over again in the LogCat, when running:
2023.03.15 12:49:49.448 22268 22556 Warn Unity [XR] Scene understanding step is not update meshes, cannot update meshes yet!
S
Steve Lukas
said
over 1 year ago
Hi,
Besides the new SDK and Samples, Spatial Mapping and Meshing also requires the latest version of the Snapdragon Spaces Services apk running on the device, and this is included with the Unity SDK download. Can you make sure this latest services apk is updated and the phone is restarted? Note that this is not the Samples apk but the *Services* apk that I'm referring to.
Thanks,
-Steve
A
Aristides.staikos
said
over 1 year ago
I can confirm the latest Services APK is installed on my devices and have restarted those devices a few times.
S
Steve Lukas
said
over 1 year ago
Can you go into the Snapdragon Spaces Services apk, turn off / turn back on the Camera permissions, and do that also with your app apks?
T
Tim
said
over 1 year ago
We tried to update the Spaces Service on the device via the Spaces Service APK provided in the latest SDK download (update & also fresh reinstall) and also tried to install the service apk directly over ADB, but we still encounter the same errors as before
Simon Steiner
said
over 1 year ago
Hi all,
just so I can properly investigate - when you run the samples does this panel show up for you?
2023.03.15 12:49:49.448 22268 22556 Warn Unity [XR] Scene understanding step is not update meshes, cannot update meshes yet!
They can happen during correct behavior, but should eventually stop after a few seconds.
@Tim If you have done a clean install of the runtime (uninstalling, then re-installing via adb, then granting permissions) and it still is not working, can you please provide a full logcat?
Thanks again,
-Simon
T
Tim
said
over 1 year ago
Hey Simon,
you'll find the complete Log attached here. It starts with connecting the glasses to the device, running the Sample app, starting spatial meshing, keep it running for a few seconds and then quitting out. I hope this is helpful to you!
I forgot to mention, when running the Spatial Meshing scene I don't see the "Feature unavailable" screen. All I see Is the header "Spatial Meshing", the Snapdragon Logo and the back Button
Lorenzo.orlandi
Hi!! i install the new sample with version 0.11.1 and update the snapdragon service to the 0.11.1, the plane detector ad the spatial meshing app doesn't work. I see only the back button, i move in the environment but i see nothing.
Adding the resolution of this issue here for others with the same issue.
For most developers that recently upgraded to Spaces 0.11.1 the resolution is to:
You might also need to check if your Motorola Edge and A3 firmware is up to date. Here are the current firmware versions (as of 03/24/2023):
You can check your A3 version in the Lenovo Universal Device Client app and your Motorola Edge version under Settings > System updates .
If you cant update you might need to factory reset your device.
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstAristides.staikos
I have also been trying the Spatial Mapping sample as well as a custom app with spatial mapping enabled. I have not been able to get the mesh visualization to work. I am using AR Foundation 4.2.7 and have latest Spaces Service APK and SDK installed (0.11.1).
Steve Lukas
After installing the latest Spaces Services, please try restarting the phone to verify that the new OpenXR instance is properly set up and running, and that the Camera permission has been set in the Services apk and the app.
Aristides.staikos
I have tried restarting the device as well as confirmed Camera Permissions are properly set.
Aristides.staikos
I believe there is an issue with external camera access, as I have seen this behavior when trying to develop applications to use the Camera on the A3.
Aristides.staikos
Some additional info I was able to grab from device, the following messages are continuously scrolling when running the scene when trying to use spatial mapping:
XrCompositor::ProcessEvent: Start
03-06 15:52:55.372 27900 28028 I QXRModuleHandTracking: HandleClassCommand: command: QXRSOCKETHANDTRACKING_CMD_PREDICT_DATA success 0 1
03-06 15:52:55.375 27849 27954 W Unity : [XR] Scene understanding step is not update meshes, cannot update meshes yet!
03-06 15:52:55.375 27849 27954 E Unity : [XR] Failed to update mesh infos
03-06 15:52:55.388 27998 28059 W AndroidXrFramePacer::WaitForStrip: Waiting on 1st strip (s1) -- Wrong VSYNC period! expected 7619, current 7618
Tim
We unfortunately ran into the same problem. Spatial Meshing is not executing properly. We tried building the samples ourselves and also just running the "SnapdragonSpaces_Unity_Samples_0_11_1.apk". Both version display the following error over and over again in the LogCat, when running:
2023.03.15 12:49:49.432 22268 22556 Error Unity [XR] Failed to update mesh infos
2023.03.15 12:49:49.448 22268 22556 Warn Unity [XR] Scene understanding step is not update meshes, cannot update meshes yet!
Steve Lukas
Hi,
Besides the new SDK and Samples, Spatial Mapping and Meshing also requires the latest version of the Snapdragon Spaces Services apk running on the device, and this is included with the Unity SDK download. Can you make sure this latest services apk is updated and the phone is restarted? Note that this is not the Samples apk but the *Services* apk that I'm referring to.
Thanks,
-Steve
Aristides.staikos
Steve Lukas
Can you go into the Snapdragon Spaces Services apk, turn off / turn back on the Camera permissions, and do that also with your app apks?
Tim
Simon Steiner
Hi all,
just so I can properly investigate - when you run the samples does this panel show up for you?
Thanks
-Simon
Simon Steiner
Regarding the logs:
2023.03.15 12:49:49.432 22268 22556 Error Unity [XR] Failed to update mesh infos
2023.03.15 12:49:49.448 22268 22556 Warn Unity [XR] Scene understanding step is not update meshes, cannot update meshes yet!
They can happen during correct behavior, but should eventually stop after a few seconds.
@Tim If you have done a clean install of the runtime (uninstalling, then re-installing via adb, then granting permissions) and it still is not working, can you please provide a full logcat?
Thanks again,
-Simon
Tim
Hey Simon,
you'll find the complete Log attached here. It starts with connecting the glasses to the device, running the Sample app, starting spatial meshing, keep it running for a few seconds and then quitting out. I hope this is helpful to you!
Tim
I forgot to mention, when running the Spatial Meshing scene I don't see the "Feature unavailable" screen. All I see Is the header "Spatial Meshing", the Snapdragon Logo and the back Button
-
Does Snapdragon Spaces support Unity?
-
Unity Project Template Recommendation
-
Supported Unity Version
-
Bug: recurring Unity deployment error after the first deployment (manifest error, probably)
-
cannot download the Unity SDK
-
FATAL EXCEPTION No virtual method getDeviceProductInfo
-
Image target to 6DOF Tracking
-
Cant download Snapdragon Spaces Services
-
Can't create runtime tracked image libraries
-
What is the best way to upgrade an existing Spaces Unity project to a newer version of the SDK?
See all 165 topics