Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Localization Tables window stuck on Application.tick

Discussion in 'Localization Tools' started by Czpal, Nov 27, 2023.

  1. Czpal

    Czpal

    Joined:
    Feb 2, 2019
    Posts:
    23
    Deleting an entry from the localization tables window causes unity to get stuck forever doing "Application.tick" (Waited for 7 minutes once just to check)


    I was able to reproduce the issue with the following steps on Unity 2021.3.25f1 and Localization package 1.3.2
    1. Create a new unity project.
    2. Create default localization settings
    3. Add attached script LocalizationTest.cs
    4. Press this(It generates some data based on the amount I have in my project right now)
    upload_2023-11-27_12-35-34.png
    5. Open Localization Tables
    6. Delete any entry
    7. Prepare to wait
    upload_2023-11-27_12-40-53.png
     

    Attached Files:

    Last edited: Nov 27, 2023
  2. karl_jones

    karl_jones

    Unity Technologies

    Joined:
    May 5, 2015
    Posts:
    8,149
  3. Czpal

    Czpal

    Joined:
    Feb 2, 2019
    Posts:
    23
    karl_jones likes this.
  4. Czpal

    Czpal

    Joined:
    Feb 2, 2019
    Posts:
    23
    Deleting worked fine for me from my custom editors, so I dug into the localization source code to see what it's doing different.
    upload_2023-11-28_1-48-0.png
    And found it it's mosty likely caused by recording this entire operation for undo. Not sure what could be done with this as I haven't used undo much, but this makes this window completely unusable for bigger games.
     
    karl_jones likes this.