How to load a template with not preload spine?

My spine resource and template is not preload, and in my code; to load it , but this will got error

TypeError: Cannot set property ‘priority’ of null

If i set the spine files is preloaded ,it will be fine.

Loading a template doesn’t load dependent assets that are used in the templates. You will have to load them separately.