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

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
drorco
Posts: 6
Joined: Thu Apr 28, 2022 12:52 pm

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

Post 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.
Attachments
Bark Windows
Bark Windows
bark-windows.png (14.67 KiB) Viewed 378 times
Bark Mac
Bark Mac
bark-mac.png (39.09 KiB) Viewed 378 times
User avatar
Tony Li
Posts: 21681
Joined: Thu Jul 18, 2013 1:27 pm

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

Post 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.
drorco
Posts: 6
Joined: Thu Apr 28, 2022 12:52 pm

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

Post by drorco »

Yes! This worked, thank you!!
User avatar
Tony Li
Posts: 21681
Joined: Thu Jul 18, 2013 1:27 pm

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

Post by Tony Li »

Glad to help!
Post Reply