setPipeline('Light2D') doesn't work for spine container

Hi. I’ve created a spine game object and want to add pipeline ‘Light2D’. This pipeline works for sprites and tiles but not for spine objects.

this.spider = this.add.spine(0, 0, 'spider', 'walk', true).setScale(0.8);
this.spider_cont = this.add.spineContainer(250, 100, this.spider).setDepth(2);
this.physics.add.existing(this.spider_cont);
this.spider_cont.body.setSize(this.spider.getBounds().size.x, this.spider.getBounds().size.y);
this.spider_cont.body.setOffset(this.spider.getBounds().size.x * -0.5, -0.5*this.spider.getBounds().size.y)
this.spider_cont.body.setVelocityX(100);
this.spider_cont.initPipeline("Light2D");
this.spider_cont.setPipeline('Light2D');

Does anybody know how to solve it?

:wave:

I would guess that’s unsupported.

But in the documentation, the spine container has a setPipeline method :frowning:

I think that’s an accident, SpineContainer gets it from Container.