Author Topic: [SOLVED]UIInput on iOS : keyboard appearance causing severe performance drop  (Read 2698 times)

Gregzo

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 64
    • View Profile
Hi!

I'm not sure if it's Unity or NGUI, but when the default iOS keyboard appears (UIInput click), there's a severe performance drop, causing audio to stutter (only 2 sources playing).

Any clues?

Cheers,

Gregzo
« Last Edit: August 15, 2012, 04:04:33 AM by Gregzo »

Gregzo

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 64
    • View Profile
Re: UIInput on iOS : keyboard appearance causing severe performance drop
« Reply #1 on: August 10, 2012, 09:57:55 AM »
After more testing, Unity 's the culprit (or iOS 5...). Even on a simple scene, one audio source playing a 1s looped wav, the appearance of the keyboard makes audio stutter badly.

A bit fed up with Unity's audio quirks...

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UIInput on iOS : keyboard appearance causing severe performance drop
« Reply #2 on: August 10, 2012, 04:01:01 PM »
If you think that's bad, wait until you dig into shaders... oh man.

Gregzo

  • Jr. Member
  • **
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 64
    • View Profile
Solved : audio stuttering only happens when running the app through XCode.

Advice to myself : always double check potential bugs by running the app directly on device.