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"

playing sound at begin play causes crash in packaged mobile projects.

I am using UE4.11.2. game crashes with playing sound at beginplay or a matinee which is played at beginplay and has sounds . that crash is for packaged games when running on mobile device.

Product Version: UE 4.11
Tags:
more ▼

asked May 16 '16 at 11:32 PM in Bug Reports

avatar image

saeedc
2.4k 73 43 108

avatar image saeedc May 16 '16 at 11:33 PM

I tested it on galaxy s5

avatar image saeedc May 17 '16 at 07:28 PM

(begin play of level)

avatar image saeedc May 17 '16 at 07:30 PM

I tested it in all templates both BP and c++ mobile projects have this problem

avatar image saeedc May 17 '16 at 07:32 PM

game won't run and crashes after splash screen

avatar image saeedc May 18 '16 at 12:28 PM

placing an ambient sound component where it is gonna be heard at begin play also causes the same crash.

avatar image saeedc May 18 '16 at 12:31 PM

packaged mobile games have problem with playing sound at begin play totally

avatar image saeedc May 18 '16 at 03:56 PM

I tested it some more times to be sure that this issue exists.

I am pretty sure that exists now. at least on galaxy s5 devices.

playing sound on begin play of the level BP and ambient sound component make this issue.

avatar image polytopey May 18 '16 at 11:33 PM

Having same issue here with these phones: LG Sunset, Samsung Galaxy Prime.

avatar image Samantha Sutton ♦♦ STAFF May 19 '16 at 07:41 PM

Saeedc,

In order to better assist you, I'm going to need for you to provide me the logs from your mobile 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

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

Make sure that you highlight all of the logs, because they do not save unless they're highlighted.

Thank you!

avatar image saeedc May 19 '16 at 09:31 PM

Hi samantha.

I have never used this monitoring program before.

which program should I launch after opening monitor.bat? :))

I launched the game on my mobile device but monitoring window is empty without logs. there is no log to be highlighted alt text

I am confused with this instruction

monitor.png (97.2 kB)
avatar image Samantha Sutton ♦♦ STAFF May 20 '16 at 09:08 PM

Click on the little phone icon. Make the section for LogCat larger. Go ahead and press the green plus-sign and add UE4 into it. Once you've done that, go ahead and run the application on your phone and the logs will start showing up. Make sure you highlight all of the logs by clicking and pressing shift while you click and holding it until you've gathered all of the logs. Make sure you save the log once everything is highlighted.

Hope that helps! :)

avatar image saeedc May 20 '16 at 10:18 PM

Dear Samantha

I did what you said but that was adding logs like crazy even when the program was not running on my device. anyway I tried to launch that game which crashes due to playing sound on begin play a few times and saved the logs.

I hope I did it right.

link text

ue4_logs.txt (402.6 kB)
avatar image Samantha Sutton ♦♦ STAFF May 23 '16 at 04:03 PM

Yes, logs are always added and they're quite fast. Just click on one randomly and then run the project and hold shift and click again and it should highlight down from your original selection. Unfortunately, I do not see any UE4 logs being captured in what you provided. Do you have additional logs you could give to me?

Did you add UE4 into the filter like suggested on Friday?

Thanks!

avatar image saeedc May 23 '16 at 08:10 PM

Hi Samantha

I did it right this time. I can see some information related to my project that I named it "SoundTest" in the logs.

link text

ue4_log2.txt (340.5 kB)
avatar image Samantha Sutton ♦♦ STAFF May 24 '16 at 09:11 PM

Hey!

Thanks for providing me with the logs. After looking over them, I see that you've ran into a Signal 11 crash.

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xb200436

Meaning behind the error: Command terminated by signal (11: SIGSEGV)" SIGSEGV Means that you just got a segmentation fault, which in turn means that you tried to access memory that you shouldn't have.

Basically, this means that the memory needed for your project is causing trouble with either the GPU/CPU or the drivers on your device.

  • What version of Android is each of your devices on?

  • Have you tried launching a blank project with Mobile HDR off? (Project Settings > Rendering)

  • What about with Mobile HDR on?

Performance Guidelines for Mobile Devices

avatar image saeedc May 24 '16 at 09:45 PM

Hi Samantha

I just tested it with mobile HDR on and it runs without crash and plays the sound on begin play.

my device is galaxy S5 android 5.0

@polytopey also said that was having this problem with LG Sunset, Samsung Galaxy Prime.

avatar image saeedc May 24 '16 at 09:58 PM

it does crash in a blank project with mobile HDR off

avatar image saeedc May 24 '16 at 10:01 PM

using "ambient sound" makes the same crash

avatar image saeedc May 26 '16 at 09:36 AM

will it be fixed in 4.12?

avatar image Samantha Sutton ♦♦ STAFF May 27 '16 at 05:17 PM

I need you to provide me the logs from the devices that it's working on and the device it is not working on. I need you to label each log with the type of device you're actually on so I know which phones are working and which ones aren't and it'll also eliminate the confusion of whether or not the S5 is also having an issue.

Thank you!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

3 answers: sort voted first

Saeedc,

I have put in a Jira for this issue. UE-31981 has been assigned to applications crashing when packaged in multi on Android with sound beginning on play. I will update this post once I have additional information.

Thanks!

more ▼

answered Jun 13 '16 at 09:12 PM

avatar image Samantha Sutton ♦♦ STAFF Jul 29 '16 at 09:42 PM

UE-31981 has been fixed, looks like it's scheduled for 4.13 right now.

Thanks!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Hey Saeedc,

We have not heard back from you in a few days, so we are marking this post as Resolved for tracking purposes. If you are still experiencing the issue you reported, please respond to this message with additional information and we will offer further assistance.

Thank you!

more ▼

answered May 31 '16 at 06:21 PM

avatar image saeedc May 31 '16 at 07:14 PM

Hi samantha

yes I am still experiencing this issue. you said I must test it on others devices but I have not had a chance to do this.

but now I tested this issue on Galaxy S3 GT-19300 and this also crashes after splash screen due to playing sound on begin play and using ambient sound component.

here is the logs link text

galaxy_s3_logs.txt (291.4 kB)
avatar image saeedc May 31 '16 at 07:28 PM

So until now (Galaxy S5, Galaxy S3, Galaxy prime and LG sunset) are reported with this issue

avatar image saeedc May 31 '16 at 10:38 PM

I need time to test it on more devices if it is necessary

avatar image saeedc Jun 04 '16 at 12:21 PM

hey samantha

I found someone else experiencing this issue with galaxy s2 android 2 link text

avatar image Samantha Sutton ♦♦ STAFF Jun 06 '16 at 07:09 PM

Saeedc,

I have tested this out on a Samsung Galaxy S5 and have reproduced the crash. We're looking into it now and I'll update you once I have more information.

Thanks!

avatar image saeedc Jun 10 '16 at 12:28 PM

Hi Samantha

has not this bug been fixed yet? I am still using 4.12.0

I am afraid that you have forgotten this post

avatar image Samantha Sutton ♦♦ STAFF Jun 10 '16 at 09:02 PM

Saeedc,

This post has not been forgotten about. We are investigating this issue further. We're looking into upgrading devices to see if it's simply a driver error.

I have tested this on a Galaxy S3 Mini, Galaxy Note 4 and a Galaxy S6 and have not ran into any issues on 4.12.2.

  • What is the highest version of the Android OS have you tested on?

  • Is this only occurring on Samsung Devices?

  • Is this still occurring for you in 4.12.2?

Thank you!

avatar image saeedc Jun 11 '16 at 08:19 AM

I tested it again on galaxy S5 and S3 GT on 4.12.2 and this issue still exists.

before 4.11 was released every thing had been fine with sounds in packaged mobile projects on S3 and S5.

if you test it on 4.10 on a galaxy S5 you will see that it is not S5's fault

avatar image saeedc Jun 11 '16 at 08:29 AM

it sounds not to be only for Samsung devices somebody else said in this post that was having this problem on LG Sunset

avatar image saeedc Jun 11 '16 at 09:00 AM

samanthaaaaa......

I found something

I packaged a project only for android ETC2 including ambient sounds it won't crash and plays ambient sounds on begin play.

but I don't know why. how is the relation between texture formats, HDRness, sound files and crashes.

avatar image saeedc Jun 11 '16 at 09:36 AM

Android ATC = won't crash but really bad material quality.

Android ASTC = won't crash

Android PVRTC won't . bad material quality

Android ETC1 Won't (#_#)

Android DXT won't .

Android ETC2 won't

Android Multi will. :)))))DDDDD)))).

WTH is going on. my device supports all texure formats but not Multi.

Finally: this bug is related to Android Multi packaged projects

avatar image saeedc Jun 12 '16 at 11:05 PM

Hi Samantha

some one else is having this problem on ATC link text

but in my case it happens only on multi packaged projects

his device is Nexus 5 that crashes with ETC1 , ATC till now

avatar image saeedc Jun 12 '16 at 11:37 PM

another S5link text

avatar image saeedc Jun 12 '16 at 11:43 PM

the number of people who have this problem on different devices is increasing

avatar image monotoan Jul 29 '16 at 08:22 PM

I am still encountering this bug in 4.12.3 w/ Samsung Galaxy s6 and s6 Edge. Android mobile Multi build consistently crashed on load; building ASTC only immediately fixed the problem.

avatar image saeedc Jul 29 '16 at 09:31 PM

yes. I have already mentioned that this bug is only for multi android projects. it works for me with every formats but not multi

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

I have this problem on a Moto G when package multiu:PRVTC, ETC2 If i package only for ETC2 it works

more ▼

answered Aug 01 '16 at 10:00 PM

avatar image

carf
51 2 5 8

avatar image saeedc Aug 01 '16 at 10:17 PM

it has been fixed scheduled for 4.13

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
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