23-11-2021, 11:50 PM
(This post was last modified: 23-11-2021, 11:52 PM by josemendez.)
(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
for RemoveRangeBurst and now it works fine for me.Code:where T : unmanaged
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.