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
0
Question by murph1ars · Nov 21, 2018 at 09:52 PM · androidnetworkingmultiplayerlobbymatch

Android multiplayer using hostpot wifi

Hi, I need help urgently, I'm trying to make a multiplayer game, the idea is for Android by wifi access point without internet, I want users to create games, and another can join them, and when they join they appear in a menu all those who are in that game and have a button to be ready and start the game. Which component do you recommend to use? I did so much with Network discovery and lobby manager but in none I managed to complete all that I want .. It is urgent please

Comment
Add comment
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 Reply

· Add your reply
  • Sort: 
avatar image
1

Answer by BruceKristelijn · Nov 23, 2018 at 10:54 AM

I don't know if you have found these components already but here is a summery of topic to look into and use to realise this quickly.

  1. First you use the Network Discovry function to discover other games
    https://docs.unity3d.com/Manual/UNetDiscovery.html



  1. Then when a user joins you user the Networking Lobby system to create a pre-game lobby,
    https://docs.unity3d.com/Manual/UNetLobby.html
    https://docs.unity3d.com/Manual/class-NetworkLobbyManager.html



  1. This FREE asset has basically all the lobby fuctions you ask for but uses the Matchmaking system over internet so you need to change it a little bit to work with network discovery (Should not be too hard)
    https://assetstore.unity.com/packages/essentials/network-lobby-41836



I believe this can set you into the right direction altough I feel you already where going there. Altough I cannot send you a full project I can still help you futher if this did not fully statisfy your question :)

Comment
Add comment · Show 4 · 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 murph1ars · Nov 23, 2018 at 05:23 PM 0
Share

brucekris44 Thank you. If I saw these components but did not know that I could use them together, I thank you, you made it clear to me. I have a doubt about network discovery, I would have to create a list of the games created with a prefab of a button, so that the client can find the ip of the host and thus join the same lobby, if I'm not mistaken, right?

avatar image BruceKristelijn murph1ars · Nov 26, 2018 at 10:50 AM 0
Share

You can indeed use a prefabs to give users the option to join other lobbys. Laso a tip for using network discovery, When i used it it gave me a 3 entries from the same game so maybe it is an idea to check if you already have saved the ipadress of that game so you will not instanciate 3 buttons doing the same

avatar image murph1ars murph1ars · Nov 26, 2018 at 03:33 PM 0
Share

after having managed to make the network discovery and a lobby for the clients in the network, I am having problems when changing scene, what I want to do is from the scene of the lobby, to run to a loading scene and from there just the scene of the game but I get the prefab game players appear in the game scene.

avatar image BruceKristelijn murph1ars · Dec 03, 2018 at 03:15 PM 0
Share

Are you still needing help with this? Only just now saw the question. I have once exaclty made a system like you discribe so I might be able to help further.

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

97 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Unity networking tutorial? 6 Answers

OnStart ___ vs OnLobbyStart ___ methods from NetworkManager and NetworkLobbyManager 1 Answer

Smartphone multiplayer - NAT problem? 2 Answers

switching from NetworkManager to LobbyNetworkManager: NullReferenceException 1 Answer

Multiplayer Networking Problem in Android 0 Answers


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