Not able to sync colors on a small 2d app/game.
Options
Hey, Im making a small 2d game and I used this script to change colors using UI buttons. I'm getting the "Object Referance not set to an instance error" at line 86,90,94 and 98. Any help would be great !
0
Best Answer
-
photoc = PhotonView.Get(this);
isn't being set try adding [SerializeField] or public to photoc to check if it is actually set to an instance of photon view also make sure the script is attached to an object with a photon view and is instantiated when the room is made5
Answers
-
photoc = PhotonView.Get(this);
isn't being set try adding [SerializeField] or public to photoc to check if it is actually set to an instance of photon view also make sure the script is attached to an object with a photon view and is instantiated when the room is made5