A Unity ID allows you to buy and/or subscribe to Unity products and services, shop in the Asset Store and participate
in the Unity community.
Separate names with a comma.
Discussion in 'Windows' started by vladrybak, Sep 11, 2013.
Is it possible to write debug.log from unity3d to my visual studio output window for wp8 apps?
Hello. You can see Debug.Log output in Visual Studio if you go into project settings, and on debug tab select "Native only" debugger. It's a known issue and it has been fixed for 4.3 (all debuggers will output Debug.Log), but until that is released, you'll have to use native debugger if you want to see the output.
Cannot see the output in Visual Studio.
I set "Native Only" in the Debug Tab of the Project Settings but nothing happened.
Is there any other thing that need to be modified?
I am using Unity 4.2.1f4.
I was able to see the log, using this tool : http://wptools.codeplex.com/
Browse to isolated storage of your device, find your app, and get file UnityPlayer.log
Doesn't work for me either, on my project, debug tab I see
I set both UI Task and Agent Task to native only but go no output, I then set only UI Task to native only ad agent back to Managed and still nothing !
I am getting on the console the following type of error which was different than before which I assume PDB means something to do with program debug ?
'TaskHost.exe' (Win32): Loaded '\Device\HarddiskVolume27\Windows\System32\WINDOWS.NETWORKING.DLL'. Cannot find or open the PDB file.
'TaskHost.exe' (Win32): Loaded '\Device\HarddiskVolume27\Windows\System32\RSAENH.DLL'. Cannot find or open the PDB file.
'TaskHost.exe' (Win32): Loaded '\Device\HarddiskVolume27\Windows\System32\FWPUCLNT.DLL'. Cannot find or open the PDB file.
'TaskHost.exe' (Win32): Loaded '\Device\HarddiskVolume27\Windows\System32\DHCPCSVC6.DLL'. Cannot find or open the PDB file.
'TaskHost.exe' (Win32): Loaded '\Device\HarddiskVolume27\Windows\System32\MMPhoneDeviceApi.dll'. Cannot find or open the PDB file.
'TaskHost.exe' (Win32): Loaded '\Device\HarddiskVolume27\Windows\System32\AUDIOSES.DLL'. Cannot find or open the PDB file.
Am I doing it wrong ?
I set both UI Task
Maybe you're running Master configuration?
No, it is Debug. I tried deleting the proj and doing it again, still same errors wrt PDB
Looks like it's bugged. You can still see the Debug log output in the player log on the phone itself. That's about all you can do until 4.3.
Will 4.3 have a way to debug log on Windows 8 as well?
One option to get this to work would be to have an option to spit logs out in the build error console part of Unity but color stuff as Gray text instead of Red.