Generate react three fiber template generates a svelte project?

So when I generate a project with the react three fiber template it seems to generate a svelte project? See attached video.

Original Post on Discord

by user 725499871615909899

Hi, thanks for the report. We’re about to update to a new version and will fix this immediately

as an immediate workaround you can paste the github url in the project path as well GitHub - needle-engine/react-three-fiber-sample
image.png

Ahh sweet, thank you

by user 725499871615909899

Works for any repo :wink: you can use it for your own templates too if you ever want to make any

Hey so I tried bootstrapping the project with the link you provided. The is project get up and running however I can’t move any objects or duplicate any from the bench, when I create a custom script ie. Rotate.ts and attach it to a cube in unity as per the example in the docs. This doesn’t seem to work, I was able to do all this in the Vite starter project.

by user 725499871615909899

Also getting this error in the console

by user 725499871615909899

Thanks for the report - will look into it

Can you try pulling the repository again (or cloning the template again)?

Yup seems to be working now, only thing is the camera keeps moving when dragging things around

by user 725499871615909899

Great.
Thats because the r3f camera in the scene doesnt know anything about the needle engine dragging and components.