Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
jamiethomasmccready's avatar
jamiethomasmccready
Honored Guest
2 years ago

Nunit Error when installing Meta interaction sdk as part of All-in-One

Have been trying to install the v60 of the meta All-in-One SDK to get the meta movement pack to update. Seems like no matter what fixes I try I always get an error as follows:

Library\PackageCache\com.meta.xr.sdk.interaction@60.0.0\Editor\Utils\PluginUpdater.cs(28,16): error CS0246: The type or namespace name 'NUnit' could not be found (are you missing a using directive or an assembly reference?)

Library\PackageCache\com.meta.xr.sdk.core@60.0.0\Editor\BuildingBlocks\BlockBaseData.cs(26,7): error CS0246: The type or namespace name 'NUnit' could not be found (are you missing a using directive or an assembly reference?)

Library\PackageCache\com.meta.xr.sdk.core@60.0.0\Editor\BuildingBlocks\BlockData.cs(24,7): error CS0246: The type or namespace name 'NUnit' could not be found (are you missing a using directive or an assembly reference?)

Library\PackageCache\com.meta.xr.sdk.core@60.0.0\Editor\BuildingBlocks\BlockDownloaderData.cs(23,7): error CS0246: The type or namespace name 'NUnit' could not be found (are you missing a using directive or an assembly reference?)

I followed the steps to migrate from the Oculus Interaction SDK here:

https://developer.oculus.com/documentation/unity/unity-package-manager/#migrate-from-oculus-integration-sdk

but it still gives me errors.

These errors were not present before using the new sdk

 

2 Replies

Replies have been turned off for this discussion
  • This can be user-fixed by selecting 'Add package by name' in the UPM, with "com.unity.ext.nunit". So it seems, as unity does have it's own NUnit package, that the package is just published with invalid dependencies declared.