i created an enemy spawner that spawns enemies at random locations. When i change levels from the main menu the spawner just creates enemies on it’s location and also the AI doesn’t work.
NOTE: when i play the level from itself everything works fine this problems just happends if i played from the main menu.