23-11-2021, 11:42 PM
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
to
for RemoveRangeBurst and now it works fine for me.
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