-
Notifications
You must be signed in to change notification settings - Fork 18
Description
Hi,
I just downloaded the latest version (2.40) into a clean Unity project using 2019.1.2f1 and currently see this error after importing the asset:
Assets\PointCloudTools\PointCloudViewerDX11\Scripts\PointCloudViewerTilesDX11.cs(1347,61): error CS1061: 'NativeArray' does not contain a definition for 'GetSubArray' and no accessible extension method 'GetSubArray' accepting a first argument of type 'NativeArray' could be found (are you missing a using directive or an assembly reference?)
The code where the error occurs is here:
#if UNITY_2019_1_OR_NEWER if (useNativeArrays == true) { point.x = tiles[i].pointsNative.GetSubArray(k * 3 * 4, 4).Reinterpret<float>(1)[0]; point.y = tiles[i].pointsNative.GetSubArray(k * 3 * 4 + 4, 4).Reinterpret<float>(1)[0]; point.z = tiles[i].pointsNative.GetSubArray(k * 3 * 4 + 4 + 4, 4).Reinterpret<float>(1)[0]; }
Any ideas? :)
Thanks