Error when loading SDK in Unity

Hello All,

Not sure if this is the right Category to post this question, and I apologize if it isn't.

I am fairly new to Photon and networking in general, and have been doing a lot of reading to try to figure it out as best as I can. I am making a game that is turn based, and not til recently did I discover that Turnbased and PUN are two separate products and SDKs.

The problem however, is that when I load the Turnbased SDK into Unity, I receive the following error:

Unhandled Exception: System.Reflection.ReflectionTypeLoadException: The classes in the module cannot be loaded.


I am not quite sure why I get this error, especially by just loading the SDK folders into Unity.

I appreciate the help in advance!

Comments

  • Hi @aromans,

    Which Unity version do you use?
    How do you import Photon Unity SDK into Unity?
    Did you try doing it in a clean empty project?
  • Hello @JohnTube

    I am using 5.3.4f1, and I drag the turnbased files I need into my project.

    For some reason, when I opened my project today the error was no longer there. I am not sure if it was just Unity, or I changed something to fix it unknowingly. Which puts me a little on edge but hopefully I don't come across the error again in the future.

    Thank you for your reply :smile:
Sign In or Register to comment.