Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compilation error in Obi Softbody 6.3
#6
(23-11-2021, 11:42 PM)sasinandrei Wrote: Not sure if it helps, but I tried to fix it by myself. I looked at error in Visual Studio, and it has some more details.
The type 'T' must be valid unmanaged type....or struct type with all fields of unmanaged types...
I just changed 
Code:
where T : struct

to
Code:
where T : unmanaged
for RemoveRangeBurst and now it works fine for me.

Yes, that should do it. The latest version of the collections package (1.1.0, released yesterday) changed the constraints for NativeArrays, so its generic type must now be unmanaged, instead of struct. Thanks to TimConkling for alerting of this:
http://obi.virtualmethodstudio.com/forum...l#pid11286

Will upload a patch to the store asap.
Reply


Messages In This Thread
RE: Compilation error in Obi Softbody 6.3 - by josemendez - 23-11-2021, 11:50 PM