Difference between PUN classic and PUN2
Hey, I've been following a tutorial recently that uses PUN classic and I've heard that unity 2020 is not supported by PUN classic. Because of this, I'm using PUN2 instead, but have encountered issues such as 'the name 'PhotonNetwork' does not exist in current context' from exactly following the tutorial. If you could please tell me why this is happening you have my thanks.
Best Answer
-
You didn't add
using Photon.Pun
. Often the IDE will offer you quick fix options, which include "add reference" or similar tasks.There are Migration Notes on PUN Classic to PUN 2 migration.
Be aware that even PUN 2 is in LTS mode by now. It will be around and supported for quite a while but we encourage everyone to check out Fusion for new projects. It's the way to go.
1
Answers
-
You didn't add
using Photon.Pun
. Often the IDE will offer you quick fix options, which include "add reference" or similar tasks.There are Migration Notes on PUN Classic to PUN 2 migration.
Be aware that even PUN 2 is in LTS mode by now. It will be around and supported for quite a while but we encourage everyone to check out Fusion for new projects. It's the way to go.
1