Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Whitespace error in UITextSplineController
#3
Hi again

Here is the fix: go to Curvy\Controllers\UITextSplineController.cs, then to the following method:

public void ModifyMesh(VertexHelper vertexHelper)

find the for loop in it, and replace it with the following:

Code:
int readingIndex = 0;
for (int letterIndex = 0; letterIndex < Text.text.Length; letterIndex++)
{
  if (Text.text[letterIndex] == ' ')
    continue;

  glyph.LoadTris(verts, readingIndex * 6);
  readingIndex++;
  UpdateGlyph(glyph);
  glyph.Save(vertexHelper);
}

Please let me know if this didn't fix the issue.

If and when you feel like it, please leave a review for the asset, that helps a lot.
Have a nice day
Available for freelance work, feel free to reach out: toolbuddy.net
Please consider leaving a review for Curvy, this helps immensely. Thank you.
Reply


Messages In This Thread
RE: Whitespace error in UITextSplineController - by _Aka_ - 07-08-2021, 10:01 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  playmaker integration error DNeville 5 3,288 05-23-2024, 07:01 AM
Last Post: _Aka_
  Error when trying to connect nodes in prefab edit mode Lupos 4 2,417 06-02-2023, 10:27 AM
Last Post: _Aka_
  Error when switching splines ricke 3 1,946 10-10-2022, 08:46 AM
Last Post: _Aka_
  Error when recreating splines / connections jh092 3 1,970 07-25-2022, 09:58 AM
Last Post: _Aka_

Forum Jump: