-
Notifications
You must be signed in to change notification settings - Fork 343
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'AssetDatabase' does not contain a definition for 'SaveAssetIfDirty' #338
Comments
Hi, sorry about this! It looks like this was added in 2020.3.16. We will sort this out so that this will work in prior versions too. |
Hi, this has been updated to use the original |
Hi, I use version 2021.1 and this happened to me too. Can you check that for me, thank you <3 |
@Mita-kgwh Hi, could you share which version of the 2D Tilemap Extras package you are using and how you have added it to your project (eg. Unity Package Manager, Github, ...)? Thanks! |
Hii, I downloaded the package from branch package_2021.1 and place it in my Packages folder, and then i add "com.unity.2d.tilemap.extras": "https://github.com/Unity-Technologies/2d-extras.git#package_2021.1" to my Packages/manifest.json. But i see you fixed the package 2020.3 so i'm using it now. |
I added this changeset to help with this on 2021.1: Hope that helps! |
Hi, That fixed my SaveAssetIfDirty error. Thank you very much <3 |
Thanks for confirming this! I will merge this into the main package_2021.1 branch. |
I am using Unity version 2020.3.15f2, and I installed 2d-extras using git URL.
Following error occurred after adding the package :
Library\PackageCache\com.unity.2d.tilemap.extras@d8f6f31800\Editor\Tiles\RuleOverrideTile\RuleOverrideTileEditor.cs(355,31): error CS0117: 'AssetDatabase' does not contain a definition for 'SaveAssetIfDirty'
(I installed branch 2020.3 by using link
https://github.com/Unity-Technologies/2d-extras.git#2020.3
)The text was updated successfully, but these errors were encountered: