How to debug a device using Profiler in Unity3d

Source: Internet
Author: User



In fact, after the discovery is still relatively simple, but there are a few more attention to the place



I. Using Unity for Android development, it is important to remember to back up the Android development environment, which is the SDK. As soon as the SDK is updated, it is possible to change the file structure within the SDK, so unity cannot find the file correctly, and the build will continue to error. Although there are various solutions online, but I personally think the first is trouble, the second is likely to cause hidden bugs, not recommended, so back up your current use of the Android Development SDK



Two. Be sure to have ADB installed on your PC (this is nonsense). Then, when you set the build option in the Unity Manual, check development build in build setting to activate this option to continue checking AutoConnect Profiler



Three. After the setup is complete, unity provides WiFi and ADB two ways to use the profiler, I tried the next WiFi or relatively simple, not slow, after all, all linked in the same network segment of the Intranet



Four. If you use the ADB approach, there are a few things you should note:



(1) Close all automatic connection, can identify the device program, such as  assistants (91 This I have not tried, but I guess the truth is the same). The ADB is supposed to be the driver of a computer-connected device, so of this software must be the function of calling ADB to implement their own connected devices. Once this type of program is turned on, you will not be able to use the ADB service again in the CMD environment, which is a necessary step for setting up unity ADB debugging. So shut them down! (mobile phone assistant How to shut, ask Niang bar, a lot of). Some of the features of Eclipse, such as the Devices window, also occupy the ADB, so turn it off. And then...... And then press the Unity manual to say it.



(2) Example of the ADB Setup command in the Unity manual



ADB forward tcp:54999 localabstract:unity-com.xxxx.xxxx



How to debug a device using Profiler in Unity3d


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.