Page 1 of 1
Play button not loading waiting room
Posted: Tue Jun 30, 2020 10:28 pm
by turtleneckflex
Been trying to figure this out all day...
Creating a room works but when I press "Play" in the Main Menu I get this error and it doesn't connect
https://prnt.sc/t9khkw
I've re-imported the MainMenu scene and it still does not work so I don't think it's a hierarchy/index error
Also need to know how to open the global chat in the main menu, I pressed every button on the keyboard and in the scene and I can't open it
also has nothing to do with the prefabs being hidden in the hierarchy, I spent hours turning things off and on so that's why chat and waiting room are hidden in the hierarchy of the pic
please help
Re: Play button not loading waiting room
Posted: Wed Jul 01, 2020 6:57 am
by Lovatto
After a certain number of post for MFPS support I need to verify your MFPS purchase with the
invoice number, please send me it in a
PM for further assistance on this.
Re: Play button not loading waiting room
Posted: Wed Jul 01, 2020 7:31 am
by turtleneckflex
okay I have just sent pm
Re: Play button not loading waiting room
Posted: Wed Jul 01, 2020 7:37 am
by Lovatto
The error is caused because the PhotonNetwork Nickname has not been assigned,
I also see in your screenshot that the player name is not displayed in the MainMenu.
Did you make any change to the main menu/lobby scripts?
How do you start the game when this error happens? from the Login scene?
Re: Play button not loading waiting room
Posted: Wed Jul 01, 2020 7:56 am
by turtleneckflex
haven't made any changes to the scripts, and I'm starting it from the main menu.
i removed the login scene from the build settings but when I add it back and log into an account the screen will go black if I click Play or join a room:
https://streamable.com/aqyt9u (example vid)
when I start up the main menu scene the player name box is automatically disabled
https://streamable.com/0a6odj
i dont know why it disables it but I'm not sure if this is the problem because when I test a previous build I made without the login scene, the player name box appears but the screen will still go black if I click play.
Re: Play button not loading waiting room
Posted: Wed Jul 01, 2020 8:12 am
by Lovatto
1 - The screen stuck black after you join in the room because you have disable the Waiting Room object in the lobby.
2 - The Player Name window never show up because you have the Remember Player Name On, you can turn off it in GameData.
Re: Play button not loading waiting room
Posted: Wed Jul 01, 2020 8:16 am
by turtleneckflex
i feel stupid, thank you so much man
would you mind telling me how i can open the global chat as well?
Re: Play button not loading waiting room
Posted: Wed Jul 01, 2020 8:22 am
by Lovatto
- Enable the Lobby Chat in GameData.
- Set your Photon Chat AppId in PhotonServerSettings -> AppIDChat.
- Then this button will appear with which you can open the chat window: