Trigger puts remote player in position at 0,0,0 (Help!!)

Options
Hello everyone, i'm using photon transform view classic since it works best in my game and i have this issue that theres a platform that has a script that puts the player prefab inside the platform so the player move with the platform.
But when they enter, the remote player of them go to 0,0,0.
This is my script and the settings of photon transform view classic and here are screenshots showing the bug:
using UnityEngine;
public class playerplatform : MonoBehaviour {
    public GameObject platform;
    void OnTriggerEnter(Collider other) {
        if (other.tag == "Player") {
            other.transform.parent = platform.transform;
        }
    }
    void OnTriggerExit(Collider other) {
        if (other.tag == "Player") {
            other.transform.parent = null;
        }
    }
}
https://imgur.com/a/YVCAXpa
https://imgur.com/a/gsVtYyQ

Comments

This discussion has been closed.