Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

djdanlib

3
Posts
1
Topics
2
Following
A member registered Jan 10, 2019

Recent community posts

Well, I'm trying to learn by looking at the samples. I tried it out and the following workaround sorta works too if I have a sprite with overlapped text, although I'm not really sure what I'm doing yet.

I figured out something that fixes the samples' text rendering. If I increase the Material > Render Queue setting by one, so it's 3001, the text becomes visible. If it's at the default 3000, it is invisible. Another poster on the Unity forum thread mentioned that TDE changes the sorting layers, so that's why strikethrough went behind the text.

(1 edit)

Working on repro'ing the issue to see if it's an interaction with another package.

Updated to the new Unity 2021.1.16f1, started a new 2D project, imported the Super Text Mesh package.

StageScene - shows text correctly but stops on the "This extra text here" section with the continuation message showing in the status bar / log.

TypingInput - shows text correctly and you can see interaction working. I don't see any kind of input caret like you'd normally see in a text box? I assume there isn't supposed to be one for the sample.

UI & Pixel Snap - forgot to test this before continuing on

Underline and Strikethru - strikethru shows in front of the text correctly when it reads out

Then I installed the other packages one by one to see if one of them breaks it. The culprit is apparently MoreMountains TopDown Engine 2.1, which puts up a suspicious message about importing a project and changing settings, and after importing I get the behavior previously noted with invisible text.

I will edit the post title since it does not appear to be the fault of Unity 2021.1 at this point.

edit: I'm also posting to their support at the Unity forums.

(2 edits)

edit: I originally thought this was Unity 2021.1, but it turns out there's a bad interaction with TopDownEngine 2.1 changing the project settings.

I'm running Unity 2021.1.15f1. Some things with the samples are wonky and this may be particular to this version of Unity. I know you call Unity 2021 an experimental release in the docs. It's not LTS, but it's not a beta either, so here is a list of the glitches I found. Most/all are possibly due to changes and bugs in Unity but this could be a checklist when they backport that mesh fix. (Any day now...) No URP or HDRP in my project. Most of these issues can be worked around, but it's not the best onboarding experience.

Caret: Doesn't animate reading at startup, but starts fully 'read'. You have to live-edit the text to have it start over.

StageScene: Doesn't show any text at all, at least for me.

Typing Input: This sample is pretty well borked. I know this isn't super useful feedback, it's just... the whole thing is broken. I think the text isn't drawing maybe. The text input receives keypresses but doesn't show what you're doing but does have shadows, the submit button doesn't have text, and the speech bubble text is invisible at startup.

UI & Pixel Snap: At startup, the Unity UI (top) text flashes cyan then turns gray.

UI Rect Match: Starts fully 'read'. You have to live-edit text to start over.

Underline and Strikethrough: Doesn't have underlines or strikethrough until you change the Text at runtime. Strikethrough line is behind the text.

When opening any sample scene, the console gets the following two messages, which seem to be okay:
E: "Component GUI Layer in Main Camera for Scene Assets/Clavian/SuperTextMesh/Sample/Append/AppendTest.unity is no longer available. It will be removed after you edit this GameObject and save the Scene. "
W: "Component at index 2 could not be loaded when loading game object 'Main Camera'. Removing it!"