iOS cardboard vr app crashing after stepping out of media player trigger box.
I've finally gotten my college Cardboard VR tour app to work on my iPhone 6s, but now I have a new problem. When I walk into the trigger box to play my media player video (a video about the college degree associated with the building in my level), a number of different problems occur at different times (under slightly different circumstances).
Problem 1: When I walk into the trigger box, the app crashes. I attribute this to not letting all of the shaders load before going up to it (but on the phone, I can't tell when all the shaders have finished loading).
Problem 2: If the shaders are mostly or all loaded, when I step into the trigger box, sometimes either the video or the audio will play, but not both. I think one time they both played together, but I'm not sure.
Problem 3: This one is constant. If I step outside of the trigger box, the app crashes every time. It now does that in PIE too, which wasn't happening before I switched the videos that play in the media material and audio.
I did read somewhere on here that there is an issue with media player that is supposed to be fixed in UE 4.16, but I'm not completely sure this is the issue.
If anyone has any suggestions on how to fix these issues, I will appreciate any help. I'm very close to the end of the semester, and I present this first to students as part of my Internship course. That presentation takes place next Thursday, May 11th, so please provide answers and/or advice before that date.
asked May 03 '17 at 06:30 PM in VR
Long-overdue edit: I managed to get the app working properly before my Internship presentation last year. Let me update what I remember doing to get it working.
Problem 1 solution: This problem seemed to go away on its own after I reinstalled my app to my iPhone. I think it was because I changed a setting or as a result of me re-doing the media player setup.
Problem 2 solution: The reason the audio would be playing without video was strange, but makes a little sense. Apparently, the video was playing, but I had turned off the Emissive attribute in the video material blueprint (because the light seemed too bright at one point), which led to the video material not being visible in the app AND in PIE. Once I turned the Emissive attribute back on, everything was right as rain.
Problem 3 solution: The crashes that were happening after stepping out of the trigger box no longer happen (except on very rare occasions).
The students I presented the app to were very impressed, and I got an A in the Internship course. I even got to present the app to the Mid-Plains Community College president. He was impressed, but due to budget constraints, I could not continue to develop the MPCC VR tour app, because they could not hire me to work on it.
This was still a great learning experience! I love Unreal Engine, and I want to develop something in it to use as a portfolio piece when I apply to Microsoft through their Autism Hiring Program (I'm a High Functioning Autistic).
Thank you to Epic Games for giving people like me a chance to develop games without costing an arm and a leg!
Follow this question
Once you sign in you will be able to subscribe for any updates here