Player spawn under background
Here's my scene structure:
I have a Canvas with an Image component which is my background and a 2D GameObject as spawnpoint.
I instantiate on the network with my Manager script but the object appears under the background image:
PhotonNetwork.Instantiate(Caleche.name, spawnPosition.transform.position, Quaternion.identity);
What am I doing wrong?
PS: my player prefab has ViewId. It is referenced in the script as well as the spawnpoint.