Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Asset tables don't update if project changed or table has not been loaded in a while #299

Open
TheMartianLife opened this issue Dec 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@TheMartianLife
Copy link

What is the current behavior?

The localisation table containing the default language lines for a yarn script is not automatically updated when lines in the script are changed. This occurs in at least two situations:

  1. When the project has changed. For example, moving a script which currently belongs to Yarn Project A into a directory which would have it register with Yarn Project B. Yarn Project A is told about the change, but Yarn Project B is not.
  2. When the table has not been touched in a while. This one a bit more vague, but if you have been working on other parts of a Unity project and then make changes to a Yarn script, then come back into Unity, the localisation table will not have changed. If you make another change to the same script and then return to Unity, it will have now applied both changes.

Please provide the steps to reproduce, and if possible a minimal demo of the problem:

  1. Move a script from the directory which corresponds to one Yarn Project, to a project which corresponds to another. Observe that the loc tables for the destination project have not changed.
  2. Apply changes to a Yarn file in a project which has been open for some time but in which no changes to Yarn have been made. Observe that the loc tables have not updated in response to the script changed.

What is the expected behavior?

In each case, that the localisation tables should get regenerated with up-to-date contents.

Please tell us about your environment:

  • Yarn Spinner Version: 2.4.2
  • Unity Version: 2022.3.38f1
@TheMartianLife TheMartianLife added the bug Something isn't working label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant