I use spine for both character and scene animations. One issue I found is that when I export scene PSD, it is quite often clips away part of my layers (e.g. trees ) during export because the part of the layers is outside the canvas.
The incomplete export make it not desirable to animate. For example, I have a tree in a scene. I want to animate wind blow on the leaves. Since half of it is outside the canvas region, the missing part of the tree limited the deform toward only one direction or otherwise it would show a part of the tree is missing.
The suggested solution is actually quite simple. Before the script do the export, check the position and dimension of the visible layers first and calculate the minimum content size to cover all the pixels. After that, increase the PSD canvas size accordingly before export. In theory, that will not clip away pixels outside the canvas. The exported origin need to be corrected when canvas size is increased to fit content size.