Unity imports folders and folder path is passed to OnPostprocessAllAssets method. If folder name ends with .scml, SpriterImporter tried to import it as .scml file which led to UnauthorizedAccessException when calling File.ReadAllText in CreateSpriter method.
This pull request extends scml asset check to avoid such folders.
Unity imports folders and folder path is passed to
OnPostprocessAllAssets
method. If folder name ends with.scml
,SpriterImporter
tried to import it as.scml
file which led toUnauthorizedAccessException
when callingFile.ReadAllText
inCreateSpriter
method.This pull request extends scml asset check to avoid such folders.