cancel
Showing results for 
Search instead for 
Did you mean: 

Errors importing Meta XR Core SDK v65 in unity

AmrSol
Explorer

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
 

Screenshot 2024-05-f123040.png

1 ACCEPTED SOLUTION

Accepted Solutions

AmrSol
Explorer

fixed: upgraded my unity

View solution in original post

3 REPLIES 3

AmrSol
Explorer

fixed: upgraded my unity

To what version?