Passing reflection probe cubeTexture to shader

I’m trying to pass reflection probe cubeTexture to shaderMaterial as uniform by using

engine.runRenderLoop(function(){
material.setTexture(“reflectionSampler”,reflectionProbe.cubeTexture);
scene.render();
}

but passing cubeTexture as texture to shader causes error (no using, just passing) I want to pass it to shader. How can I do that?

Can you repro in the playground?

Is it impossible?

no it is totally OK. this is why I would love it live in the playground to understand what is your issue