Skip to content

Changes

Started 22 days ago
Took 1 min 55 sec
Define the assetPathProcessor bean that AssetImporter looks up

AssetImporter.processOn switched from `new AssetPathProcessor()` to
`inArchive.getBean("assetPathProcessor")`, but no plugin.xml ever defined
that bean. BeanLoader.getBean throws (it does not return null), so the
`if (finder == null) finder = new CachedAssetPathProcessor()` fallback is
unreachable and every hotfolder scan died with "No such bean".

Define it as a prototype bean next to assetImporter, using
CachedAssetPathProcessor (the same class the fallback intended).
ian at