I have a problem with the audio on Android. The game crashes right after the audio is played. However, the game does not crash if the audio keeps looping. The game does work on Mac properly. Even an empty project with audio crash, I have tried this on every version of Unreal Engine and it still crashes. [link text][1]
103169-log.txt (1.53 KB)
Hey Naveen9496,
Could you please provide me reproduction steps and screenshots to reproduce exactly what’s happening in your project?
I’m also 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!
Hello, I have attached the documents with this mail.
Thank you for the help.
Naveen9496,
08-17 22:36:34.071: W/InputDispatcher(5116): channel 'dc4c440 com.YourCompany.Astrojump/com.epicgames.ue4.GameActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x9
08-17 22:36:34.071: I/sensors(5116): activate
08-17 22:36:34.071: E/InputDispatcher(5116): channel 'dc4c440 com.YourCompany.Astrojump/com.epicgames.ue4.GameActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
08-17 22:36:34.081: I/hubconnection(5116): sensorhub said: 'batch 1 flags:0, sampling_rate_Hz:50.00, max_report_latency_us:0'
08-17 22:36:34.084: I/hubconnection(5116): sensorhub said: 'activate 2 enable:0'
08-17 22:36:34.087: I/WindowState(5116): WIN DEATH: Window{dc4c440 u0 com.YourCompany.Astrojump/com.epicgames.ue4.GameActivity}
This is the error since within your logs.
- Is this happening on any Android device that you test with, or only one device?
- Can you please provide me with the exact reproduction steps to get this crash?
Thanks!
This is blank project with nothing but just a sound in it. It still crashes, and I have the same error in other devices too
However, i also made an blank with a sound in it. This one does not crash however. Here are the logs[link text][1]
103480-working.txt (3.84 KB)
If you’ve created a new project with sound and it did not crash, I would need to test out the audio file that’s in your game causing the crash on your device. I also need to know exactly how you’re packaging for Android and what type of device you’re working on.
Thank you!
I rebuild the project, which was working and deployed it to my phone. The project is not working right now. It has the same issues. I am using android marshmallow 6.1. I have attached details of the sound, and the packaging.
https://forums.unrealengine.com/storage/temp/103602-package4.jpg
None of the attachments provided are working, you can always send a private message on the forums with the sound clip provided, if easier.
Thanks for the Android version but what type of phone is it?
Thanks!
Its a nexus 6p, might i ask how can i send a private message?
I made another project with nothing but the starter content and its sound, but the app still crashes
You can send a private message through the forums: [][1]
What type of sound file is it that you’re using? The sounds from our starter content?
Thanks!
Since the forums are currently in maintenance mode, I am not able to retrieve your project. I will check again before the end of the day to see if they’re back up or not.
Thank you for your patience!
Naveen9496,
I tracked down a Nexus 6P and added 2 audio files from the starter content into a template and launched it onto the device. The game did not crash when this occurred. It’s on Android 6.0.1, has your phone upgraded to 6.0.1 yet?
Thanks!
Hey , I upgraded my phone to 6.0.1 and its working perfectly. Thank you for your help