Skip to main content
Question

Cannot find previously created variables


Jordan.Vidrine

I am working on a component that I copy and pasted from another (now deleted) figma file. In the original file, I had a set of variables with two modes. One for light, one for dark. I am now working on this component in its new location, and I can see it is using variables set to it previously, but when I click on “local variables” to change or make additional variables, nothing is there.

In the first screenshot you can see “used variables” here for the layer. In the second screenshot, you can see that no local variables are listed for this page.

In the second screenshot, you can see that no local variables are listed for this page.

This topic has been closed for comments

6 replies

Roger_Guttormsen

I had a similar situation. I had three collections of variables, but for some reason they are now missing from “Local variables”. But all three collections are listed under variables in the layer menu on the right side. There is also colour variables listed on the right side.

I don’t know when this happened or how it happened, but I know I tried to delete one variable, which I did and it looked like that worked fine. But some time later I opened the “Local variables” and all variables was gone, gone, gone.


Jordan.Vidrine

Hmm well sorry this happened to you as well, but I’m glad I’m not alone lol.

I wonder if there is a solution?


Christos
  • 2 replies
  • July 11, 2023

This happened to me too.
Exactly with copy and paste from an old figma file, but now deleted.
But i need to get rid it it but i dont know how.
Its totally confusing and not “clean” if you make a work together or handout.

Bildschirm­foto 2023-07-11 um 12.25.51


Jonathan-Liausvia

After debugging for several hours, i’ve noticed that “used variables” is some kind of cached collection in the files.

One quick hack to remove the “used variables” is to remove all old variables properties that connected to component, and remove cache folder manually from local drive Figma.

Hopefully @Figma_Support fixed this problem.


Jordan.Vidrine

Oh wow, nice debugging. Was this for web, or the desktop app?


  • 0 replies
  • July 30, 2023

This topic was automatically closed after 30 days. New replies are no longer allowed.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings