[Crash] Using Native iOS UIViewController+UIWebView
this Example Project GitHub src : https://github.com/sangpan/UENativeiOSCrashReport
replay crash video : https://youtu.be/btWuCZTgITM?t=1m12s
using Engine 4.11, 4.12 ...
testdevice : iphone 5s 9.3.2
Just Simple Code. Create UIViewController. and Add UIWebView to that UIViewController.
then run with some website like www.google.com.. input something with iOS virtual Keyboard, click link, click link, drag webpage etc ..
And suddenly crash occured from engine source ( [AutoreleasePool release]; ).
I don't use any memory free, drain, dealloc code.
Can't find exactly crash condition. (Engine's Memory management Issue??)
I try to use [[IOSAppDelegate GetDelegate] ToggleSuspend:true]; for avoiding this crash problem.
But it cause some side effect. (sometime Suspend absorb Home Button event).
I want to native iOS UIViewController+UIWebView.
Add Test Codnition (Update Git Source Code.)
If using new UIViewcontroller with presentViewController:animated:completion: , I think that UE can't manage UIKit (like virtual keyboard memory management?.. uipickerview ..?).
I've reproduced the issue that you mentioned and entered a bug report for the issue under the number UE-32603. Unfortunately I can't think of any kind of work around for the issue at the moment but I'll be sure to update you when any changes are made to the bug or if we need further information.
Thank you again for the report and have a nice day!
answered Jun 28 '16 at 08:56 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here