Hi i want to spawn entities in my plugin but they dont spawn with the right rotation Here is my code Eevery item spawn facing east :).
var rota = player.GetNetworkRotation().y;
var block = GameManager.server.CreateEntity("assets/prefabs/building/wall.external.high.stone/wall.external.high.stone.prefab",player.transform.position,Quaternion.Euler(0, rota, 0), true);
block.gameObject.SetActive(true);
block.Spawn();Thanks