Error in Documentation
Hello,
Im following the tutorial and there is an error with the Name InputField
https://doc.photonengine.com/en-us/pun/v2/demos-and-tutorials/pun-basics-tutorial/lobby-ui
https://ibb.co/jRSDVRJ
Cant see PlayerNameInputField.SetPlayerName
The Script save my name but failed to load it next play time
Also:
9. Drag the PlayerNamerInputField component into the field
I guess PlayerNamerInputField should be called PlayerNameInputField
Im following the tutorial and there is an error with the Name InputField
https://doc.photonengine.com/en-us/pun/v2/demos-and-tutorials/pun-basics-tutorial/lobby-ui
https://ibb.co/jRSDVRJ
Cant see PlayerNameInputField.SetPlayerName
The Script save my name but failed to load it next play time
Also:
9. Drag the PlayerNamerInputField component into the field
I guess PlayerNamerInputField should be called PlayerNameInputField
0
Comments
-
Ok its work nvm0
-
Script was in wrong gameobject and i put the script from project folder instead of component0
-
Hi @Samuel_Brunner,
Thank you for choosing Photon and for reporting this!I guess PlayerNamerInputField should be called PlayerNameInputFieldThe correct name of the class/MonoBehaviour/Component/file isPlayerNameInputField
and notPlayerNamerInputField
I will fix the name in the documentation page.Cant see PlayerNameInputField.SetPlayerNameMake sure to use the same name in the file as well.
Instead of "SAm.cs" use "PlayerNameInputField.cs".
What Unity version are you using?0 -
im using 2018.3.8f
Problem solved ( see 3nd post )
Everything work fine atm0 -
Thanks for the quick answer
Here is another error on part 3 :
https://doc.photonengine.com/en-us/pun/v2/demos-and-tutorials/pun-basics-tutorial/game-scenes
https://ibb.co/kQvLCxS
It create gamemanager import settings, had to copy the code first to make it a standard script and then turn it as a prefab ( i had to create another gamemanager in a random folder just for showing the problem )0 -
Hi @Samuel_Brunner,
I did not understand the problem.
Could you explain what is the issue here? expected behaviour versus actual behaviour?
Could you point me to the exact repro steps from the doc page?0 -
Hi @Samuel_Brunner,
I wanted to let you know that the "PlayerNameInputField" naming issue has been fixed here.
Thanks again for your contribution!0 -
Hi, i'm using unigine now and try to add photon api to it0