Forum Discussion

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

Errors importing Meta XR Core SDK v65 in unity

Hi 
when i am importing the Meta XR Core SDK v65 in unity 2022.1.24f1 these error pops in the console saying 'FindAnyObjectByType' or 'FindObjectsByType' or 'FindObjectsSortMode' does not exist in the current context
please help :

  • Library\PackageCache\com.meta.xr.sdk.interaction@095d655eb767\Editor\QuickActions\Scripts\QuickActionsWizard.cs(935,21): error CS0103: The name 'FindAnyObjectByType' does not exist in the current context
  • Library\PackageCache\com.meta.xr.sdk.interaction@095d655eb767\Editor\QuickActions\Scripts\QuickActionsWizard.cs(953,25): error CS0103: The name 'FindFirstObjectByType' does not exist in the current context
  • Library\PackageCache\com.meta.xr.sdk.interaction@095d655eb767\Editor\QuickActions\Scripts\QuickActionsWizard.cs(969,21): error CS0103: The name 'FindAnyObjectByType' does not exist in the current context
  • Library\PackageCache\com.meta.xr.sdk.core@aff6f0606969\Scripts\OVRSceneManager.cs(413,13): error CS0103: The name 'FindObjectsByType' does not exist in the current context
  • Library\PackageCache\com.meta.xr.sdk.core@aff6f0606969\Scripts\OVRSceneManager.cs(413,48): error CS0103: The name 'FindObjectsSortMode' does not exist in the current context
  • Library\PackageCache\com.meta.xr.sdk.core@aff6f0606969\Scripts\OVRSceneRoom.cs(66,25): error CS0103: The name 'FindAnyObjectByType' does not exist in the current context
  • Library\PackageCache\com.meta.xr.sdk.core@aff6f0606969\Scripts\OVRTrackedKeyboard\OVRTrackedKeyboard.cs(365,22): error CS0103: The name 'FindAnyObjectByType' does not exist in the current context
  • Library\PackageCache\com.meta.xr.sdk.core@aff6f0606969\Scripts\OVRTrackedKeyboard\OVRTrackedKeyboardHands.cs(209,22): error CS0103: The name 'FindAnyObjectByType' does not exist in the current context
  • Library\PackageCache\com.meta.xr.sdk.core@aff6f0606969\Scripts\Util\OVRRaycaster.cs(88,32): error CS0103: The name 'FindAnyObjectByType' does not exist in the current context
  • Library\PackageCache\com.meta.xr.sdk.core@aff6f0606969\Scripts\OVRVirtualKeyboard\OVRVirtualKeyboard.cs(256,20): error CS0103: The name 'FindAnyObjectByType' does not exist in the current context
  • Library\PackageCache\com.meta.xr.sdk.core@aff6f0606969\Scripts\OVRSceneManager.cs(1147,26): error CS0103: The name 'FindAnyObjectByType' does not exist in the current context