Version: 2020.3
로우레벨 네이티브 플러그인 프로파일러 API
Unity 최적화에 대한 이해

로그 파일

개발 단계에서는 빌드된 스탠드얼론 플레이어, 타겟 디바이스, 패키지 관리자 또는 에디터의 로그에서 정보를 얻고 싶은 경우가 있을 수 있습니다. 로그 파일은 문제가 발생했을 때 문제가 발생한 위치를 정확히 파악하는 데 도움이 됩니다.

All messages, warnings, and errors written to the Console window in the Editor are also written to these log files. You can write your own messages to the Console and log files using the Debug class.

macOS에서는 Console.app 유틸리티를 통해 플레이어, 패키지 관리자 및 에디터 로그에 액세스할 수 있습니다.

Windows에서 패키지 관리자 및 에디터 로그는 기본적으로 Windows 탐색기의 숨겨진 폴더에 저장됩니다. 로그 위치를 찾는 자세한 방법은 아래를 참조하십시오.

패키지 관리자

패키지 관리자 로그를 보려면 Unity 로그 폴더로 이동하십시오.

운영체제 로그 파일
Linux ~/.config/unity3d/upm.log
macOS ~/Library/Logs/Unity/upm.log
You can also use the Console.app utility from your /Applications/Utilities folder to find the log file.
Windows (user account) %LOCALAPPDATA%\Unity\Editor\upm.log
Windows (system user account) %ALLUSERSPROFILE%\Unity\Editor\upm.log

에디터

To view the Editor log, open a Console Window (menu: Window > General > Console) and select Open Editor Log from the Console window menu. You can also navigate to the following folder:

운영체제 로그 파일
Linux ~/.config/unity3d/Editor.log
macOS ~/Library/Logs/Unity/Editor.log
You can also use the Console.app utility from your /Applications/Utilities folder to find the log file.
Windows %LOCALAPPDATA%\Unity\Editor\Editor.log

플레이어

To view the Player log, open a Console Window (menu: Window > General > Console) and select Open Player Log from the Console window menu. You can also navigate to the following folder:

운영체제 로그 파일
Linux ~/.config/unity3d/CompanyName/ProductName/Player.log
macOS ~/Library/Logs/Company Name/Product Name/Player.log
You can also use the Console.app utility from your /Applications/Utilities folder to find the log file.
Windows %USERPROFILE%\AppData\LocalLow\CompanyName\ProductName\Player.log

Windows 및 Linux 스탠드얼론에서는 로그 파일의 위치를 변경하거나, Unity의 로깅을 중단할 수 있습니다. 자세한 내용은 커맨드 라인 인자 문서를 참조하십시오.

iOS

XCode의 기기 로그는 GDB 콘솔 또는 오거나이저 콘솔을 통해 액세스할 수 있습니다. 후자는 애플리케이션이 XCode 디버거를 통해 실행하고 있지 않은 경우 충돌 로그를 검색하는 데 유용합니다.

크래시 및 문제 디버깅에 관한 내용은 문제 해결크래시 버그 보고 문서를 참조하십시오.

Android

로그캣 콘솔을 사용하여 기기 로그에 액세스할 수 있습니다. 그러려면 먼저 logcat 파라미터로 Android SDK/platform-tools 디렉토리에서 adb 애플리케이션을 실행하십시오.

$ adb logcat

패키지 관리자를 통해 Android 로그캣 패키지를 가져올 수도 있습니다. 이 패키지는 Android에서 로그를 가져오기 위한 UI 인터페이스를 제공합니다.

유니버설 Windows 플랫폼

기기 로그 파일
Desktop %USERPROFILE%\\AppData\\Local\\Packages<productname>\\TempState\\UnityPlayer.log
Windows Phone Windows Phone Power Tools](https://wptools.codeplex.com/)을 사용하면 Windows Phone 로그를 검색해서 가져올 수 있습니다. 또한 Windows Phone IsoStoreSpy는 유용한 디버깅 툴을 많이 제공합니다.

WebGL

WebGL의 경우 Unity는 로그 출력을 브라우저의 JavaScript 콘솔에 작성합니다.

Windows에서 로그 파일 액세스

Windows Vista와 Windows 7에서는 Tools > Folder Options > View (tab)에서 AppData 폴더가 Windows 탐색기에서 보이게 할 수 있습니다. 툴 메뉴는 기본적으로 숨겨져 있습니다. 표시하려면 Alt 키를 한 번 누르십시오.

Windows 10에서는 View > Show/hide에서 Hidden items 옵션을 활성화하여 AppData 폴더가 Windows 탐색기에 표시되도록 만들 수 있습니다.

Windows에서는 기본적으로 스탠다드 아웃 스트림이 존재하지 않으므로, CI 시스템의 자식 프로세스의 경우처럼 유효하게 설정된 stdout 스트림으로 에디터를 실행해야 합니다. -를 지정하여 출력을 stdout으로 보내면 콘솔 창에 출력이 보이지 않습니다.


  • 2017.3에서 Tizen 지원 중단됨 NewIn20173
로우레벨 네이티브 플러그인 프로파일러 API
Unity 최적화에 대한 이해
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961