Search Unity

ScriptableImporter does not run when asset is in StreamingAssets folder

Discussion in 'Editor Workflows' started by CianNoonan, Jul 17, 2019.

  1. CianNoonan

    CianNoonan

    Joined:
    May 19, 2017
    Posts:
    139
    I'm trying to create a ScriptableImporter to import some assets that are kept in the StreamingAssets folder. The importer works on the file type but fails to run at all on the streamed assets. Assets in the root project folder import correctly

    Is this by design? It would be great to caveat this in the docs if so as I assumed I had done something wrong for quite a while.
     
  2. Peter77

    Peter77

    QA Jesus

    Joined:
    Jun 12, 2013
    Posts:
    6,610
  3. CianNoonan

    CianNoonan

    Joined:
    May 19, 2017
    Posts:
    139
    Ah yes I've just tried to drop a prefab in there and that is just displayed as a blank file too, looks like I need to change my approach
     
  4. joshcamas

    joshcamas

    Joined:
    Jun 16, 2017
    Posts:
    1,277
    Yeah, assets in the StreamingAssets aren't really considered assets as far as I understand - they're just files.