How can I use Vector3 and Quaternion in photon server?

Options
locus84
edited August 2013 in Photon Server
I made my project with UnityEngine.dll included!

But i cant use Vector3, Quaternion classes in my project.

There is no problem with writing or compiling code, but when it comes to debug mode,

I see the message "ecall methods must be packaged into a system module".

And then, throw exception to the catch()block.

How can I fix it?

Or is there alternative library which support same functions with unity's vector3 and quaternion?

Comments

  • That's more a Unity problem and not a Photon problem. Sorry, we can not provide any support for 3rd party libraries on the server side. :(

    There are a few threads about similar errors on the Unity forum. I did not find a real solution, but maybe you have better luck over there.
  • Ty Nicole! I have searched about it on the Unity forum. But they all say It cant be possible.
    But now I have my solution, that is... Just get a viable free 3d math library from web. and add my own method to perform thing like Unity.

    Hope this help to some1 faced same problem like me.

    Microsoft's xna math library or Slimmath can be a part of solution!

    NOW LET'S GO AND MAKE OUR GAME!!