Comp not visible on deployment

Hi, I created a three scene where i rendered axes comp which contains static and dynamic axes, dynamic axes rotates using modelsref, the comp is visible on dev branch, but while deploying, the comp is not even visible to the scene.

What do errors / warnings in the devtools console say tho

There is no errors or warning still the comp not added to the scene on deployment.

  1. Did you try debugging the effects with simple console logs / breakpoints? The usual difference causing issues between dev and production builds with react is the fact that effects run twice in dev. Check what’s happening, when, and in which order.
  2. Consider react-three-fiber - takes quite a few of react annoyances away.