favoyang / unity-addressable-importer

A rule based addressable asset importer
MIT License
883 stars 124 forks source link

AddressableImportSettingsList.RebuildSettingsList is should be SetDirty when using ButtonMethodAttribute #83

Open System3748 opened 1 year ago

System3748 commented 1 year ago

Bug report

Bug category

Steps to reproduce

  1. Explore to Assets/AddressableAssetsData on project view
  2. Select AddressableImportSetttingsList.asset
  3. Click "Rebuild Settings List" Button on Inspector view

What is expected?

It's should be call "EditorUtility.SetDirty(this)" to set asset dirty, and once I "Menu/File/Save Project", it will be saved.

What is actually happening?

Not set dirty at all, and it will not be saved after i click "Menu/File/Save Project"

Other relevant information