Got a weird issue with , I need you !

Options
Hi, I'm trying to use Photo with Playfab (already got it working to create account and login).
My problem is : unity gives me an error on the line :
using ExitGames.Client.Photon.LoadBalancing;

"Assets/SCRIPTS/Managers/Menu/LobbiesWindowManager.cs(7,31): error CS0234: The type or namespace name `LoadBalancing' does not exist in the namespace `ExitGames.Client.Photon'. Are you missing an assembly reference?"

I actually downloaded photon from the asset store and I think I have everything I need, so, what am I missing ?

I hope you can help me!

Comments

  • vadim
    Options
    Hi,
    Do you try to use PUN and .NET Loadbalancing API in same project? This is not supported officially but you can try
    using LoadBalancing = ExitGames.Client.Photon.LoadBalancing;

  • TagliatL
    Options
    I don't think so. I'll try this first, thanks!
  • I have same Issue not resolved yet. any Help?
  • Tobias
    Options
    You usually should not combine LoadBalancing and PUN.
    Much less, if you can't resolve the issues due to clashes in APIs.

    Both are fairly the same and PUN has the features of LB, too.
    Please use only PUN or only the LoadBalancing API in your project!

    What is your reasoning to copy both in one project?