You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What browsers are you seeing the problem on? πββοΈ
No response
Editor Version π²
2022.x
Needle Exporter version
3.10.2
Project Info (Unity only) π
No response
Steps to reproduce π’
1. Creating a Script with two strings which switches out text in text components, eg:
private textfield: Text | null = null;
public setText(language: string) {
if (!this.textfield) {
this.textfield = GameObject.getComponent(this.gameObject, Text);
}
if (this.textfield) {
if (language === "de")
this.textfield.text = this.textDE;elseif (language === "en")
this.textfield.text = this.textEN;elseif (language === "nl")
this.textfield.text = this.textNL;
}
}
2. Filling the Strings in the Editor with text with and without rich text tags
3. Switching between them in the build
Describe the bug π¬
I noticed that I sometimes get empty text boxes, When I'm switching out text on a text component which has tags in it with another one which hasn't.
Operating System π©βπ»
Windows
What browsers are you seeing the problem on? πββοΈ
No response
Editor Version π²
2022.x
Needle Exporter version
3.10.2
Project Info (Unity only) π
No response
Steps to reproduce π’
Reproduction β»
No response
Discord or Discussion link
No response
Validations π©Ή
The text was updated successfully, but these errors were encountered: