You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, i am trying to set GeoSpatial and Cesium to work together, by repeating the youtube tutorial, i have got the latest versions of everything, including Unity, but i keep getting the same errors and i don't seem to get to the end of it.
InvalidCastException: Specified cast is not valid.
Google.XR.ARCoreExtensions.ARCoreExtensions.OnEnable () (at ./Library/PackageCache/com.google.ar.core.arfoundation.extensions/Runtime/Scripts/ARCoreExtensions.cs:201)
ArgumentException: GCHandle value belongs to a different domain
System.Runtime.InteropServices.GCHandle.op_Explicit (System.IntPtr value) (at <321eb2db7c6d43ea8fc39b54eaca3452>:0)
System.Runtime.InteropServices.GCHandle.FromIntPtr (System.IntPtr value) (at <321eb2db7c6d43ea8fc39b54eaca3452>:0)
Reinterop.ObjectHandleUtility.GetObjectFromHandle (System.IntPtr handle) (at ./Library/PackageCache/com.cesium.unity/Runtime/generated/Reinterop.RoslynSourceGenerator/ObjectHandleUtility.cs:301)
NullReferenceException: Object reference not set to an instance of an object
Google.XR.ARCoreExtensions.Internal.ARCoreHandleExtensions.SessionHandle (UnityEngine.XR.ARFoundation.ARSession session) (at ./Library/PackageCache/com.google.ar.core.arfoundation.extensions/Runtime/Scripts/Internal/ARCoreHandles/ARCoreHandleExtensions.cs:38)
NullReferenceException: Object reference not set to an instance of an object
Google.XR.ARCoreExtensions.Internal.ARCoreHandleExtensions.SessionHandle (UnityEngine.XR.ARFoundation.ARSession session) (at ./Library/PackageCache/com.google.ar.core.arfoundation.extensions/Runtime/Scripts/Internal/ARCoreHandles/ARCoreHandleExtensions.cs:38)
NullReferenceException: Object reference not set to an instance of an object
Google.XR.ARCoreExtensions.Internal.ARCoreHandleExtensions.SessionHandle (UnityEngine.XR.ARFoundation.ARSession session) (at ./Library/PackageCache/com.google.ar.core.arfoundation.extensions/Runtime/Scripts/Internal/ARCoreHandles/ARCoreHandleExtensions.cs:38)
ArgumentException: GCHandle value belongs to a different domain
System.Runtime.InteropServices.GCHandle.op_Explicit (System.IntPtr value) (at <321eb2db7c6d43ea8fc39b54eaca3452>:0)
System.Runtime.InteropServices.GCHandle.FromIntPtr (System.IntPtr value) (at <321eb2db7c6d43ea8fc39b54eaca3452>:0)
Reinterop.ObjectHandleUtility.GetObjectFromHandle (System.IntPtr handle) (at ./Library/PackageCache/com.cesium.unity/Runtime/generated/Reinterop.RoslynSourceGenerator/ObjectHandleUtility.cs:301)
i also seem to have the CameraConfigFilter missing from ARCoreExtentions, and i don't understand how can i create one manually, if this is the problem. Thank you!
The text was updated successfully, but these errors were encountered:
VisnevschiV
changed the title
GeoSpatial and Cesium nto working together
GeoSpatial and Cesium not working together
Oct 31, 2024
Hi, i am trying to set GeoSpatial and Cesium to work together, by repeating the youtube tutorial, i have got the latest versions of everything, including Unity, but i keep getting the same errors and i don't seem to get to the end of it.
InvalidCastException: Specified cast is not valid.
Google.XR.ARCoreExtensions.ARCoreExtensions.OnEnable () (at ./Library/PackageCache/com.google.ar.core.arfoundation.extensions/Runtime/Scripts/ARCoreExtensions.cs:201)
ArgumentException: GCHandle value belongs to a different domain
System.Runtime.InteropServices.GCHandle.op_Explicit (System.IntPtr value) (at <321eb2db7c6d43ea8fc39b54eaca3452>:0)
System.Runtime.InteropServices.GCHandle.FromIntPtr (System.IntPtr value) (at <321eb2db7c6d43ea8fc39b54eaca3452>:0)
Reinterop.ObjectHandleUtility.GetObjectFromHandle (System.IntPtr handle) (at ./Library/PackageCache/com.cesium.unity/Runtime/generated/Reinterop.RoslynSourceGenerator/ObjectHandleUtility.cs:301)
NullReferenceException: Object reference not set to an instance of an object
Google.XR.ARCoreExtensions.Internal.ARCoreHandleExtensions.SessionHandle (UnityEngine.XR.ARFoundation.ARSession session) (at ./Library/PackageCache/com.google.ar.core.arfoundation.extensions/Runtime/Scripts/Internal/ARCoreHandles/ARCoreHandleExtensions.cs:38)
NullReferenceException: Object reference not set to an instance of an object
Google.XR.ARCoreExtensions.Internal.ARCoreHandleExtensions.SessionHandle (UnityEngine.XR.ARFoundation.ARSession session) (at ./Library/PackageCache/com.google.ar.core.arfoundation.extensions/Runtime/Scripts/Internal/ARCoreHandles/ARCoreHandleExtensions.cs:38)
NullReferenceException: Object reference not set to an instance of an object
Google.XR.ARCoreExtensions.Internal.ARCoreHandleExtensions.SessionHandle (UnityEngine.XR.ARFoundation.ARSession session) (at ./Library/PackageCache/com.google.ar.core.arfoundation.extensions/Runtime/Scripts/Internal/ARCoreHandles/ARCoreHandleExtensions.cs:38)
ArgumentException: GCHandle value belongs to a different domain
System.Runtime.InteropServices.GCHandle.op_Explicit (System.IntPtr value) (at <321eb2db7c6d43ea8fc39b54eaca3452>:0)
System.Runtime.InteropServices.GCHandle.FromIntPtr (System.IntPtr value) (at <321eb2db7c6d43ea8fc39b54eaca3452>:0)
Reinterop.ObjectHandleUtility.GetObjectFromHandle (System.IntPtr handle) (at ./Library/PackageCache/com.cesium.unity/Runtime/generated/Reinterop.RoslynSourceGenerator/ObjectHandleUtility.cs:301)
i also seem to have the CameraConfigFilter missing from ARCoreExtentions, and i don't understand how can i create one manually, if this is the problem. Thank you!
The text was updated successfully, but these errors were encountered: