Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
UWP Hololens build
Getting this error on build:
Assets\Packages\DevTools\Extensions\Extensions.cs(1052,43): error CS1061: 'Type' does not contain a definition for 'IsGenericType' and no extension method 'IsGenericType' accepting a first argument of type 'Type' could be found (are you missing a using directive or an assembly reference?)

I had read earlier that UWP was supported in Curvy, if someone could point me how to fix this issue, that would be great Smile -using 5.6.
Please replace the following function inside /Packages/DevTools/Extensions/Extension.cs:

public static bool IsArrayOrList(this Type type)
           return (type.IsArray || (type.GetTypeInfo().IsGenericType && type.GetGenericTypeDefinition() == typeof(List<>)));
           return (type.IsArray || (type.IsGenericType && type.GetGenericTypeDefinition() == typeof(List<>)));

That should fix it!

Possibly Related Threads…
Thread Author Replies Views Last Post
  Efficiently chopping up a build extrusion? blabz2007 2 7 08-05-2022, 10:43 AM
Last Post: _Aka_
  Is Curvy splines appropriate to build city streets? atantoine 3 252 11-17-2021, 12:03 PM
Last Post: _Aka_
  Strange differences between editor and build jamesunity 1 1,079 07-20-2020, 08:49 PM
Last Post: _Aka_
  Spline events not working in IL2CPP build (Android) callen_mrez 6 5,661 06-04-2019, 09:24 PM
Last Post: _Aka_

Forum Jump: