Error with Umenu and Ulogin

Report errors found in any assets.
Post Reply
User avatar
LH5
Contributor
Contributor
Posts: 7
Joined: Tue Jul 14, 2015 3:31 pm

Every time the game round ends instead of going back to the main menu it goes back to the login screen. How to fix?
User avatar
Lovatto
Admin
Admin
Posts: 1834
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

Change the scene id or name to return in bl_RoomMenu.cs
function

Code: Select all

void OnLeftRoom()
How to find your Invoice Number: Here
How to find your Order Number: Here
User avatar
LH5
Contributor
Contributor
Posts: 7
Joined: Tue Jul 14, 2015 3:31 pm

So now it goes back to the menu. BUT, you can select anything the levels are not there. Nether are the "join a match"box.

The error I get says "The referenced script on the behavior is missing!"
User avatar
Lovatto
Admin
Admin
Posts: 1834
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

you need assign the correct scene that you need return, this error is because you maybe are return to other menu / lobby or if this the correct, check that script are "missing".
How to find your Invoice Number: Here
How to find your Order Number: Here
User avatar
LH5
Contributor
Contributor
Posts: 7
Joined: Tue Jul 14, 2015 3:31 pm

So I figured it out! IF you go into the umenu scene, click UI, click menus, click main menu. Make sure that the box for it to be visible is checked.
User avatar
Lovatto
Admin
Admin
Posts: 1834
Joined: Sun Dec 07, 2014 3:18 pm
Contact:

Be sure that you have autoJoinLobby as true (see in PhotonServerSettings).
How to find your Invoice Number: Here
How to find your Order Number: Here
User avatar
LH5
Contributor
Contributor
Posts: 7
Joined: Tue Jul 14, 2015 3:31 pm

Thanks, it worked
Post Reply