Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by HeyJoeLang · Mar 12, 2014 at 07:03 PM · debugdebug.logexecutablewindows-8

How do you access Debug console from standalone executable in Win8?

I know there is a page that describes where the Log files should be for different Operating Systems:

http://docs.unity3d.com/Documentation/Manual/LogFiles.html

It describes that Debug Log information on a Windows Vista / 7 should be within EXECNAME_Data\output_log.txt

Since there is no documentation for Windows 8, I assume it works the same as Vista / 7. There is not file 'output_log within the _Data Folder. When I search for '_log' nothing appears anywhere on the computer. Hidden files are set to visible in my Control Panel folder options.

Does anyone know how to access the Debug Log information printed to console for a standalone executable running on Windows 8?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

2 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by perchik · Mar 12, 2014 at 07:36 PM

I'm on windows 8. I made a simple scene, that has a main camera and this script on the camera:

 using UnityEngine;
 using System.Collections;
 
 public class demo : MonoBehaviour
 {
 
     // Use this for initialization
     void Start()
     {
         Debug.Log("This is a test. Just a test");
     }
 }
 

I build it with just that scene and call it "Demo.exe" saved on my desktop

That created two things, Demo.exe on my desktop and Demo_Data folder on my desktop.

When I run Demo.exe it's supposed to write to the Debug.Log. Then I close Demo.exe.

In the Demo_Data folder, there's now a file called output_log.txt which says this:

log.txt:


Initialize engine version: 4.3.4f1 (e444f76e01cd) GfxDevice: creating device client; threaded=1 Direct3D: Version: Direct3D 9.0c [nvd3dum.dll 9.18.13.3489] Renderer: NVIDIA GeForce GTX 650 Vendor: NVIDIA VRAM: 965 MB (via DXGI) Caps: Shader=30 DepthRT=1 NativeDepth=1 NativeShadow=1 DF16=0 INTZ=1 RAWZ=0 NULL=1 RESZ=0 SlowINTZ=0 Begin MonoManager ReloadAssembly Platform assembly: Z:\Desktop\Demo_Data\Managed\UnityEngine.dll (this message is harmless) Loading Z:\Desktop\Demo_Data\Managed\UnityEngine.dll into Unity Child Domain Platform assembly: Z:\Desktop\Demo_Data\Managed\Assembly-CSharp.dll (this message is harmless) Loading Z:\Desktop\Demo_Data\Managed\Assembly-CSharp.dll into Unity Child Domain Platform assembly: Z:\Desktop\Demo_Data\Managed\Assembly-UnityScript.dll (this message is harmless) Loading Z:\Desktop\Demo_Data\Managed\Assembly-UnityScript.dll into Unity Child Domain - Completed reload, in 0.058 seconds desktop: 1920x1080 60Hz; virtual: 3840x1080 at 0,0 Initializing input.

XInput1_3.dll not found. Input initialized.

This is a test. Just a test

(Filename: C:/BuildAgent/work/d3d49558e4d408f4/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 53)


Notice the Debug.log is in that. I'm not sure what your problem is. Can you try what I did and see if it works?

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image itsharshdeep · Oct 03, 2016 at 04:07 PM 0
Share

Thanks Work as per the description :) :ThumbsUp:

avatar image
4

Answer by mrjordan · Jul 28, 2018 at 07:10 PM

For future reference, logging is only enabled if you check "Development Build" and "Script Debugging" in Build Settings.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

22 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

View Debug.Log output while remote debugging on Surface RT 0 Answers

Directx 11device context with debug 1 Answer

Best way to Debug Network games? (multiple instances of executable) 1 Answer

Is it just me, or does debug log crash unity on large iterations? 1 Answer

Console messages from multiple connected players on same machine 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges