Skip to main content
New Participant
December 21, 2023

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

 

    This topic has been closed for replies.

    2 replies

    New Participant
    January 14, 2024

    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.

    theTMO
    New Participant
    November 4, 2024

    MY GOD. THANKS.