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"

[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.

 MyWebViewController * myVC1;
 
 myVC1 = [[MyWebViewController alloc] init];
 
     dispatch_async(dispatch_get_main_queue(), ^{
 //use presentViewController
 ///....
     [myVC1.view addSubview:_webView];
 ///....
     });
 

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.

alt text

alt text


Add Test Codnition (Update Git Source Code.)

  1. Create UIViewController (MyInputViewController)

  2. Add subview UITextField to UIViewController.

  3. Run. show and hide Virtual keyboard

  4. crash will occured.

alt text

If using new UIViewcontroller with presentViewController:animated:completion: , I think that UE can't manage UIKit (like virtual keyboard memory management?.. uipickerview ..?).

Product Version: UE 4.11
Tags:
creashrepo00.png (153.9 kB)
crashrepo01.png (92.9 kB)
scr4.03.30.png (85.2 kB)
more ▼

asked Jun 23 '16 at 10:14 AM in Bug Reports

avatar image

sangpan On 에픽
42 6 14 18

avatar image Matthew J Jun 28 '16 at 07:38 PM

Hello sangpan,

Thank you for your report. I'm looking into this now and currently packaging to launch to a device to test. I'll get back to you as soon as I have results, just wanted to update you since it's been a few days since you entered this.

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

1 answer: sort voted first

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!

more ▼

answered Jun 28 '16 at 08:56 PM

avatar image sangpan On 에픽 Feb 22 '17 at 08:45 AM

This problem (virtual keyboard...) was resolved since 4.14. Is that right??

avatar image Matthew J Feb 22 '17 at 04:28 PM

According to the bug report, this issue has not be fixed as of yet. You can track the bug report at this link: UE-32603

(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