Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issues getting Softbody working
#2
(23-11-2021, 04:55 PM)kokutouchichi Wrote: Hello, new user here.

I read through the setup instructions and installed the necessary packages from here: 
http://obi.virtualmethodstudio.com/manua...html#burst

I'm getting this error popping up on my console:

Assets\Obi\Scripts\Common\Backends\Burst\BurstMath.cs(681,74): 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 'NativeList<T>'

I've tried starting a new project with Unity2020.311f1 and Unity 2021.1.5f1 and I'm getting the same error in both versions. I'm using Obi Softbody 6.3

I've been searching on the forum for a bit and I can't seem to get Obi up and running. Cheers in advance for any guidance or suggestions. Thanks!

Hi there!

Sorry for the issue, I'm unable to reproduce this. What package versions you've installed? Just so that I can test the same setup you have.

Edit: the error says the type T in this declaration:
Quote:public static unsafe void RemoveRangeBurst<T>(this NativeList<T> list, int index, int count) where T : struct

must be non-nullable, but it is constrained to be a struct so it already is non nullable...  Huh
Reply


Messages In This Thread
RE: Issues getting Softbody working - by josemendez - 23-11-2021, 04:58 PM