Hi, I’ve been trying to tackle this issue for a few days now. The problem I’m having is the caret position on my TextMeshPro InputField is completely off (different from where I’m actually clicking), vertically and horizontally. The position of the caret goes to the same incorrect spot each time I click the same character. I might be butchering the explanation so I’ve attached a video of the problem.
The Canvas is in world space on a desk in my scene, and the InputField is supposed to represent a piece of paper. I have the input field set to multi-line newline. I have tried replacing the default
InputField>Text Area RectMask2D component with a normal UI/Mask component, but that doesn’t affect anything. Using different fonts and font sizes doesn’t change the behavior.
I was able to reproduce the issue in a brand new scene. The only “solution” I’ve been able to manage so far is changing the Canvas to “Screen Space - Camera” instead of World Space, which fixes the caret placement issue, however, I’m trying to make the input field look like a piece of paper on a desk so I need the canvas to exist in 3D space. I feel like the issue could be related to how the camera is rotated in relation to the Canvas, but I have no idea where to even start debugging this. I’ve been scraping the forums all day and haven’t found a solution, or even anyone with a similar problem.
Unity 2020.2.6f1
TextMeshPro 3.0.1
Thanks