cancel
Showing results for 
Search instead for 
Did you mean: 

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

jamiethomasmccready
Honored Guest

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-integrat...

but it still gives me errors.

These errors were not present before using the new sdk

 

2 REPLIES 2

martdob
Explorer

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.

MY GOD. THANKS.