Photon network issue with script priority

i tried to make the photon networking work and it did
however my script for spawning players is in c# and i need to call it’s functions from javascript functions, which is why i have it in the standart assets folder
now, for some reason the player spawning script gives the error that it cant find a valid type of photonnetwork, even though i copied the photon plugins into a plugins folder in the assets root.
i tried making the playerspawner script in javascript, so that i don’t need to have it in the standart assets folder, but then it gives me “no appropriate version of photonnetwork.instantiate”
whad do?

In your photon network folder, try dragging the plugins folder into your root assets folder. I had a similar problem and that’s how I fixed it.