Page 1 of 1

iOS only: Standard Bark UI can't reference TMP component

Posted: Tue May 30, 2023 12:07 pm
by drorco
Hey there,

I've been using the "StandardBarkUI" component just fine on my Windows machine for Android builds with Unity 2021.3.21f.
Recently I got a Macbook and started working on an iOS build. I basically just used the same project through Unity's SCM, switched to iOS build and successfully built for iOS.

One odd problem though is that Barks stopped working. Digging into it, it seems that for some reason, unlike on Windows, I can't reference TMP components, and instead I'm limited to standard Unity Text components.

When running the game, the bark shows, but instead of showing the dynamic bark text, it's showing the default text placeholder.

Any idea how to fix this?

Thanks.

Re: iOS only: Standard Bark UI can't reference TMP component

Posted: Tue May 30, 2023 1:19 pm
by Tony Li
Hi,

Tick TMP_PRESENT again in the Dialogue System’s Welcome Window. When you first ticked this, your project probably didn’t have the iOS module so it couldn’t set the TMP_PRESENT scripting define symbol for iOS.

Re: iOS only: Standard Bark UI can't reference TMP component

Posted: Tue May 30, 2023 1:45 pm
by drorco
Yes! This worked, thank you!!

Re: iOS only: Standard Bark UI can't reference TMP component

Posted: Tue May 30, 2023 2:59 pm
by Tony Li
Glad to help!