x


iOS Keyboard makes performance suffer

Hello,

we've currently experiencing severe performance drops when the iOS-Keyboard is triggered via a GUI.TextField. FPS drops to about 16 FPS. The frame rate is nice, when the Keyboard is never triggered during the lifetime of our application. The performance stays crappy event though the keyboard is "closed".

I've uncommented almost everything but had no luck narrowing down the cause.

Does anybody have an idea what i can try or did anybody have similar problems?

We're on Unity 3.3.0f4 but the problem also occurred with earlier versions. We where able to reproduce this behaviour on iOS 3.2.2 and iOS 4.2.

best regards Benjamin

more ▼

asked Mar 11 '11 at 04:41 PM

Benjamin Schulz gravatar image

Benjamin Schulz
2 2 2 4

Edit: The matter appeas to be worse on iOS 4.2 than on iOS 3.2 - on 4.2 the framerate drops to about 4 FPS.

Mar 16 '11 at 04:24 PM Benjamin Schulz

Edit: my problem appears to be simmilar to this one: http://forum.unity3d.com/threads/77747-UIAlert-or-Keyboard-causing-drop-to-5FPS

Mar 22 '11 at 03:24 PM Benjamin Schulz

I am having similar problems in project with only a textfield and a couple of buttons.

Benjamin have you had any success resolving this?

Cheers, Daniel.

May 11 '11 at 03:17 AM Daniel 23
(comments are locked)
10|3000 characters needed characters left

3 answers: sort voted first

Edit: The matter appeas to be worse on iOS 4.2 than on iOS 3.2 - on 4.2 the framerate drops to about 4 FPS.

more ▼

answered Mar 16 '11 at 03:18 PM

Benjamin Schulz gravatar image

Benjamin Schulz
2 2 2 4

(comments are locked)
10|3000 characters needed characters left

Hey guys,

I am also having same issue. FPS is dropping as soon any notifications from iOS like not able to connect if network connection is off and even on triggering iOS-Key board. If any one of you found a solution please guide me to fix.

Thanks

more ▼

answered Aug 10 '11 at 03:30 PM

arun gravatar image

arun
1

(comments are locked)
10|3000 characters needed characters left

Hello,

I was not able to reproduce this issue. Could you please report a bug with your project for testing and send me a bug report number to andrius@unity3d.com.

Thank You, Andrius Kuznecovas QA Engineer

more ▼

answered May 16 '11 at 01:56 PM

Andrius Kuznecovas gravatar image

Andrius Kuznecovas
57 2

The issue was related to calling Screen.SetResolution once per frame accidentally. I would not have thought, that that might cause such convoluted problems - in fact i thought this would not cause anything at all on iOS. I also had another problem: setting screen.orientation did work on ipad but not on the iphone. This was also a side-effect of calling Screen.SetResolution.

Sincerely -- Benjamin

May 17 '11 at 09:38 AM Benjamin Schulz
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1967
x664
x195
x177
x151

asked: Mar 11 '11 at 04:41 PM

Seen: 1536 times

Last Updated: Aug 10 '11 at 03:30 PM