Updated AR Plugin and WPS. Got namespace + GUID conflict errors. Troubleshooted as far as I could

  • Issue category: ARDK
  • Host machine & OS version: Mac on Sonoma 14.0
  • Issue Environment : Unity
  • ARDK version: 3.10
  • Unity version: 2022.3.18f1

EDIT: I have since been notified via Lightship discord that the newest ARDK packages have WPS included. That explains my issues. What I get for updating without reading changelogs throughly enough.

Description of the issue:
I updated to 3.10 and WPS to 3.8. I got these errors:

Library/PackageCache/com.nianticlabs.lightship@16f0520bbb/Runtime/Loader/NativeLoaderHelper.cs(11,39): error CS0234: The type or namespace name 'WorldPositioning' does not exist in the namespace 'Niantic.Lightship.AR.Subsystems' (are you missing an assembly reference?) Library/PackageCache/com.nianticlabs.lightship@16f0520bbb/Runtime/Loader/NativeLoaderHelper.cs(27,31): error CS0246: The type or namespace name 'XRWorldPositioningSubsystemDescriptor' could not be found (are you missing a using directive or an assembly reference?)

So, following the suggested in an old discord thread, I removed Lightship AR and Lightship WPS, deleted the package cache, and reinstalled the Lightship packages via Git. Now I have these errors:

Library/PackageCache/com.nianticlabs.lightship.wps@5c786ef83f/Runtime/Loader/LightshipWorldPositioningLoader.cs(5,41): error CS0234: The type or namespace name 'XRSubsystems' does not exist in the namespace 'Niantic.Experimental.Lightship.AR' (are you missing an assembly reference?) Library/PackageCache/com.nianticlabs.lightship.wps@5c786ef83f/Runtime/Loader/LightshipWorldPositioningLoader.cs(11,21): error CS0246: The type or namespace name 'XRWorldPositioningSubsystemDescriptor' could not be found (are you missing a using directive or an assembly reference?)

And MANY conflict errors similar to this one:

GUID [a29e3a351e7b4458584033cbd8ebea92] for asset 'Packages/com.nianticlabs.lightship.wps/Runtime/ARFoundation/Niantic/WorldPositioning' conflicts with: 'Packages/com.nianticlabs.lightship/Runtime/ARFoundation/Overrides/WorldPositioning' (current owner) We can't assign a new GUID because the asset is in an immutable folder. The asset will be ignored.

I have also deleted the Library and rebuilt it. The errors persisted.

I have now reverted to ARDK UPM 3.8 (what I was using before) and it seems to have fixed the major compiling errors. Given this, it seems there is a conflict with most recent versions of UPM and WPS packages…

EDIT: I have since been notified via Lightship discord that the newest ARDK packages have WPS included. That explains my issues. What I get for updating without reading changelogs throughly enough.

Hi James,

I actually just finished responding to your question on our Discord server. This appears to be caused by the presence of the com.nianticlabs.lightship.wps package as your conflict errors are related to the World Pose System (formely World Positioning System). ARDK 3.10 comes with WPS and you shouldn’t need a separate package to gain that functionality.

I would encourage you to delete the com.nianticlabs.lightship.wps package from your Package Manager (if it exists), close your Unity project, and clear it from your PackageCache folder. After that, try restarting your project and let me know if that resolves the error messages.

Kind regards,
Maverick L.

This topic was automatically closed 2 hours after the last reply. New replies are no longer allowed.