REMOTE INSPECTOR

remote-inspector

Remote Inspector

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.

Features

These are possible with your game running on the device, including Android, ios and even in the editor.

Videos

šŸ’”

Ugrade Info You have to delete the Remote Inspector free version before you install the pro version.

Installation

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

IL2CPP

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.

Limitations

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.

Connection Troubleshooting

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

Changes

1.5.0

1.4.0