How to obtain Glue log from various platforms

What are Glue log files?

 

1. Player.log

  • A text file that contains logs from your last Glue session.

2. Player-prev.log

  • This is a Player.log from your previous session (The one before the last session). It is there to help saving some crucial info in case of restart or crashes.

Where can i find it (Windows)?

 

  • Open Explorer and go to:
    C:\Users\YOUR_USERNAME\AppData\LocalLow\Glue Collaboration\Glue
    and copy Player.log and Player prev.log
  • đź’ˇ Not the logs folder, only the two files.
  • đź’ˇ Hidden Files must be enabled in  Explorer’s view

     

    Capture_Log_win

Where can i find it (MacOS)?


  • Open Console and go to:
    Log Reports > Player.log/Player prev.log >Click RMB* on it >
    Reveal in finder and copy Player.log and Player-prev.log

    Capture_Log_Mac

Where can i find it (Standalone Headset 1/4)?

To find Glue log files from Oculus Quest/Pico Neo/HTC Focus (and many
other Android based standalone devices) You need a few prerequisites:

  • Open Browser and go to: https://developer.android.com/studio#downloads
  • Download version for your platform -Win/Mac
  • Install according to instructions: https://developer.android.com/studio/install

    Capture_Android_Studio_Downloads

Where can i find it (Standalone Headset 2/4)?

After installation open an Android Studio

  • Choose Start a new Android Studio project
  • Select No Activity and click next
  • On the next screen leave everything as it it by default*
    and click Finish twice

    *No matter what You choose as long as You’re not using
    this project for a development
      Capture_Android_Studio         

Where can i find it (Standalone Headset 3/4)?

When the Android Studio Project is open:

  • Wait until the Gradle finishes building a project. When it is done and a Logcat
    Tab in the bottom left corner appears,  click on it.
  • Now You can Plug in Your Headset

    Capture_Android_Studio_3

Where can i find it (Standalone Headset 4/4)?

Turn on Your Headset and connect it to your computer with a USB cable.

  • Connecting Quest/Pico/HTC Focus etc. for the first time may prompt
    a Trust this computer” dialog in th e headset display.
    Use controllers to press “Trust Always”.
  • When You connect it, headset should appear in the Logcat window.
  • Type Unity in the search bar and uncheck Regex.
  • Then - after the session/app crash - select whole text and copy it to for ex.
    Notepad and save it as a Device .log*
  • Next time just plug in Your headset , turn on
    Android Studio and repeat steps 2 - 4 from this page

*Name of the device that You are using, ex: Quest.log/Pico.log/HtcFocus.log

 

Capture_Android_4