Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

[BUG] Strange mistake with text2DAutoFit component

Discussion in 'Project Tiny' started by Pakor, May 13, 2019.

  1. Pakor

    Pakor

    Joined:
    Feb 2, 2017
    Posts:
    32
    When using the the Text2DAutoFit component, I noticed that setting the minimum size to anything in this formula (n*3) + 1 (e.g. 4, 7, 10, 13 etc.) The component does something completely different than when using any other value. This seems like a bug to me. Nothing serious that affects my game, but I thought I would ask around to see if other people experience it too.

    Text2DAutoFitBug.gif

    Steps to recreate:
    1. Get a text component in your scene/entityGroup.
    2. Add a Text2DAutoFit component to it.
    3. Set the sizes to anything in the formula above. See if they act different to all the other values.

    Using:
    Unity 2018.3.4f1
    Tiny version 0.14.1

    P.S. This happens in the editor. I have not tried if this happens in the dev or release build as well.