I do not like to update the version of the large number of bugs that make Unity. But I need to do and build UWP no choice. After upgrading from 5.1 to 5.3 I have received a lot of mistakes Unity.
ArgumentOutOfRangeException: Index and count must refer to a location withing string.
Parameter name: count
at System.String.Remove(Int32 startIndex, Int32 count)
at UnityEngine.UI.InputField.Backspace()
at UnityEngine.UI.InputField.KeyPressed(Event evt)
at UnityEngine.UI.InputField.OnUpdateSelected(BaseEventData eventData)
at UnityEngine.EventSystems.ExecuteEvents.Execute(IUpdateSelectedHandler handler, BaseEventData eventData)
at UnityEngine.EventSystems.ExecuteEvents.Execute[T](GameObject target, BaseEventData eventData, EventFunction`1 functor )
ArgumentException: Mesh can not have more than 65000 vertices
at UnityEngine.UI.VertexHelper.FillMesh(Mesh mesh)
at UnityEngine.UI.Graphic.DoMeshGeneration()
at UnityEngine.UI.Graphic.UpdateGeometry()
at UnityEngine.UI.Graphic.Rebuild(CanvasUpdate update)
at UnityEngine.UI.CanvasUpdateRegistry.PerformUpdate()
Do you have a lot of UI components or are you using a tiled sprite? The vert count can shoot up quickly with tiled sprites, you can use a custom material and the tiled parameter to do this without a vert increase.
My project is too large to upload, all errors are written off with the Developer Console on my device. Error 2) also appears in the editor 5.3, but not in the previous versions Unity
Yes, I’m quite intensively use UI, but it was not a problem in Unity 5.0-5.2 on this project
It’s a big project, I wouldn’t feel comfortable sending the whole thing. I’m finding it difficult to localize, it doesn’t happen in the editor, only in the player (OS X Standalone).
It looks like in 5.3 the placeholder text on an empty input field disappears if you click on the field. The placeholder game object is active, but the text component of the InputField.placholder is being disabled.
Is there a work-around for this?
This worked fine in 5.2, so I had to roll back to 5.2 until this is fixed.
Yea thats the way the input field has alwasy worked so unless you’re seeing something different then what you’ve described i’d expect it to be the same in 5.2
It’s not when you are typing in the field. It’s when you select the field. For example, if you select on an empty field or backspace on a field until it is empty.
I should note, I’m seeing this behavior on iOS. Not sure if it’s on all platforms now that I rolled back to 5.2
It’s been two months already and still no news.
I had to review and redo my inventory UI due to this bug. And still haven’t found workarounds. The only option is to remove size fitter and calculate size in the script, and that (in case of collections and multiple screen size support) is a pain you know where…
Both these bugs have already been fixed. I have put backport requests in for both and they should be in an upcoming patch. They probably wont be in the same patch as the content size fitter bug is still being reviewed whereas the placeholder fix is already in 5.4.
The issue is fixed but its still on the way to a release. It got held up during code review as its batched in with lots of UI fixes. As soon as it lands it will go straight to a patch release.