Skip to main content
July 11, 2023
Solved

🚨 Variables: Deleted collections and modes don't disappear

  • July 11, 2023
  • 63 replies
  • 8765 views

When Variables was released I created some collections for testing. Since then I settled on a final version but the old deleted collections still appear in the page/layer selection on the right panel. The same is happening to deleted modes.

This topic has been closed for replies.
Best answer by djv

Hey All, sorry for the continued frustration!

As already mentioned above, our team needs your specific files where this is occurring to allow them to repro and work on the fix.

If you have’t already, you can submit a bug report to our support team directly via the form here: https://help.figma.com/hc/en-us/requests/new?ticket_form_id=360001744374

Be sure to use your Figma account email, include a link to the file(s) where this is occurring, and share edit access with support-share@figma.com.

63 replies

djv
Figmate
Community Support
May 30, 2024

Hey All, if Jake’s suggestion above doesn’t work, please ping him directly as mentioned above.

As a PM for variables, he’ll be your best best to continue troubleshooting.

June 3, 2024

I did this and still haven’t heard back 😕

iru
New Member
June 6, 2024

Hi there!

I sent an email two days ago and haven’t received a response yet. Just wanted to check in on it.

Thanks!

sedatcakir
Active Member
June 13, 2024

Figma surprises me a lot. No effort is being made to solve this problem. 😢

June 13, 2024

I am also waiting for messages on this topic to solve the problem.

djv
Figmate
Community Support
June 13, 2024

Hey All, so sorry for the delayed reply!

Jake is likely busy with Config 2024 being less than two weeks away. I can confirm that this is now a long-standing bug that our team is aware of. They have eyes on this thread and will continue to log in order to consistently reproduce the issue and fix.

While we can’t guarantee when that will happen, if you’re able to share your files with us to add to our current bug report, please do so here: https://help.figma.com/hc/en-us/requests/new

XavierV
Active Member
June 21, 2024

Same issue for me… hours on my files to try to detect where I left a wrong reference. I unpublished, republished, changed collections names.
Then I tryed all workaround possible but this is not working. Hopefully you will find a way to correct this issue. And also give us more tools to monitor variables and references.

PaulB007
June 21, 2024

I had the same issue. After a lot of searching I managed to track it down to an instance of a component where the original local component did not exist. The “Detach deleted variables” did not find find this. It would be nice to have a quick way to find and detach deleted components as well as variables.

Rashid_Al-Owaisheer
June 27, 2024

Facing this issue too, wouldn’t mind sharing my files for debug. Have a complex design system setup and it’s nearly impossible to track down all the loose variables.

sedatcakir
Active Member
July 4, 2024

Hi guys! 👋

I have happy news for you. 🥰 Friends, I found how to solve the problem.

First, we use the “Select Layers” plug-in and the “Detach Variables” plug-in to delete the variables that do not exist in our file. With this plug-in, we use the “detach variable” plug-in by automatically selecting the instance layers, components and frames. (When using this plug-in, you must apply it to all pages in the file.)

Then, we follow the same path and this time we do “detach deleted variables” with Figma spotlight. (again by selecting layers on all pages)

and bingo!

All variable relationships in your file will be removed. Then, using the “Apply variables” plugin, we match the detached components in our file with our new variable collection.

I think I am quite an expert on the subject and I can help those who cannot do it in their processes.