Set the application entry point for your Android application
Choose which application entry point to use for your Android application.
Read time 1 minuteLast updated 13 days ago
You can control the application entry points through Android Player Settings. For development builds, you can use multiple application entry points to quickly compare functionality and performance between them. For release builds that you intend to publish, you must only select one application entry point. If you select more than one, Unity displays a warning message.
Set the application entry point
To set which application entry points to use for your application:
- Open Android Player Settings.
- Go to Other Settings > Configuration > Application Entry Point.
- In the Application Entry Point section, select which application entry points you want to use.
If you select more than one application entry point and then build or export your application, Unity generates multiple entries in the Android App Manifest, one per application entry point.
activityIf you open the project in Android Studio, you can specify which application entry point you want to run/debug in the Run/Debug Configurations dialog. Installing the built application on a device creates one icon per application entry point.