Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Convert from unity 2021 to 2022
#11
(29-03-2023, 01:38 PM)lacasrac Wrote: obi 6.5.1
burst 1.8.3

I try soon with 1.8.4


line 11

public static class ConstraintSorter
{


(29-03-2023, 01:58 PM)josemendez Wrote: That's strange, could you check whether the file located at Obi/Assets/Obi/Scripts/Common/Backends/Burst/DataStructures/ConstraintBatcher/ConstraintSorter.cs defines ConstraintSorter as:

Code:
    public class ConstraintSorter<T> where T : struct, IConstraint

(roughly line 12 in the file).


Latest Burst version that didn't exhibit this issue was 1.6. I'm not sure what the status is for 1.8.4.

line 11

public static class ConstraintSorter
{
Reply
#12
(04-04-2023, 09:53 AM)lacasrac Wrote: line 11

public static class ConstraintSorter
{



line 11

public static class ConstraintSorter
{

That's not Obi 6.5.1, it's either 6.3 or 6.4.

You can check the version in the Obi/CHANGELOG_rope.txt file. The current version you have installed is the one at the top of the file. The first few lines should look something like this:

Quote:## [6.5.1]

### Added
- Support for holes in terrain colliders.

## [6.5]

### Added
- Improved constraint coloring, which results in much faster blueprint generation.

### Fixed
- Memory leak when using collision constraints in the Burst backend.
- Performance drop when using collision constraints in Burst >1.7
- Incorrect lighting on particles in the blueprint editor, when opening the editor without having previously opened any scene.

The change in bold font is the one that you're interested in. There was also a pretty large memory leak fixed so you definitely want to at least be using 6.5.

If the changelog file does look like that, maybe you've installed an older version of another Obi asset on top of ObiRope 6.5.1? That will replace common files with the ones in the version you're installing, hence why it's recommended to install the same version for all assets.

kind regards,
Reply