Tutorial can't compile BoltNetwork.isServer
Options
crydrk
✭
in Photon Bolt
Just following the tutorial here:
https://doc.photonengine.com/en-us/bolt/current/demos-and-tutorials/bolt-basics/bolt-102-getting-started
Working on Menu.cs I get this error on this line in BoltStartDone: if (BoltNetwork.isServer)
Assets\Tutorial\Scripts\Menu.cs(29,25): error CS0117: 'BoltNetwork' does not contain a definition for 'isServer'
https://doc.photonengine.com/en-us/bolt/current/demos-and-tutorials/bolt-basics/bolt-102-getting-started
Working on Menu.cs I get this error on this line in BoltStartDone: if (BoltNetwork.isServer)
Assets\Tutorial\Scripts\Menu.cs(29,25): error CS0117: 'BoltNetwork' does not contain a definition for 'isServer'
1
Comments
-
(I don't see an edit button)
I notice that SetServerInfo is deprecated as well. I'm on Bolt Free 1.2.10, and the screen in Unity led me to these docs. Is there a newer version of the tutorial I should be looking at?1 -
Someone on Discord let me know. BoltNetwork.isServer is now IsServer.
No updated tutorial that they know of with changes for the deprecated function, but I'm at least unblocked now.
Please let me know if the tutorials get updated. It would be a bit more comfortable to learn from but I can manage for now.
1 -
Tutorials should be updated, yes. I hope they do it soon.0