Question: Unnecessary using directive

"The type or namespace name 'Pun' does not exist in the namespace 'Photon' (are you missing an assembly reference?) "

I was just following the photon tutorial, but the script that I'm supposed to type in throws errors in VsCode. The code runs fine in unity and doesn't show any bugs there, and also didn't show any errors in vs code in a different project with the exact same script. Any ideas would be much appreciated.


  • LaraLara
    edited October 19
    I had the same issue. VSCode updated and the problem began. It's something related to C# plugin. Downgrade to version 1.23.4 and it works again!
Sign In or Register to comment.