디버그 메시지, 경고 및 오류는 모두 콘솔로 이동합니다. 또한 Unity는 상태 보고서(에셋 로드, 모노 초기화, 그래픽스 드라이버 정보)를 콘솔에 출력합니다.
무슨 일이 벌어지고 있는지 알고 싶으면 editor.log
파일을 확인하십시오. 이 파일은 콘솔보다 더 상세한 정보를 제공합니다. 어떤 문제가 발생했는지 알 수 있으며 코딩 세션의 전체 로그를 볼 수 있습니다. 이렇게 하면 Unity 충돌이 발생한 원인을 추적하거나 에셋의 문제를 찾아내는 데 도움이 됩니다.
Unity는 또한 장치에 몇 가지 정보를 출력합니다(iOS 장치의 Android용 로그캣 콘솔 및 Xcode gdb 콘솔).
c++filt
(ndk
의 일부) 또는 기타 메서드를 사용하여 변환된 함수 호출을 디코딩합니다.libunity.so
- Unity 코드 또는 사용자 코드에서 충돌이 발생했습니다.libdvm.so
- Java 월드의 어딘가에서 Dalvik과 함께 충돌이 발생했습니다. 따라서 Dalvik의 스택트레이스를 찾아야 합니다. JNI 코드 또는 Java와 관련된( AndroidManifest.xml
에 대한 가능한 변경 사항 포함) 모든 것을 살펴야 합니다.libmono.so
- Mono 버그이거나 Mono가 허용하지 않는 행동을 수행하고 있습니다.로그 분해를 통해 어떤 문제가 발생했는지 대략적으로 알아볼 수 없었다면 다음을 수행하십시오.
1. 다음과 같이 Android NDK의 ARM EABI 툴을 사용할 수 있습니다. objdump.exe -S libmono.so >> out.txt
.
1. 스택트레이스의 pc 주변 코드를 확인합니다.
1. 새로운 out.txt
파일에서 해당 코드를 일치시켜야 합니다.
1. 스크롤을 올려 충돌이 발생한 메서드의 상황을 파악합니다.
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.