Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 Yokimato · Aug 31, 2013 at 12:27 AM · photonlobbyrooms

Photon Networking - Getting RoomList inside a Room

I was hitting an "issue" where I was not getting updates to my room list while my player was inside a room. I'm using a scene for my lobby, and Photon didn't like me doing networking IN the lobby like PhotonNetwork.Instantiate(...) so I just made an actual room and send everyone there....Works good until I want to find what rooms are available... The description tag on GetRoomsList() says it doesn't work while in a room!!!! WHY!?

Anyone know a workaround? This restriction seems.....awful.

Comment
Add comment · Show 3
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 FLASHDENMARK · Sep 02, 2013 at 07:54 PM 0
Share

What do you need PhotonNetwork.Instantiate() for? Why is 'regular' Instantiate not sufficient?

avatar image Yokimato · Sep 02, 2013 at 07:58 PM 0
Share

Because it's using networking of course :P All players in the "lobby" are represented by an avatar...it goes to say that everyone connected to the "lobby" needs to see the connecting players avatar as well.

avatar image FLASHDENMARK · Sep 02, 2013 at 08:40 PM 0
Share

I'm an idiot. I just forgot that RPCs in the Lobby are dropped as well. If they didn't I would've proposed regular Instantiate inside an RPC-called function. But that is no good.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by JoshuaPack · Feb 23, 2014 at 05:11 PM

This is probably not the answer you are looking for, however, if you have a separate server that you connect to, you can keep all rooms within SQL. It depends on what you are doing to create these rooms, but you will need to make sure to keep the sql updated with room available and so forth. You can then just make a call to the sql for the rooms within another room.

This is the only way I know of looking through documentation of Photon Unity Networking that I can see will work.

Hopefully PUN will support this down the road, but looks like it is currently not supported.

Comment
Add comment · Show 3 · 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 Quaker_SDR · Jan 01, 2015 at 02:55 PM 0
Share

Still no solution for this???

avatar image tobiass · Jan 14, 2015 at 01:24 PM 0
Share

Photon does not support room lists while being in a room.

The rooms are distributed across multiple machines and we don't sync the room lists with these servers.

It's not planned to change this.

avatar image Quaker_SDR · Feb 02, 2015 at 05:53 AM 0
Share

still no solution ?

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

20 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

Related Questions

Photon Networking (Viking Demo) - GetRoomList() func not working 2 Answers

Two Photon problems 0 Answers

Can we use "Photon cloud" for a card game like poker in Unity3d? 1 Answer

Synchronize array with simultaneous access via Photon Network RPC 1 Answer

Photon Play Animation 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