Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - brusnell

Pages: [1]
1
NGUI 3 Support / Re: UI Input Undo crashes on ios
« on: September 17, 2014, 11:40:30 AM »
Great, thanks.

2
NGUI 3 Support / Re: UI Input Undo crashes on ios
« on: September 16, 2014, 11:34:50 AM »
You'll have to forgive me here, as I'm new to both C# and Unity, but is this something I should take up with Unity in their forums?  If so, what can I add to this error message, to help them figure out what's going on?  I'm thinking that simply saying "I'm using UI Input in NGUI" is too vague.  Is there anything more specific I can add here, or, is this the best I can show them?  Thanks again.

3
NGUI 3 Support / Re: UI Input Undo crashes on ios
« on: September 15, 2014, 07:13:06 PM »
Sorry for taking so long to reply.  Yes, I have an error message:

2014-09-15 17:06:43.880 <appnamehere>[1202:60b] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** -[NSBigMutableString substringWithRange:]: Range {20, 1} out of bounds; string length 20'
*** First throw call stack:
(0x2f4e6fd3 0x3a0b0ccf 0x2f4e6f15 0x2fe13721 0x31eb747d 0x323201a9 0x2ff083eb 0x2ff0727b 0x31f7ce0f 0x31f19b29 0x31f19a69 0x31e2105f 0x31ed3377 0x31d826f5 0x31cfb55b 0x2f4b22a5 0x2f4afc49 0x2f4aff8b 0x2f41af0f 0x2f41acf3 0x34340663 0x31d6616d 0xea96c 0xea848)
libc++abi.dylib: terminating with uncaught exception of type NSException

Where <appnamehere> is a placeholder for the actual app name.
Also, we limit the length of UI Input string to be 20 characters.

Hope this helps.
Thanks again.

4
NGUI 3 Support / Re: UI Input Undo crashes on ios
« on: September 11, 2014, 08:22:42 PM »
Hi,

Thanks for the reply.  Can you elaborate?  What do you mean by "allows to input (maximum-1)"?  Are you saying that I should implement my own version of UI Input?  I'm not entirely fond of this idea, but in order to create a custom, working version, I need to know what the source of the crash is.  Once I've narrowed that down, I can figure out how to proceed.  Any ideas on what is causing the crash?

Thanks.

5
NGUI 3 Support / Re: UI Input Undo crashes on ios
« on: September 11, 2014, 06:10:40 PM »
I'm seeing something very similar.  I currently use a UI Input component that allows a maximum of 20 characters.  When I enter text that contains < 20 characters, the undo operation performs as expected.  When I selected undo at the maximum character count, the app crashes, and immediately exits back to the OS.  Is this still a Unity issue, or, does it have to do with the code that handles the maximum character count?

@UndeadMatt Any update on your issue?  Were you able to fix it?  How so?

Thanks.

Pages: [1]