Photon.Pun not found

Options
Namespace Photon.Pun missing + RoomSettings not found
Realtime and Chat are available
I'm using PUN 2 - Free
Photon.Pun is only accessable when creating Scripts inside of Photon/PUN/Code

Someone has the same problem or know how to fix this?

Comments

  • JohnTube
    JohnTube ✭✭✭✭✭
    edited July 2020
    Options
    Hi @iamniklas,

    Thank you for choosing Photon!

    RoomSettings is not a class or namespace in Photon code.
    You probably mean RoomOptions which is under Photon.Realtime.
    Photon.Pun is only accessable when creating Scripts inside of Photon/PUN/Code
    Maybe you need to reference it using asmdef.

    Are you using Unity 2019.3.12? try another version.