hello! Thanks for making such a great tool.
Iâve been watching the tutorial, but Iâm still not sure about Needle, so I have a few questions.
- Is this a tool that converts Unity projects into Three.js and exports them to the web?
- Is it possible to mix and use C# code like an existing Unity project?
- When I saw the tutorial, I could see the other personâs point of view (camera) through the network. Is it possible to implement multiplayer (displayed as a character) using this?
Original Post on Discord
by user 745912722356699257
Thank you for answer! However, after watching the video you sent, Iâm still struggling with implementing multiplayer.
- First of all, I was practicing with the âthird character controllerâ that exists in the sample scene.
- Added âPlayerStateâ to the Character component.
- I also added an âEmptyâ named âplayerâ to the scene and added a âPlayerSyncâ component. The parameter âAssetâ is specified as Character.
by user 745912722356699257
by user 745912722356699257
But Iâm having a âcharacter disappearingâ problem like this video, and I havenât solved it yet.
by user 745912722356699257
Can you try changing your character to a Prefab and then assigning the Prefab to PlayerSync?

Iâll try it. Thanks you so much.wait a minute!
by user 745912722356699257
Did I do it right? Why is the character being duplicated?
âŠ
by user 745912722356699257
It looks like he is in your scene twice (on time in the scene and one time instantiated by PlayerSync)

You dont need the prefab in the scene. Just referencing the prefab asset from PlayerSync should do it
Thanks! I deleted the prefab in the scene and I only referenced the prefab asset from PlayerSync, but it doesnât work yetâŠ
by user 745912722356699257
At this video, the character is not visible in the sceneâŠ:PandaSad:

by user 745912722356699257
Does the scene have a SyncedRoom component? It looks like you are not connected to any networking backend?
Can you check the console log in the browser if it contains info if you have a connection or not (you dont need the âNetworkingâ component unless you want to change which backend it connects to, only SyncedRoom is necessary, it has settings to make the connection)
Yes! The scene have a SyncedRoom component!
by user 745912722356699257
and hereâs my browserâs console log!
I configured the networking component in the same way as in the âsandboxâ example, what is the problem?:TrippyBlob:
by user 745912722356699257
Does anything change when you open a second browser window to the exact same url?
Maybe its because of the room name and something not working there? Altough the logs look correct but just for testing maybe you can enter âtestâ in the SyncedRoom component?
If you dont find a solution please send a bug report using the menu item in Needle Engine/Report a Bug. Im not at the pc anymore today but can try to look at it tomorrow
Which version are you currently using? (It tells you in the footer of the ExportInfo component)