Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

[BUG] Strange mistake with text2DAutoFit component

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

  1. Pakor


    Feb 2, 2017
    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.


    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.

    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.