cs-util-com / cscore

cscore is a minimal-footprint library providing commonly used helpers & patterns for your C# projects. It can be used in both pure C# and Unity projects.
https://cs-util-com.github.io/cscore/
Apache License 2.0
183 stars 31 forks source link

Unity LTS Support broken - 2021.3.23f1 #98

Closed Dak0r closed 1 year ago

Dak0r commented 1 year ago

We wanted to update our project from 1.8.5 to the latest release 1.8.8 and found it breaks compatibility with the lastet available Unity LTS release (2021.3.23f1), as it doesn't have the useDelaunayMesh option, see https://docs.unity3d.com/2021.3/Documentation/ScriptReference/PolygonCollider2D.html

So the PolygonCreatorV2, which was added in 1.8.6, causes a compiler error

I'm not sure if this is intentional? (I couldn't find a list of supported unity releases)

It would b easy to fix by checking the UNITY_2022_1_OR_NEWER symbol

cs-util commented 1 year ago

Fixed in new bugfix release, please update here in case there are still problems