Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help  Backends missing?
#1
Hi, just purchased a few Obi assets last night. I'm getting the following error on the Obi Solver script, and I can't figure out why:

"The Burst backend depends on the following packages: Mathematics, Collections and Burst. The default backend (Oni) will be used instead, if possible."

As far as I can tell, all of these packages are installed. I'm using Unity 2021.1.3f1 Personal. I simply started a 3D project, which should include Mathematics and Collections (right?). I then imported Obi Softbody and Burst from the Package Manager. Can someone help me make this error go away?
Reply
#2
(01-05-2021, 04:36 PM)blanknot Wrote: Hi, just purchased a few Obi assets last night. I'm getting the following error on the Obi Solver script, and I can't figure out why:

"The Burst backend depends on the following packages: Mathematics, Collections and Burst. The default backend (Oni) will be used instead, if possible."

As far as I can tell, all of these packages are installed. I'm using Unity 2021.1.3f1 Personal. I simply started a 3D project, which should include Mathematics and Collections (right?). I then imported Obi Softbody and Burst from the Package Manager. Can someone help me make this error go away?

As far as I know, mathematics and collections are not included when you create a new project. Neither is Burst.

The minimum required versions for each package are listed in the manual:

http://obi.virtualmethodstudio.com/tutor...kends.html

Just open the package manager and install the latest versions of each, that should fix it.

Let me know if I can help further.

Cheers!
Reply
#3
(01-05-2021, 08:29 PM)josemendez Wrote: As far as I know, mathematics and collections are not included when you create a new project. Neither is Burst.

The minimum required versions for each package are listed in the manual:

http://obi.virtualmethodstudio.com/tutor...kends.html

Just open the package manager and install the latest versions of each, that should fix it.

Let me know if I can help further.

Cheers!

That was my initial thought. I went through the packages available in the Package Manager and could not find Collections or Mathematics. Here is everything available to me in the Unity Registry:

[Image: IqoxmAW.png]

As you can see in that image, Mathematics and Collections are not in there and Burst is already installed. I'm even showing pre-release packages.

I created a script to see if the directives exist in the project, and they apparently do:

[Image: JkGkTGA.png]

I tried updating Unity to 2021.1.5f1 and installing Burst before Obi Softbody. Still no joy.

[Image: Wf0vb8E.png]
Reply
#4
Seems that in Unity 2020.1 and up, Mathematics and Collections are no longer visible in the package manager. Source:
https://forum.unity.com/threads/visibili...-1.910880/

<sarcasm on>One of these fun things Unity does to make our lives easier Guiño.<sarcasm off>

Shouldn't really matter, since Burst depends on Mathematics, and Jobs depends on Collections. Obi uses Unity's assembly definitions to ask if the packages are installed, and which version. So if you've installed both Burst 1.3.3 or above and Jobs 0.2.9 or above as per the manual:

http://obi.virtualmethodstudio.com/tutor...kends.html
Quote:Burst 1.3.3 or newer
Collections 0.8.0-preview 5 or newer
Mathematics 1.0.1 or newer
Jobs 0.2.9-preview.15 or newer

the warning should be gone.

Once you install Burst, its pulls Mathematics too:
[Image: ty5ZcRM.png]

Collections is installed alongside Jobs:
[Image: KBW30p9.png]

Installing both makes the warning go away:
[Image: K546KnI.png]

Let me know if you still have trouble with it Sonrisa. cheers!
Reply
#5
Thank you, Jose. That's what it was. Collections wasn't shown in the Unity Registry. Jobs isn't shown either, for some reason. I added Collections via a git URL, and now the warning on the Obi Solver has gone away.  

All 3 packages can actually be install by simply installing Collections, since Collections depends on Burst and Burst depends on Mathematics.

For anyone wondering, to install Collections, perform the following steps:
  1. Press the + button at the top-left corner of the Package Manager tab
  2. Select "Add package from git URL"
  3. Enter "com.unity.collections"
  4. Press "Add"
  5. Wait for it to install
[Image: oLoMUsU.png]

[Image: W7qTN5E.png]

https://docs.unity3d.com/2018.4/Document...tions.html

Thanks again!
Reply