This version of Unity is unsupported.

BuildPipeline.isBuildingPlayer

public static bool isBuildingPlayer;

Description

Is a player currently being built?