Inspect your game running on the device. Browse GameObjects in the Remote Hierarchy window and change their properties in the Remote Inspector window just like you would in the Unity Editor.
These are possible with your game running on the device, including Android, ios and even in the editor.
Ugrade Info You have to delete the Remote Inspector free version before you install the pro version.
Just add the RemoteInspectorServer prefab to your first scene and you’re done. This prefab has a small web server that communicates with the Unity Editor over the network.
If your PC and your mobile device are on the same network, enter the IP address and port of your mobile device and click the Refresh button in the Hierarchy window. Default port is 8080. Or you can change the default port in the RemoteInspectorServer prefab.
Alternatively, if your Android device is connected to your PC via a USB cable, you can use ADB’s port forwarding function. The following command will add port forwarding settings. If successful, type ‘localhost:8080’ and click the refresh button in the Hierarchy window. See Unity document’s ADB profiling section for more information.
adb forward tcp:8080 tcp:8080
If you’re using IL2CPP, you may not see the information you need. This is because IL2CPP deletes unused classes and members through static inspection. To avoid this, you need to set the link.xml file in your Unity project. See Bytecode Stripping page for more information.
The Remote Inspector has a file
Example.link.xml that preserves all UnityEngine core classes. When creating a development build, change the name to
link.xml. We don’t recommend using it in builds for your product, as it may contain unnecessary classes.
Because Remote Inspector does not support custom editors, it displays members in raw form. This is similar to the Debug mode of the Unity Inspector. It can be confusing because it is different from what the Unity Inspector shows, but it has the advantage of being able to view and edit information that was not previously possible.
Supports most Unity primitive types, but does not yet support asset types except textures. We plan to continuously increase the supported types, including asset types.
Net Error:Cannot connect to the destination host
First make sure you have built it with the RemoteInspectorServer prefab. If there is no problem with the build, check the network connection from the PC to the mobile device. Enter
http://[IP Address]:[Port] in the address bar of a web browser such as Chrome. Replace
[IP Address] and
[Port] with the values entered in the Hierarchy window. If there is no problem with the network connection,
Welcome to Remote Inspector! appears in the web browser.
If you want to connect your device via WIFI, make sure your PC and device are on the same network.
If you are trying to connect your Android device via USB/ADB, check the ADB forward settings. Enter the following on the command line.
adb forward --list
If the ADB forward setting is normal, the following output is displayed.
1515fa33f65c3282 tcp:8080 tcp:8080
- Remote Inspector 1.5 Release Note
- Method Calling in Inspector
- [Pro] Static Window – Inspecting Static Members and Method Calling
- Editor Support
- Improved Connection Bar
- Various View Options
- Remote Inspector 1.4 Release Note
- Improved Response Time (Faster more than 200%)
- Exception Handling during getting the value of a remote property