Can't acces "using photon.pun"
Options
this might be a really dumb question but this is my first time using Photon Pun 2 and I have this problem, so i have set up my app id and i can't acces the "using Photon.Pun" at the start of the script, I only have "photon.chat" and "photon.realtime". Again this is propably me being new to photon pun 2, but any help would be appreciated.
0
Best Answer
-
Hi @Sape,
Thank you for choosing Photon!
What Unity version are you using?
if it's 2019.3.12 then it has a problem with Visual Studio integration.
What package did you import exactly into your project? share the link?
I want to make sure you imported PUN 2 and not Photon Unity SDK.
did you import in a new fresh clean empty project or into an old one?i can't acces the "using Photon.Pun" at the start of the script
maybe you have other errors in your project you need to fix first to compile then add another script?
or maybe it's an issue with asmdef?
where is the new script located? maybe for some reason it does not have access to PUN's asmdef and it can access Realtime and Chat ones?5
Answers
-
Hi @Sape,
Thank you for choosing Photon!
What Unity version are you using?
if it's 2019.3.12 then it has a problem with Visual Studio integration.
What package did you import exactly into your project? share the link?
I want to make sure you imported PUN 2 and not Photon Unity SDK.
did you import in a new fresh clean empty project or into an old one?i can't acces the "using Photon.Pun" at the start of the script
maybe you have other errors in your project you need to fix first to compile then add another script?
or maybe it's an issue with asmdef?
where is the new script located? maybe for some reason it does not have access to PUN's asmdef and it can access Realtime and Chat ones?5 -
Yes, I was using unity 2019.3.12. Thank you for the response!
0