Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Convert from unity 2021 to 2022
#1
unity 2021:

public void SetSimplices(int[] simplices, SimplexCounts counts)
{
    this.simplices.CopyFrom(simplices);


how to convert this line to 2022?


Assets\Obi\Scripts\Common\Backends\Burst\Solver\BurstSolverImpl.cs(314,37): error CS1503: Argument 1: cannot convert from 'int[]' to 'in Unity.Collections.NativeArray<int>'
Reply


Messages In This Thread
Convert from unity 2021 to 2022 - by lacasrac - 19-03-2023, 05:06 PM
RE: Convert from unity 2021 to 2022 - by lacasrac - 21-03-2023, 09:03 AM
RE: Convert from unity 2021 to 2022 - by lacasrac - 29-03-2023, 07:12 AM
RE: Convert from unity 2021 to 2022 - by lacasrac - 29-03-2023, 12:49 PM
RE: Convert from unity 2021 to 2022 - by lacasrac - 29-03-2023, 01:38 PM
RE: Convert from unity 2021 to 2022 - by lacasrac - 04-04-2023, 09:53 AM