I am having an error with vscode. It keeps telling me that pun does not exist in photon. I can’t find a solution. Unity recognises it, but vscode doesn’t. Please help
Solution:
I created an assembly definition to my Scripts folder, and add all Photon dll’s to this assembly definition’s Assembly Definition References list. This solve the problem. But I have no idea why? Is it Unity related problem?
I kinda solved the issue by downgrading visual studio code to 1.1.3. If anyone has a better solution, please still feel free to say it