Sometimes when debugging a game built with Unity, you need to access the UnityPlayer.log file to see what’s happening on an actual device. Here’s how you get the log file off of Windows Phone for inspection.
Requirements: You need a PC with the Windows Phone 8/8.1 SDK installed and a test device that has your game installed from either Visual Studio or the Application Deployment tool.
Note: this method does not work on games installed from the Windows Phone store.
Finding your game’s GUID
First, you will need to find the GUID for your app. For Windows Phone 8.1, this value is located in the Package.appxmanifest in Visual Studio. You will have to open the file using the text or XML editor. From there, you will need to find the PhoneProductID element of the PhoneIdentity tag.
For Windows Phone 8.0, this value is the Product ID, located in the WMAppManifest.xml file.
Taking a snapshot of IsolatedStorage
Next, we’ll use the IsolatedStorageExplorerTool to capture a snapshot of the game’s Temp directory on the phone and copy it to a directory on your PC.
Open a Windows command prompt and enter the following command –
Windows Phone 8.1 –
Windows Phone 8.0 –
If the operation completed successfully, the tool will print “Done.” In the output window.
Now you can navigate to your output folder and the UnityPlayer.log file should be located in the newly created IsolatedStore directory.
IsolatedStorageExplorerTool – https://msdn.microsoft.com/en-us/library/windows/apps/dn629254.aspx