Discussions

Ask a Question
Back to All

Treble InitialConfiguration

(edited)

Hello

We are trying to set the InitialConfiguration in Treble It's not working.

  const playerConfig = {
    allowMobileVerticalOrbit: true,
    showConfigurator: false,
    initialConfiguration: {
      Text: '',
      webbing: {},
      'palm logo': {
        type: 'item',
        assetId: '97890292-61d1-44f5-b88b-5a5bf9144111',
      },
      'palm Color': { assetId: '5cfa5230-57f9-4698-8a69-a63c38206777' },
      'Laces Color': { assetId: 'ca8f63de-137d-4da4-a37b-044809431666' },
      'Thumb color': {},
      'wrist color': {},
      'double wrist': '',
      'binding Color': {},
      'stiches Color': {},
      'welting Color': {},
      'mid thumb color': {},
      'Wrist Logo Color': {
        type: 'item',
        assetId: 'f1b67b97-1a34-4c95-85e4-6b78ce80bb44',
      },

    },
    showAR: false,
  };

 <ThreekitProvider
      project={project}
      threekitEnv={threekitEnv}
      playerConfig={playerConfig}
    >
      <Treble />
    </ThreekitProvider>

When we are trying same InitialConfiguration with custom player it's working fine.

How we can solve this problem in Treble?