Author Topic: bug uiinput 3.5.7  (Read 5537 times)

alexeyshevchenko

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 12
    • View Profile
bug uiinput 3.5.7
« on: June 10, 2014, 01:10:11 PM »
Hi

I use one of last version of NGUI  3.5.7 and trying to implement chat.

When i use Input component and trying to type some words i see that text is crapped with a lot of artefacts.

I don't know if this is a bug of NGUI 3.5.7 version or this is a new bug that present in any new version NGUI ?

Maybe somebody had the same problem and found workaround ?
Or i need to update my project to last NGUI version? (it really pain in the ass) :-[

spooky

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 4
  • Posts: 16
    • View Profile
Re: bug uiinput 3.5.7
« Reply #1 on: June 10, 2014, 01:23:17 PM »
I haven't used UIInput yet, but the first screenshot looks like you're missing the font, or the font's material is wrong. That's what happens when the quads for the letters get rendered without the material. I've seen this happen with the Unity Text Mesh component when the material is changed at runtime from the special dynamic 'Font Material'. Hopefully that helps?

alexeyshevchenko

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 12
    • View Profile
Re: bug uiinput 3.5.7
« Reply #2 on: June 10, 2014, 03:19:02 PM »
I haven't used UIInput yet, but the first screenshot looks like you're missing the font, or the font's material is wrong. That's what happens when the quads for the letters get rendered without the material. I've seen this happen with the Unity Text Mesh component when the material is changed at runtime from the special dynamic 'Font Material'. Hopefully that helps?

Unfortunately i didn't miss the font and the font material is not wrong.

As i wrote before - text crapped out only when i starting to type and it is a small part of the problem, actually it seems like NGUI crashing i mean when input cursor is appear some sprites that didn't active is appear on the screen or text material changing e.t.c.

I think it maybe couse of iutexture or its depth, but i'm not sure

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: bug uiinput 3.5.7
« Reply #3 on: June 11, 2014, 04:56:32 AM »
Looks to me like your font is in a scroll view, and your shaders aren't working. This can be due to targeting GLES 1.1 / ARMv6, choosing Fastest quality setting, or not having the shaders in the Resources folder where they should be. Check the FAQ.

alexeyshevchenko

  • Newbie
  • *
  • Thank You
  • -Given: 1
  • -Receive: 0
  • Posts: 12
    • View Profile
Re: bug uiinput 3.5.7
« Reply #4 on: June 11, 2014, 06:00:08 AM »
Looks to me like your font is in a scroll view, and your shaders aren't working. This can be due to targeting GLES 1.1 / ARMv6, choosing Fastest quality setting, or not having the shaders in the Resources folder where they should be. Check the FAQ.

Yeah, it was cause of shaders.
ArenMook thx a lot, your post was useful for me.