[Solved] 75 Error Messages upon importing PUN2

Dear Community,

I have learned about the existence of PUN only recently. Intent on using it, I imported PUN2 from the asset store into a completely new project. Hereupon I received 75 error messages and 10 Warnings in my console. Clicking through them I noticed that almost all Error Messages pertain to some scripts within the /PhotonUnityNetworking/UtilityScripts directory. Most of them concern the UI and Prototyping folders.
Here is an example. There are quite a few similar ones:

"Assets/Photon/PhotonUnityNetworking/UtilityScripts/UI/ButtonInsideScrollList.cs(13,19): error CS0234: The type or namespace name 'UI' does not exist in the namespace 'UnityEngine' (are you missing an assembly reference?)"

So, what am I doing wrong? What is happening?
I would deeply appreciate your help.
Kind regards...


  • UI is now a package you need to download from the Unity package manager.
  • Thank you for your reply. The UI package was automatically included in my new 3D project. Something else must be amiss.
  • By the way, I am using the PUN2 version 2.12 and Unity2019.2.0b1
  • Oh Lord, I do apologize. It seems I accidentally upgraded to a BETA Version. Going back to Unity2019.1.2f1, all errors have disappeared. I learned my lesson. Take care everyone.
Sign In or Register to comment.