Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
4
Question by kjkpoi · Aug 17, 2011 at 01:06 PM · connectionsocketnodejsnode

How to connect Node.js + Unity?

is'it possible to connect between unity and node.js?

someone tells it's possible using socket.io but i don't know how to know

is anybody tried it?

i found a link https://github.com/jouz/socket.io-unity-client/blob/master/ExampleSocketIO.cs

he tells me how to do it with source but it doesn't work

help me! plz

Comment
Add comment · Show 1
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Valentinon13 · Oct 27, 2016 at 07:02 PM 0
Share

I did it and i got my own server and it work !!

7 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by SudhirGametion · Sep 11, 2017 at 07:06 AM

Hello @kjkpoi, Please follow this Article for connecting node.js + Unity.

http://www.yudiz.com/developers-guide-to-unity3d-mmo-with-node-js-using-socket-io/

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
1

Answer by Valentinon13 · Oct 27, 2016 at 06:48 PM

I build a own server and its working you need to dowload SOCKETIO from the app store !

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by shinriyo_twitter · Oct 27, 2011 at 07:11 AM

SuperWebSocket

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by all87 · Oct 02, 2012 at 11:21 AM

i was try up all this

1 i meet prob with crossdomain.xml, line on server.js: io.set('transports', ['websocket', 'flashsocket']); fix this prob

2 but after meet prob (unknown transport, in unity - SocketIoClientConnection.cs:66) same as here: https://github.com/CreativeTechnology/socket.io-unity-client/issues/3

i think, for support last v., can add in unity js file - sever:port/socket.io/socket.io.js then it will standart usable functions, but it not usable as it, need many fix, hard work..

i wasnt try install old version socket.io, better will try create myself simple solution (last only found simple socket module for nodejs :) now look at https://github.com/Worlize/WebSocket-Node)

PS: sorry for my Eng:) i noob at socket things, but in internet not many info about unity+nodejs, maby this will help some one

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by StrongGuy · Aug 01, 2015 at 12:54 PM

http://forum.unity3d.com/threads/released-scripting-with-actual-javascript.289747/

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
  • 1
  • 2
  • ›

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

10 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

What is unity WebGL export's correlation to Node.js? 1 Answer

How to stream audio from unity app to the web browser? 0 Answers

How do I connect to a server in LAN from a different computer? I'm using socket.io and nodejs 1 Answer

Node.js Problem 1 Answer

How to set namespace in packet of socketIO using unity3d 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges