playMaker
Home
Store
Showcase
Tutorials
Forums
Manual
Wiki
About Us
Playmaker Forum
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Join our
Discord Channel
Home
Help
Search
Login
Register
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
PUN - In room error although I AM in room.
« previous
next »
Print
Pages: [
1
]
Go Down
Author
Topic: PUN - In room error although I AM in room. (Read 1687 times)
heiterbiswolkig
Playmaker Newbie
Posts: 23
PUN - In room error although I AM in room.
«
on:
October 02, 2016, 03:09:42 PM »
The structure is very easy:
1. I connect to Photon
2. Then with a button i send the global transition event to the join state
3. see image
the it stops in the last state with that:
Failed to Instantiate prefab: Player. Client should be in a room. Current connectionStateDetailed: ConnectedToMaster
UnityEngine.Debug:LogError(Object)
thanks for help again!
Florian
Logged
jeanfabre
Administrator
Hero Member
Posts: 15500
Official Playmaker Support
Re: PUN - In room error although I AM in room.
«
Reply #1 on:
November 01, 2016, 02:27:37 AM »
Hi,
joining a room is an asynchronous process, the action merely asks for it, but you can't only be sure you are in a room by checking every frame or listen to the global event "Photon / ON JOINED ROOM"
Bye,
Jean
Logged
Print
Pages: [
1
]
Go Up
« previous
next »
Playmaker Forum
»
PlayMaker Help & Tips
»
PlayMaker Help
(Moderator:
600
) »
PUN - In room error although I AM in room.