x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Android Crash on Launch except from editor

Hey,

Since upgrading to UE4.16, I can't run the game on my android device unless I launch it on the mobile directly from the editor.

The game launches fine if done straight from the editor, and the game also packages ok without any errors.

However, if I try and launch it after closing the game from playing from the editor, or I try and push a build across from a full package, the game crashes on launch.

There are no errors or warnings on the log from the phone or the editor, it's just a crash. I've updated android works and done everything else to make sure the game is up to date.

I've attached a log of the issue.

Thanks

link text

Product Version: UE 4.16
Tags:
qblog.txt (46.2 kB)
more ▼

asked May 30 '17 at 07:05 AM in Packaging & Deployment

avatar image

Piranhi
56 5 9

avatar image Piranhi May 30 '17 at 06:29 PM

Updated log with just the crash. link text

qblog2.txt (46.5 kB)
avatar image Piranhi May 31 '17 at 06:57 PM

Adding unfiltered log.

Removing the UE4 filter, I found this but I don't understand it enough:

                                                                              --------- beginning of crash

05-31 19:53:16.497 3741-3741/com.CoffeeCupGames.QuantumBuilder E/AndroidRuntime: FATAL EXCEPTION: main Process: com.CoffeeCupGames.QuantumBuilder, PID: 3741 java.lang.RuntimeException: Canvas: trying to draw too large(132710400bytes) bitmap. at android.view.DisplayListCanvas.throwIfCannotDraw(DisplayListCanvas.java:260)

link text

unfiltered.txt (127.8 kB)
(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hello Piranhi,

This could be related to a bug report that I put in yesterday: UE-45526. If so, please try enabling the Gear VR plugin if it is disabled. This is set to be fixed in 4.16.1 but this should be a suitable workaround in the meantime.

Edit: If enabling the plugin doesn't help immediately, I would suggest deleting your Saved and Intermediates folders prior to attempting to package again (If you're in a code project, you'll also need to Generate Project Files after doing so to regenerate these folders, otherwise it'll be done when packaging)

more ▼

answered May 31 '17 at 07:40 PM

avatar image

Matthew J ♦♦ STAFF
31.8k 526 90 417

avatar image Piranhi May 31 '17 at 08:41 PM

Hey Matthew,

I've tried enabling the plugin, deleting both folders and doing both a push to mobile and full re-cook and deploy, and both times I have the same issue. It runs fine if launching on the mobile from the editor, but any other way just causes it to crash.

I've attached another log in case anything changed this time.

Cheers, Chris

link text

unfiltered2.txt (170.2 kB)
avatar image Chris Babcock STAFF May 31 '17 at 11:42 PM

About all I can see is maybe the splash screen or download background png is too high a resolution?

Canvas: trying to draw too large(132710400bytes) bitmap.

avatar image Piranhi Jun 01 '17 at 05:12 PM

Hey Chris,

This did indeed fix the issue, thank you!

(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question