I'm trying to implement readable books into my game. Much like Morrowind and Skyrim. I have a system that sort of works, but it appears as though there is a bug that is duplicating some page data, and trimming other page data. I've tried to google search for a solution, but can't seem to find one. I'm thinking this is an issue with how the pages are turned, perhaps I am missing something along the path to accomplishing this. Here'sHere are two pictures showing off the problem:
<size=125%>TheThe Legend of the Quick Brown Fox
There once was a quick brown fox, who nimbly jumped over a lazy dog.
The lazy dog was not amused, and <color="red">triedtried to catch the fox. However, being that the dog was far too fat and lazy to move, the fox managed to escape the clutches of the dog.
But then, given time, the dog decided to make a change. It started eating healthy, started working out. Waiting for the day when the quick brown fox would return.
And on a cold day, that's exactly what happened. The quick brown fox came from beyond the forest, and locked eyes on the dog who was seemingly fast asleep.
Without hesitation, the quick brown fox took off across the field and lept over the dog, only to be immediately snatched out of the air and ripped to shreds by the dog.
And everyone lived happily ever after. The end.
As you can see from the images, there is some duplicated text on pagepages 2 and 3, and then some text is missing completely.
Here is a picture of the game object setup:
Here is a picture of the TextMeshPro Text object:
And finally, Here'sHere are the objects and data being assigned to the script.
Can anyone spot why some of the text is duplicated, and why some of it is missing? I have a feeling it's related to the way the page turning-turning works, but I can't seem to fix it.