Mobile Development Troubleshooting Guide
This page is currently under construction, more errors and solutions will be added over time.
Contents
- 1 Additional Resources
-
2
Windows
-
2.1
Android
- 2.1.1 Build Failing
- 2.1.2 Not Deploying to the Device
- 2.1.3 How to fix Advertisements and Googleplay Leaderboards
- 2.1.4 Crashing Once Deployed on the Device
- 2.1.5 Game Freezing Once Deployed
- 2.1.6 Game crashing due to a Static Mesh
- 2.1.7 Screen is Black, but Analogs are Showing
- 2.1.8 Dynamic Shadows are not Rendering Properly
- 2.1.9 Failed to find Shader Map for default material WorldGridMaterial!
- 2.1.10 Unable to load level on Android project
- 2.1.11 Using FPaths::ConvertRelativePathToFull on Android
- 2.1.12 Materials not Showing Correctly
- 2.1.13 Android Missing .so File
- 2.1.14 AndroidWorks SDK Installation Error
- 2.1.15 Unimplemented OpenGL ES API
- 2.1.16 AutomationTool Unable to Run
- 2.1.17 Error Exporting to Android
- 2.1.18 Orientation Trouble
- 2.1.19 Launch Failure
- 2.1.20 Asus Transformer TF700T: Screen Garbled on Deploy
- 2.1.21 APKBlacklist is not working? (4.13)
- 2.1.22 How to correctly package a prebuilt shared library (.so)?
-
2.2
iOS
- 2.2.1 Build Failing
- 2.2.2 Not Deploying to the Device
- 2.2.3 Crashing Once Deployed to the Device
- 2.2.4 Screen is Black, but Analogs are Showing
- 2.2.5 Dynamic Shadows not Rendering Properly
- 2.2.6 Materials or Textures rendering Black or Splotchy
- 2.2.7 How do you disable packaging a second chunk for IPA?
-
2.1
Android
-
3
Mac
- 3.1 Android
-
3.2
iOS
- 3.2.1 Build Failing
- 3.2.2 Not Deploying to the Device
- 3.2.3 Screen is Black, but Analogs are Showing
- 3.2.4 Dynamic Shadows not Rendering Properly
- 3.2.5 Materials or Textures rendering Black or Splotchy
- 3.2.6 Setting up iOS Device Compatibility for the Apple Store
- 3.2.7 Setting up Flurry Analytics for iOS
- 4 Additional Information
Here is your one stop shop to find solutions to the most common mobile development and packaging . Take a look to see if the problems you are experiencing are listed and if so what steps you can take to fix the bug. If these fixes do not work, there will be a list of information needed when you make a post on the Answerhub detailing your specific error. |
|
Here are a few extra pages that may help determine if the error you are seeing is a bug in engine or a compatibility error with the specific device you are using. |
This page is currently under development and will be populated as we find more common mobile development bugs/crashes. Thank you for your understanding.
Windows
Android
Build Failing
4.11 or earlier:
- Make sure you have AndroidWorks installed instead of CodeWorks.
- Be sure that you are using Visual Studio 2013.
- Did you follow the SDK Documentation? (Found here )
- If not, Re-installation of SDK may be necessary.
- Did you download the correct for your device?
- Create a Bug Report on the Answerhub . (See ‘Creating a Bug Report’ below)
4.12 or higher:
- Make sure that you have CodeWorks installed instead of AndroidWorks.
- Be sure that Visual Studio 2015 is installed.
- Did you follow the SDK Documentation? (Found here )
- If not, Re-installation of SDK may be necessary.
- Did you download the correct for your device?
- Create a Bug Report on the Answerhub . (See ‘Creating a Bug Report’ below)
Build Failure Solutions:
- Failure due to both old and new .jar files included in build library
- Warning: Major Version 51 is newer than 50 .
- SDK/NDK version mismatch.
- Build failure due to NDK API Level of Android-23 .
- Error GameActivity.java:277: error: cannot find symbol .
- Build failure due to Android Keystore not being found.
- 'wchar.h' file not found.
Not Deploying to the Device
- Is your
- Is the phone on Developer Mode ?
- Do you have the correct installed? (Located in the Epic Games Device List graph)
- Search the Answerhub for similar issues.
- Create a Bug Report on the Answerhub . (See ‘Creating a Bug Report’ below)
How to fix Advertisements and Googleplay Leaderboards
-
Solution:
AnswerHub
- Search the Answerhub for similar issues.
- Review Unreal Match 3 Advertisement Documentation
- Review Google Developer Documentation
- Create a Bug Report on the Answerhub . (See ‘Creating a Bug Report’ below)
Crashing Once Deployed on the Device
- Search the Answerhub for similar issues.
- Obtain Monitor.bat logs from device.
- These logs will be vital when writing a Bug Report
- Create a Bug Report on the Answerhub . (See ‘Creating a Bug Report’ below)
Game Freezing Once Deployed
- Search the Answerhub for similar issues.
- Did you recently change the API level?
- If not, obtain Monitor.bat logs from device.
- These logs will be vital when writing a Bug Report
- Create a Bug Report on the Answerhub . (See ‘Creating a Bug Report’ below)
Game crashing due to a Static Mesh
- Search the Answerhub for similar issues.
- Does deleting your Intermediate, Saved and Config folders from your project resolve the issue?
- Are you able to launch onto your device?
- Does it only crash in the engine? If so, save your Output Logs as a .txt file.
- Does the application crash once it's on your device?
- If so, obtain Monitor.bat logs from device.
- Either of these logs will be vital when writing a Bug Report
- Create a Bug Report on the Answerhub . (See ‘Creating a Bug Report’ below)
Screen is Black, but Analogs are Showing
- Is your
- Have you built your lighting/lightmass?
- Make sure your Default/Startup Map is set correctly in ‘Project Settings’
- Create a Bug Report on the Answerhub . (See ‘Creating a Bug Report’ below)
Dynamic Shadows are not Rendering Properly
- Is the Directional Light in the project set to Movable?
- Create a Bug Report on the Answerhub . (See ‘Creating a Bug Report’ below)
Failed to find Shader Map for default material WorldGridMaterial!
- Did you change your r.MobileHDR option in DefaultDeviceProfile.ini?
- If so, does it differ from your settings in ProjectSettings? Make sure they both match one another.
- Create a Bug Report on the Answerhub . (See ‘Creating a Bug Report’ below)
Unable to load level on Android project
-
Solution:
AnswerHub
- Search the Answerhub for similar issues.
- Create a Bug Report on the Answerhub . (See ‘Creating a Bug Report’ below)
Using FPaths::ConvertRelativePathToFull on Android
-
Solution:
AnswerHub
- Create a Bug Report on the Answerhub . (See ‘Creating a Bug Report’ below)
Materials not Showing Correctly
- Materials for Mobile Platforms
- Search the Answerhub for similar issues.
- Create a Bug Report on the Answerhub . (See ‘Creating a Bug Report’ below)
Android Missing .so File
Android missing .so file to launch or package (ERROR: Can't make an APK without the compiled .so [C:\Program Files\Epic Games\4.6\Engine\Binaries\Android\UE4Game-x86-es2.so])
-
Solution: Open Project Setting and in Platforms/Android/Build uncheck "Support x86"
- Search the Answerhub for similar issues.
- Post your issue on the Answerhub
- Crash logs
- DxDiag
- Engine version
- The exact type of mobile device (Example: Samsung Galaxy S3)
- The exact version of the Operating System being used on the device
- Can it be reproduced in a clean project?
- If it can be reproduced, we will need a detailed list of steps to reproduce the issue on our end
-
We will need the following information:
AndroidWorks SDK Installation Error
-
Solution: Contact
NVIDIA®
for support.
Unimplemented OpenGL ES API
Galaxy S3 mini: called unimplemented OpenGL ES API
-
Solution: Galaxy S3 mini is not supported
- Search the Answerhub for similar issues.
- Post your issue on the Answerhub
- Crash logs
- DxDiag
- Engine version
- The exact type of mobile device (Example: Samsung Galaxy S3)
- The exact version of the Operating System being used on the device
- Can it be reproduced in a clean project?
- If it can be reproduced, we will need a detailed list of steps to reproduce the issue on our end
-
We will need the following information:
AutomationTool Unable to Run
Packaging (Android (All)): BUILD FAILED AutomationTool was unable to run successfully.
-
Solution:
Video: Setting up Android Development Environment | UE4
- Search the Answerhub for similar issues.
- Post your issue on the Answerhub
- Crash logs
- DxDiag
- Engine version
- The exact type of mobile device (Example: Samsung Galaxy S3)
- The exact version of the Operating System being used on the device
- Can it be reproduced in a clean project?
- If it can be reproduced, we will need a detailed list of steps to reproduce the issue on our end
-
We will need the following information:
Error Exporting to Android
Error Exporting to Android Platform (Software Development Kit (SDK) not found. Please install the SDK for the Android target platform)
-
Solution: Make sure NVPACK is properly installed
- Search the Answerhub for similar issues.
- Post your issue on the Answerhub
- Crash logs
- DxDiag
- Engine version
- The exact type of mobile device (Example: Samsung Galaxy S3)
- The exact version of the Operating System being used on the device
- Can it be reproduced in a clean project?
- If it can be reproduced, we will need a detailed list of steps to reproduce the issue on our end
-
We will need the following information:
Orientation Trouble
Incorrect Orientation for Download Background
-
Solution: Replace the image with a 1280x720 image. Copy the downloader_progress.xml in Engine/Build/Java/res/layout to your project's Build/Android/res/layout (make the directories as needed). Edit downloader_progress.xml and change the orientation="vertical" to "horizontal".
- Similar Answerhub issue.
- Post your issue on the Answerhub
- Crash logs
- DxDiag
- Engine version
- The exact type of mobile device (Example: Samsung Galaxy S3)
- The exact version of the Operating System being used on the device
- Can it be reproduced in a clean project?
- If it can be reproduced, we will need a detailed list of steps to reproduce the issue on our end
-
We will need the following information:
Launch Failure
Andriod Launch Failure (The system cannot find the path specified.)
-
Solution: Try to reinstall the Android SDK. If you have not previously done so, you can find documentation here on how to set it up:
Documentation: Getting Started on Android
- Search the Answerhub for similar issues.
- Post your issue on the Answerhub
- Crash logs
- DxDiag
- Engine version
- The exact type of mobile device (Example: Samsung Galaxy S3)
- The exact version of the Operating System being used on the device
- Can it be reproduced in a clean project?
- If it can be reproduced, we will need a detailed list of steps to reproduce the issue on our end
-
We will need the following information:
Asus Transformer TF700T: Screen Garbled on Deploy
Asus Transformer TF700T is recognized by the engine, but when pushing to deploy the screen on the tablet looks garbled.
-
Solution: Disabled Mobile HDR and Use Android DXT
- Search the Answerhub for similar issues.
- Post your issue on the Answerhub
- Crash logs
- DxDiag
- Engine version
- The exact type of mobile device (Example: Samsung Galaxy S3)
- The exact version of the Operating System being used on the device
- Can it be reproduced in a clean project?
- If it can be reproduced, we will need a detailed list of steps to reproduce the issue on our end
-
We will need the following information:
APKBlacklist is not working? (4.13)
-
Solution:
AnswerHub: ApkBlacklist-Shipping.txt not working
- Search the Answerhub for similar issues.
- Post your issue on the Answerhub
- Engine version
- Log or screenshot from Blacklist
-
We will need the following information:
-
Solution:
AnswerHub: Prebuilt Shared Library (.so)
iOS
**When building on a Windows machine, you are going to need to have iTunes available as well as a Mac available for Remote Building **
Build Failing
- Did you set up SSH Remote Building?
- Did you ‘Trust’ your PC on the iOS device?
- Did you ‘Trust’ the device on your PC via iTunes?
- Have you entered your Provisions and/or Certificate in the Project Settings>iOS section?
- Are the Provisions and/or Certificate sections highlighted red or green?
- Are you able to recreate this issue on a Blank Template Project?
- Create a Bug Report on the Answerhub . (See ‘Creating a Bug Report’ below)
Not Deploying to the Device
- Did you set up SSH Remote Building?
- Did you ‘Trust’ your PC on your iOS device?
- Did you Trust the device on your PC, via iTunes?
- Have you entered your Provisions and/or Certificate in the Project Settings>iOS section?
- Are the Provisions and/or Certificate sections highlighted red or green?
- Are you able to recreate this issue on a Blank Template Project?
- If it is still occurring:
- Create a Bug Report on the Answerhub . (See ‘Creating a Bug Report’ below)
Crashing Once Deployed to the Device
- Would you be able to replicate this issue on a blank template project?
- If so, could you provide steps to reproduce the issue?
- Would you be able to provide the logs from the device? (See below for how to acquire the logs needed)
- Create a Bug Report on the Answerhub . (See ‘Creating a Bug Report’ below)
Screen is Black, but Analogs are Showing
- Have you built your lighting/lightmass?
- Make sure your Default/Startup Map is set correctly in ‘Project Settings’
- Create a Bug Report on the Answerhub . (See ‘Creating a Bug Report’ below)
Dynamic Shadows not Rendering Properly
- Change Directional light from ‘Stationary’ to ‘Movable’
- Character has ‘Cast Dynamic Shadow’ checked
- Have you built lighting?
- Lighting for Mobile Platforms
- Create a Bug Report on the Answerhub . (See ‘Creating a Bug Report’ below)
Materials or Textures rendering Black or Splotchy
- What is the normal intensity of your material?
- Are the texture samples formatted correctly for mobile?
- Uncheck the ‘Allow Static Lighting for Normal Maps’ within the ‘Project Settings’
- Texture Guidelines for Mobile Platforms
- Create a Bug Report on the Answerhub . (See ‘Creating a Bug Report’ below)
How do you disable packaging a second chunk for IPA?
-
Solution:
AnswerHub: Disabling Second Chunk for IPA
- Search the Answerhub for similar issues.
- Post your issue on the Answerhub
- Engine version
- Can it be reproduced in a clean project?
- Step by step reproduction
-
We will need the following information:
Mac
Android
** Android is now available for developing on Mac as of 4.12.**
iOS
Build Failing
- Have you entered your Provisions and/or Certificate in the Project Settings>iOS section?
- Are the Provisions and/or Certificate sections highlighted red or green?
- Are you able to recreate this issue on a Blank Template Project?
- Obtain the iOS logs from device.
- Create a Bug Report on the Answerhub . (See ‘Creating a Bug Report’ below)
Not Deploying to the Device
- Have you entered your Provisions and/or Certificate in the Project Settings>iOS section?
- Are the Provisions and/or Certificate sections highlighted red or green?
- Are you able to recreate this issue on a Blank Template Project?
- Create a Bug Report on the Answerhub . (See ‘Creating a Bug Report’ below)
Screen is Black, but Analogs are Showing
- Have you built your lighting/lightmass?
- Make sure your Default/Startup Map is set correctly in ‘Project Settings’.
- Obtain the iOS logs from device.
- Create a Bug Report on the Answerhub . (See ‘Creating a Bug Report’ below)
Dynamic Shadows not Rendering Properly
- Change Directional light from ‘Stationary’ to ‘Movable’
- Character has ‘Cast Dynamic Shadow’ checked
- Have you built lighting?
- Create a Bug Report on the Answerhub . (See ‘Creating a Bug Report’ below)
Materials or Textures rendering Black or Splotchy
- What is the normal intensity of your material?
- Are the texture samples formatted correctly for mobile?
- Uncheck the ‘Allow Static Lighting for Normal Maps’ within the ‘Project Settings’
Setting up iOS Device Compatibility for the Apple Store
-
Solution:
Answerhub
- Documentation: Device Compatibility
- Create a Bug Report on the Answerhub . (See ‘Creating a Bug Report’ below)
Setting up Flurry Analytics for iOS
-
Solution:
Answerhub
- Documentation: In-Game Analytics
Additional Information
Creating a Bug Report
- Is the mobile device Android or iOS?
- What is the exact device they are using and what version is that device on?
- Would you be able to reproduce this issue on a Blank Template Project?
- What version of the Engine are you using and is that version a binary or source build?
- What engine version did you first see this error occurring?
- Would you be able to reproduce this issue on a blank template project?
- If there is a crash, would it be occurring when opening the application on the device of while packaging the project?
- Be sure to include any build failed logs or any logs that may help to understand what may be occurring.
- If the application is crashing on an Android device, include the Monitor Logs. (Need to add a link for how to obtain the monitor logs)
How to get logs off of an iOS device
Windows
- Open iPhonePackager (Engine/Binaries/DotNET/IOS)
- Select a uproject file (Optional)
- Select the Advance Tools tab
- Select Other Deployment Tools…
- Select Backup Documents…
- Select the IPA for the game you wish to get a log for
- The documents directory data will then be copied to Engine/Binaries/DotNET/IOS/IOS_Backups or GameDir/IOS_Backups if a uproject was selected
- The log can then be found at IOS_Backups/Game/Saved/Logs
Mac
- Connect device to a Mac
- Open XCode > Window > Devices
- Select your device
- Select 'View Device Logs'
- Select the process which matches your Game and Crash date/time
- Right-click on the process and select 'Export Log'
How to get logs off of an Android device
- Attach your phone to the computer
- Go here: C:\NVPACK\android-sdk-windows\tools
- Open up Monitor.bat
- Launch the program and save the logs by highlighting all of the logs you wish to save and pressing the save icon at the top right of the log window.
If you cannot get Monitor.bat to open, please go to:
- C:\NVPACK\android-sdk-windows\tools\lib\monitor-x86
- Open up Monitor.exe
- Follow the instructions above
How to Remove Obsolete Mobile Provision Profiles (iOS)
Windows
- C:\Users\<you>\AppData\Local\Apple Computer\MobileDevice\Provisioning Profiles
- Profiles will show up and can be deleted as necessary.
Mac
- ~/Library/MobileDevice/Provisioning Profiles
- Profiles will show up and can be deleted as necessary.