Learn to get Logs in your Browser’s Console during runtime, and save it on your device.
Prerequisites
Info |
---|
For this document, you need :
|
Note |
---|
Choose ‘'Development’' or ‘'Debug’' as your ‘'Build Configuration’' before Packaging your app from UE to generate Logs and allow our system to capture them. See how to Select a Build Configuration here. |
Instructions
Step1. Create a Development Build before Packaging the app from UE
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
Open UE editor > File > Package Project > Build Configuration > Development/Debug. |
Step2. Enable ‘Print UE4 Log in Browser Console’ from the Control Panel
Info |
---|
Go to: Control Panel > Edit > Developer Options Option > Print UE4 Log in Browser Console > Save. |
Note |
---|
Make sure your ADBLOCK is disabled or elseitwill block the Logs from being generated to the browser. |
Step 3. Play your
...
App and Open 'Inspect elements'
Panel | ||||||
---|---|---|---|---|---|---|
| ||||||
Go to : Control Panel > Step 3: Generate URLs > Play App > Inspect element (CTRL+ shift+ i or F12) or Developer tools > Console > Enable 'Preserve Log'. |
Info |
---|
Enable ‘Preserve ‘Preserve Logs' to always get the Logs on your Console. |
Step 4. See the errors on the Logs upon Crash during runtime
1. Spot the error in the Console Log
Info |
---|
During a Crash, errors appear in the Logs on your Console and the red error message on the app during runtime : ‘'App crashed. So redirecting you in 3 sec to re-establish connection’'. |
Step5. Save the Log on your device
Right-click on the error from the Log to save it on your device.
...