디버그 메시지, 경고 및 오류는 모두 콘솔로 이동합니다. 또한 Unity는 상태 보고서(에셋 로드, 모노 초기화, 그래픽스 드라이버 정보)를 콘솔에 출력합니다.
무슨 일이 벌어지고 있는지 알고 싶으면 editor.log를 확인합니다. editor.log에서는 콘솔 조각이 아닌 전체 그림을 얻을 수 있으므로 어떤 문제가 발생했는지 알 수 있으며 코딩 세션의 전체 로그를 볼 수 있습니다. 이렇게하면 Unity 충돌이 발생한 원인을 추적하거나 에셋의 문제를 찾아내는 데 도움이 됩니다.
Unity는 또한 장치에 몇 가지 정보를 출력합니다(iOS 장치의 Android용 로그캣 콘솔 및 Xcode gdb 콘솔).
Xcode에는 툴이 내장되어 있습니다. Xcode 4에는 크래시 디버깅을 위한 뛰어난 GUI가 있으며 Xcode 3에는 약간 덜합니다.
전체 gdb 스택 - 모든 스레드 역추적
soft-null-check 사용: 개발 빌드 및 스크립트 디버깅을 사용합니다. 이제는 잡히지 않은 null ref 예외가 적절하게 관리되는 호출 스택과 함께 Xcode 콘솔에 인쇄됩니다.
“빠른 스크립트 호출” 및 코드 스트리핑을 해제해야 합니다. 일부 희귀한 .Net 함수 또는 반사를 사용하여 발생하는 것과 같은 임의의 충돌을 중지시킬 수 있습니다.
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thank you for helping to make the Unity documentation better!
Your feedback has been submitted as a ticket for our documentation team to review.
We are not able to reply to every ticket submitted.