Use of Unity Profiler and unityprofiler

Source: Internet
Author: User

Use of Unity Profiler and unityprofiler

Select three options: Development Build, Autoconnect Profiler, and Script Debugging, as shown in.

  

Click the Build And Run button to compile the project And install the APK on the Android device. The Profiler is automatically opened And displayed.

Steps for manually installing APK and starting Unity Profiler are shown in.

1. Install and start the APK;

2. Execute the command adb forward tcp: 34999 localabstract: Unity-{insert bundle identifier here };

3. Open the Profiler Window through the menu window> Profiler in Unity Editor;

4. In Profiler, select Active Profiler from the drop-down menu;

  

The most critical step is to manually execute adb forward tcp: 34999 localabstract: Unity-{insert bundle identifier here}, which is also one of the work done by Autoconnect Profiler. If the device is restarted or the adb is disconnected and reconnected, run the command again to perform port ing. If the Unity Profiler cannot be connected normally, run the adb forward -- list command to view the currently mapped port and check that the current Unity application port has been mapped.

The Unity remote Profiler tool is useful when the Unity application optimization and analysis interface is stuck or flickering. For example, the reason for the low frame rate (35FPS) of the Unity application is intuitively reflected.

  

Reference: Working in Unity Advanced Development Profiler overview Profiler window

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.