somshekar Posted August 18, 2021 Share Posted August 18, 2021 (edited) I'm not able to get any of Debug.Log messages from the device. When I run following command 'adb logcat -d > logcat.txt' I get all the logs except Unity logs. I have also tried 'WVR_Log.Log.d' but still no log messages. How can I log the messages? Edited August 18, 2021 by somshekar Link to comment Share on other sites More sharing options...
HackPerception Posted August 18, 2021 Share Posted August 18, 2021 @somshekar To start Logcat: Type adb logcat To stop the logcat, press Control and C at same time. To save the Logcat content to a file, type the following command adb logcat > filename.txt This will save the logcat to “filename.txt”. You can name "filename" whatever you wish. Link to comment Share on other sites More sharing options...
somshekar Posted August 18, 2021 Author Share Posted August 18, 2021 Thank you, I have tried this still there is not log from Unity. Link to comment Share on other sites More sharing options...
C.T. Posted August 19, 2021 Share Posted August 19, 2021 8 hours ago, somshekar said: Thank you, I have tried this still there is not log from Unity. Please enable the flag by this command, then the log you need should show up in adb logcat. May have to enable it every time you reboot the device. Let us know if it is working out for you. Thanks Quote adb shell setprop log.tag.Unity DEBUG Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now