I’ve reported this bug but not news so far…
I have a complex table component, which has many Cells instances.
I use variable to configure the table to my needs. Cells height, Starting column, trailing column, theme…
I have this bug which for some reason when swapping variant via variable it fails to render the instance. It loads all layers in the layer panel but won’t render the shapes on the canvas…
I have a video showing the issue with a file after a while and the second part in a new file.
The second video shows that this issue is only happening on older files. The instances load fine when the file is new…
Demo
EDIT: Just noticed that once the file is idle or closed and reopened the variant change via variables does not work anymore…
Bug playground:
Yeah, it is weird.
In your playground file, I unlinked the “Actions” variable on 1 cell and then pressed Cmd+z to undo the unlinking. After that it was working fine and as expected.
Nice that;s actually a nice hack, although it only works for the variant you are on…
If you change the layer variables again, none of the layers render again…
Hopefully the support ticket get spotted… I’m starting to think Figma won’t load more than 4 instances deep with variables… not sure…
1 Like
Hey @Edward_Battistini1 ,
Sorry to hear this is happening. The team replied to you, please check your inbox! (Your ticket number is: 991863)
In the meantime, here’s the workaround shared by our team that may help you by “regenerating all instances”:
This is a quick action that refetches all of the instances in a file and forces them to re-render.
Please try the following:
- Open the affected file
- Navigate to the search bar in the top left file menu drop down (‘Quick Actions’)
- Search for “Regenerate All Instances”
- Run this command
- Refresh the file
Hope this helps in the meantime! Please also continue the conversation via your ticket/email with the support team. They can investigate it further.
1 Like