Unity 5.5.0b3 gives errors.

Hi.
I just updated to Unity 5.5.0b3 for testing, and PUN+ 1.75 here gives these four errors:

Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonHandler.cs(152,13): error CS0103: The name `Profiler' does not exist in the current context Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonHandler.cs(154,13): error CS0103: The name `Profiler' does not exist in the current context Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonHandler.cs(172,17): error CS0103: The name `Profiler' does not exist in the current context Assets/Photon Unity Networking/Plugins/PhotonNetwork/PhotonHandler.cs(174,17): error CS0103: The name `Profiler' does not exist in the current context

Thanks.

Comments

  • [Deleted User]
    edited September 2016
    Hi vladimirta89,

    in version 5.5.0b3 Unity developers changed the namespace of the Profiler class as mentioned on the release notes: 'Profiler: Profiler class moved from UnityEngine namespace to UnityEngine.Profiling'. To fix these errors add using UnityEngine.Profiling; to the PhotonHandler class.
  • Yes, that fixed the errors.
    Thanks!