Hello, was just trying out Needle with NextJS for a personal project and I tried the First Person Multiplayer sample. All goes ok but the dependencies keep getting imported from the internal Needle server ( inside the Unity project files ) instead of being exported to my nextjs project and imported from there. Here is a picture of the error I am getting and one of my settings.
The package.json paths are all correct. Can you try removing the SampleScripts NpmDefObject in the ExportInfo component? Maybe it’s not actually needed
Ok I’m not 100% sure yet but seems like with webpack/next there’s currently an issue with registering the component types from referenced packages. I’ll try to investigate some more and push a fix as soon as possible (Got it working here now with some changes)
mind sharing the changes? ( a zip is more than fine, no need to explain them in detail unless I have to change needle code - even then a zip is fine, just a heads up abt the files changed pls :> )