Unity-Technologies / 2d-extras

Fun 2D Stuff that we'd like to share!
Other
1.54k stars 342 forks source link

Unity version 2019.3.1f1 'ReorderableList' does not contain a definition for 'IsSelected' #310

Open BlazingMonk40 opened 3 years ago

BlazingMonk40 commented 3 years ago

I'm running Unity 2019.3.1f1 and I initially installed the master branch of 2d-extras unknowingly. After getting the error message:

Packages\2d-extras-master\Editor\Tiles\RuleTile\RuleTileEditor.cs(347,82): error CS1061: 'ReorderableList' does not contain a definition for 'IsSelected' and no accessible extension method 'IsSelected' accepting a first argument of type 'ReorderableList' could be found (are you missing a using directive or an assembly reference?)

I read the READ-ME and saw I needed the 2019.4 branch. So I uninstalled the package from the package manager and made sure to remove any trace of it in \Packages through File Explorer. And then downloaded the 2019.4 .zip, extracted it to \Packages, and added the json line from the READ-ME to the manifest.json in \Packages and I am still getting the error.

Could someone tell me what I am doing wrong? Thank you,

ChuanXin-Unity commented 3 years ago

Sorry, it seems like switching to the 2019.4 branch and downloading the zip file seems to be downloading the master branch instead right now. I will make a 2019.4 release and post a link you can download from .

ChuanXin-Unity commented 3 years ago

Could you try the following link and see if this works for you? Thanks!

https://github.com/Unity-Technologies/2d-extras/archive/refs/tags/1.6.0-preview.1.zip

BlazingMonk40 commented 3 years ago

Yeah, that seems to have worked, I haven't tried using anything from the package, but I don't have any more errors and I have the 2D tiles and brushes in the Project > Create > tab. Thanks!

Retr0-Wolf commented 2 years ago

Thank you this has also fixed it for me