How to use profile Simulator in Unity3d
It is believed that many inexperienced people have no idea about how to use profile simulator in Unity3d. Therefore, this paper summarizes the causes and solutions of the problem. Through this article, I hope you can solve this problem.
Step 1 adb connection
After installing the Night God simulator and running it, use the command line tool cd to the bin directory of the simulator installation directory, and execute adb devices. For example, here I am:
Cd "C:\ Program Files (x86)\ Nox\ bin" adb devices
Normally, it will return:
List of devices attached127.0.0.1:62001 device
If it doesn't show up, try shutting down the emulator and restarting, and then ending adb.exe in the task manager. Execute adb devices again. The name of the adb process that comes with the Night God simulator is as follows:
Image.png
Part II installation Game
Install the game into the simulator and get bundleID. This is com.ezfun.TD.sjoys.
Apk must be built with "Development" and "Autoconnect Profiler" checked.
Step 3 Port Mapping
Command line execution:
Adb forward tcp:55360 localabstract:Unity- [bundle id]
Where [bundle id] is replaced with the specific package name of the application.
Step 4 debugging
To run the game, in the profile panel of unity, select Actuve Profiler and enter 127.0.0.1.
Image.png
Image.png
Clear
It is a good habit to delete port forwarding after use.
Adb forward-remove-all
This article participates in the "OSC Source Program". You are welcome to join us and share it.
After reading the above, have you mastered how to use the profile simulator in Unity3d? If you want to learn more skills or want to know more about it, you are welcome to follow the industry information channel, thank you for reading!