Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Obi Scripts Backends Burst issues
#2
(31-03-2023, 07:42 AM)digimbyte Wrote: I have Burst 1.8.4  and Obi Rope 6.5.1 in a new project in 2022.2.12
With this, my console has the following 3 errors:
  • Assets\Obi\Scripts\Common\Backends\Burst\Solver\DequeueIntoArrayJob.cs(12,31): error CS8377: The type 'T' must be a non-nullable value type, along with all fields at any level of nesting, in order to use it as parameter 'T' in the generic type or method 'NativeQueue<T>'
  • Assets\Obi\Scripts\Common\Backends\Burst\DataStructures\NativeMultilevelGrid.cs(34,13): error CS0305: Using the generic type 'UnsafeList<T>' requires 1 type arguments
  • Assets\Obi\Scripts\Common\Backends\Burst\DataStructures\NativeMultilevelGrid.cs(88,36): error CS8377: The type 'NativeMultilevelGrid<T>.Cell<T>' must be a non-nullable value type, along with all fields at any level of nesting, in order to use it as parameter 'T' in the generic type or method 'NativeList<T>'
I found a thread where it was suggested that Burst 1.8.3 works, however this did not resolve it for me.
Additionally, I have tried looking for something in FAQ incase I missed a step or dependency version but it seems this is a niche or new bug.

Looking for a way to proceed, thanks.

Hi!

This is caused by the latest version of the Collections package, and is a relatively new issue we're working on a patch for. It can be fixed relatively easy, see:
http://obi.virtualmethodstudio.com/forum...n-nullable
Reply


Messages In This Thread
Obi Scripts Backends Burst issues - by digimbyte - 31-03-2023, 07:42 AM
RE: Obi Scripts Backends Burst issues - by josemendez - 31-03-2023, 08:15 AM