Loading USTs with Notes with an empty Flags property and no global Flags causes the resampler to crash. I looked at the code that calls the resampler and apparently it skips the flags argument entirely, passing wrong arguments to the resampler.
Argument 5 was supposed to be flags.
Setting...