mob-sakai / UIEffect

UIEffect is an effect component for uGUI element in Unity. Let's decorate your UI with effects!
https://github.com/mob-sakai/UIEffect
MIT License
5.62k stars 773 forks source link

Bug when i build and run file APK #164

Closed helloo0-0oword closed 5 years ago

helloo0-0oword commented 5 years ago

Screen Shot 2019-04-16 at 14 20 22

My version unity: 2018.2.14f1 Personal (64 bit) and i use macbook

helloo0-0oword commented 5 years ago

Can you help me pls 👍

mob-sakai commented 5 years ago

Hi @helloo0-0oword Do you add an UIEffect component at runtime?

mob-sakai commented 5 years ago

I would like to know more information on this issue.

helloo0-0oword commented 5 years ago

I don't understand when I used the demo version to export the APK file, it still reported an error.

My UIEffect version:

Changelog

v3.1.0 (2019-03-10)

Full Changelog

Support TextMeshPro!

For details to use, see Usage with TextMeshPro

NOTE: Unity 5.x will not be supported in the near future

Implemented enhancements:

Screen Shot 2019-04-16 at 22 30 57

mob-sakai commented 5 years ago

Can you submit a reproducible project (*.zip) for this issue?

helloo0-0oword commented 5 years ago

You can see the error right on UIEffect_demo. See my pic

Screen Shot 2019-04-16 at 23 01 07

mob-sakai commented 5 years ago

hmm

  1. Did you install TextMeshPro?
  2. Did you Remapped GUID for TextMeshPro? https://forum.unity.com/threads/migrating-from-legacy-asset-store-to-package-manager-releases.511748/
mob-sakai commented 5 years ago

The TextMeshPro objects in demo scene is legacy (asset store) version. Therefore, remapping is necessary.

mob-sakai commented 5 years ago

In the near future, UIEffect will stop supporting legacy versions of TextMeshPro.

helloo0-0oword commented 5 years ago

i don't understand but it not work for me :( Screen Shot 2019-04-16 at 23 25 21

mob-sakai commented 5 years ago

OK, Let's forget about the demo scene. Please try the following:

  1. Add a TextMeshProUGUI object to the scene.
  2. Set the font and text as you like.
  3. Add a UIShiny component.
  4. If a warning appears in the inspector, click Fix button.
helloo0-0oword commented 5 years ago

is it right ? Screen Shot 2019-04-17 at 00 12 21

helloo0-0oword commented 5 years ago

I don't see warning appears in the inspector.

Screen Shot 2019-04-17 at 00 22 39 Screen Shot 2019-04-17 at 00 22 51

helloo0-0oword commented 5 years ago

yeah Thank you, I fixed the error

mob-sakai commented 5 years ago

Oh. Add a symbol TMP_PRESENT to scripting define symbols. See https://github.com/mob-sakai/UIEffect#usage-with-textmeshpro for details.