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)