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.

I tested it on galaxy s5

(begin play of level)

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

game won’t run and crashes after splash screen

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

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

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.

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

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:\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:\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!

Hi .

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

I am confused with this instruction

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! :slight_smile:

Dear

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.

[][1]

91358-ue4_logs.txt (393 KB)

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!

Hi

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

[][1]

91650-ue4_log2.txt (332 KB)

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][1]

Performance Guidelines for Mobile Devices in Unreal Engine | Unreal Engine 5.1 Documentation

Hi

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

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

it does crash in a blank project with mobile HDR off

using “ambient sound” makes the same crash

will it be fixed in ?