Search Unity

Please implement asset saving for assets imported with ScriptedImporter

Discussion in 'Editor & General Support' started by Smilediver, Nov 23, 2017.

  1. Smilediver

    Smilediver

    Joined:
    May 5, 2011
    Posts:
    72
    ScriptedImporter API is great for custom asset importing. But if you have an asset that you can edit directly in the Unity Editor (with a custom editor), there's no way (at least non hacky way) to save the changes back. So please, either expand the API and add ability to save modified assets; or expose EditorUtility.IsDirty() and add another method to clear the dirty flag, so it would be possible to achieve this manually.