Spline integration with Bricks builder --issue in backend editor

Hi Bricks Team,

I’m currently developing a plugin that integrates Spline animations into Bricks Builder using https://spline.app (3d platform) . While everything works fine on the frontend, I’m encountering WebGL errors in the backend editor, preventing Spline from rendering.

Here are the errors from the backend console:

  1. Shader Error 1281 - VALIDATE_STATUS false
  • Fragment shader is not compiled.
  • ERROR: 0:95: 'texture' : no matching overloaded function found
  • ERROR: 0:95: '=' : dimension mismatch
  • ERROR: 0:95: '=' : cannot convert from 'const mediump float' to 'highp 4-component vector of float'
  1. Shader Error 1282 - VALIDATE_STATUS false
  • Fragment shader is not compiled.
  • ERROR: 0:17: 'layout' : syntax error

It seems like there are issues with some sort of WebGL texture sampling and shader compilation in the backend environment.

Has anyone faced similar issues when working with Spline in Bricks? If so, is there a workaround or a way to get Spline working inside the backend editor?

Any guidance from the Bricks team or community would be greatly appreciated!

Thanks in advance.

here is a video I recorded for this issue as well , in first part the editor is shown and spline rendering is not visible (console errors are shown) and in second part the front end is shown and spline rendering is working as expected

https://www.loom.com/embed/c06332f4eb2b479fa25309c9c970fda3?sid=029b98ed-8688-421e-9041-b98aa2145849