Bootcamp Multiplayer Demo Error

I Have to create Multiplayer but when i try to create a Lobby he send me a error.
The Bootcamp Connect perfectly to the server but whens try to create a "room"
This error showme and do not do anithyning
THE ERROR WHEN TRY TO CREATE ROOM:
UnassignedReferenceException: The variable _usePhoton of 'MainMenuScreen' has not been assigned.
You probably need to assign the _usePhoton variable of the MainMenuScreen script in the inspector.
UnityEngine.GameObject.SendMessage (System.String methodName, System.Object value)
MainMenuScreen.MainConection () (at Assets/Scripts/huds/MainMenuScreen.js:789)
MainMenuScreen.DrawGUI (UnityEngine.Event event) (at Assets/Scripts/huds/MainMenuScreen.js:307)
GUIOptimizer.OnGUI () (at Assets/Scripts/huds/GUIOptimizer.js:12)
Details:
Unity 3D 3.5
The Project Open source URL:
http://u3d.as/content/exit-games/photon-bootcamp-demo/1AA
The Line 789 of MainMenuScreen.js
_usePhoton.SendMessage("JoinToLobby",nameRoom);
The MainMenuScreen.js
http://pastebin.com/8xPD0Jd2
And the file is attachement to the post

Comments

  • Hello, I'm having this same problem, did you find a solution? Is it as simple as dropping an object into the "use photon" slot in the inspector?
  • > You probably need to assign the _usePhoton variable of the MainMenuScreen script in the inspector.

    This tip from the log seems useful.
    Search for "MainMenuScreen". This has a property "UsePhoton", which you could assign in the inspector.
    There is a "UsePhoton" component in the assets.

    Both (MainMenuScreen and UsePhoton) are also part of the scene hierarchy. Assign UsePhoton by drag and drop to MainMenuScreen.UsePhoton.


    Repeat with anything else missing ;)
Sign In or Register to comment.