Oculus Quest testing on MacBook M1. Console debug messages not showing? - unity3d

I am very new to Unity. I am able to build and run to the quest just fine. However I never see debug messages in the console window. Is this normal? Is the only way to see debug messages to use the PLAY button with the link cable on PC?
Are there solutions so I can see debug messages in the console, or to be able to use the PLAY button on MacOS? I have the new M1. Unity runs great, no issues, just can't see dang debug messages in the console!
Thank you for any help!

Console logging apps running in Unity logs. If you want to look at your logs from an android device, you should use logcat. You can get it as another unity window from Package Manager. Also, there is a logcat within Android Studio.

Related

How can I debug services that don't run in the Unity Editor? (i.e. AdMob)

Is there a way I can debug problems with AdMob or other services that only run when the app is built and launched on a device rather than run in the Unity editor? I'm currently having an issue where AdMob rewarded video ads crash my app and I'm not sure how to get the logs from my iPhone. When run in the Unity editor the test ads won't display so debugging there is out of the question.
Xcode for iOS and ADB for android. You can build using "Development build" option for more debugging. Official apple info on debugging:
https://developer.apple.com/support/debugging/

Unity apk not working

I made a very simple game, adjusted player settings and external tools. switched platform to android. I can play my game with Unity remote on my phone.
When I build it's installed in phone, but when I launch app to start playing a black screen appears and then closes immediately.
I encountered the same problem as you did with identical logcat message.
If you haven't done so, you should uninstall Unity completely -> restart your computer -> reinstall Unity. That did it for me, hopefully, it works for you as well.

Eclipse Adb connection error

I'm trying to run an emulator and have created multiple emulators to test my app. For some reason, after I restarted my Adb, I am getting this Connection Error.
My emulators were working fine before I pressed to restart. I'm also using a Mac and not Windows.
Thanks!
I found out the answer.
For some reason ADT lost my emulator that I was using even though it was checked so I had to go to Run -> Run Configuration then click Target and manually choose one emulator and press Run at the bottom.
Hope this helps anyone else who runs into this issue!
Here's a link to the youtube video that I found that helped me.
https://www.youtube.com/watch?v=7PSONc6iyQQ

How to view logs in Samsung Smart TV log viewer

In the Samsung Smart TV menu there is an option to "Start receiving Smart TV logs". It's "OFF" by default.
When I clicked it I received a prompt to "Check the Console View". I opened the console view and ran the app on emulator, but i couldn't see any logs there.
I know that when the emulator is launched, a separate window showing all the alert(".."); logs is also launched.
I want to know how to use of this option of viewing logs via Console View. I'm new to Eclipse and Smart TV SDK. Is there anything that I'm missing?
How is this different from the logs that are already being shown with the emulator
The console log is used for debugging in real devices.
Emulator already have it's own debugger console window so the emulator not sending anything to eclipse.
If you want to work with real devices this feature is very useful. Do app sync from TV to your workstation and enable the log receiver. When your synced apps run in the real devices (TV/BDP) the alert from application will sent to eclipse's console window
The app will send its logs back to an active eclipse console on the system from which it downloaded the app.
I'm working with eclipse on windows, so I gave my pc a static ip address and installed the Apache 2.2 web server. After uploading my app, I enable the console and open the console view as you did. Then, I start my app, and I see all the log information in the console.
I find this log information essential, because some services return an error in the emulator, but actually execute successfully on the tv. Many of these services are interacting directly with the tv hardware, and there is no other way to debug them.

Testing GWT application on Mobile Emulator

I want an android and iphone emulator to run on windows to test my gwt application on windows. can someone point me to a proper emulator because i've been trying some with no success
The official iPhone simulator does not run on Windows. Seems you have to get a Mac ;-)
However the Android emulator can be installed pretty much anywhere:
http://developer.android.com/guide/developing/tools/emulator.html
If you point the Andorid browser in the emulator to your GWT application you should be able to test it. You can find messages from the browser in LogCat, watch out for the logging tag WebCore. You can even log from within your code and get the output in LogCat, see:
http://developer.android.com/guide/webapps/debugging.html