Quantcast
Channel: Recent Discussions — Photon Engine
Viewing all articles
Browse latest Browse all 15755

Spawn enemies AI

$
0
0
Hi everyone I'm beginner in Unity and Photon, so I've a problem with the enemies AI spawning.
I create a NetworkManager with Photon.Monobehaviour and a method SpawnEnemy() when the number of enemies is lesser then MAX_NUMBER_ENEMIES, but I received this error "Failed to Instantiate prefab: Prefabs/Enemy. Client should be in a room." and I don't understand what it is.

Viewing all articles
Browse latest Browse all 15755

Trending Articles