Skip to main content
Solved

Code Layer not working

  • May 6, 2026
  • 9 replies
  • 20 views

barnboy

Trying to fire up prompt in code layer and nothing’s working - anyone else getting this issue?

Best answer by barnboy

Ha! Ignore me, it’s all back :)

9 replies

barnboy
  • Author
  • New Participant
  • Answer
  • May 6, 2026

Ha! Ignore me, it’s all back :)


Celine_
Figmate
  • Community Support
  • May 6, 2026

Hey ​@barnboy , glad to hear it’s working now! 
If you run into it again, feel free to reach out again in the Figma Forum (with any errors message, if it impacts only in a specific file), happy to take a closer look!


I’ve gone ahead and marked as solved your topic here :) 


barnboy
  • Author
  • New Participant
  • May 6, 2026

:)


barnboy
  • Author
  • New Participant
  • May 6, 2026

Me again. Ok, have made a simple carousel in a code layer, uses the image picker to get imahges into the slides, but each time i add images they appear to be there in the chat window but then disappear in the actual page and don’t publish. Have spent about two hours trying to fix this in both the desktop app and browser and nothing seems to work - I’ve about 60 to build so if anyone’s got any tips to save me going (more) grey, would appreciate :(

Oh, and publishing seems to be hanging on the browser version which is also making testing/reviewing a nightmare.


barnboy
  • Author
  • New Participant
  • May 6, 2026

Really random behaviour across different instances of the same code layer being used across pages. Images in the Design sidebar are showing as present but then not being pushed at publishing, some images simply won’t load at all - one image will, the rest, which are all the same size and format, won’t show. Slightly doing my head in lol


Celine_
Figmate
  • Community Support
  • May 6, 2026

Thanks for sharing the details here! This looks odd, since this seems to start with prompts in the code layer, try these quick steps if you haven't yet:

  • Force quit and reopen the app
  • Duplicate the file and try from there
  • Clear your cache on the browser version

If you're still seeing images disappear or publishing hang after that, it'd be great if you could submit a bug report so our team can take a closer look.
Here's how: Go to the Support Hub, / Type “Report a bug” / Click Start a chat and select Enter

In the form, please include the URL of the file and grant "Can View" access with support-share@figma.com , and a short screen recording. This allows the team to reproduce the issue and take a closer look at your specific case, thanks!


barnboy
  • Author
  • New Participant
  • May 6, 2026

I’ll try the app re-opening in a bit (but I did that several times in both desktop and browser before posting up the problem and that didn’t help), but am now wrestling to fix another issue in another code layer that worked last week but now doesn’t for no reason at all :( very frustating day here lol


barnboy
  • Author
  • New Participant
  • May 6, 2026

Fixed the code layer issue yay but still getting the missing image problem, will open a ticket :)


Celine_
Figmate
  • Community Support
  • May 6, 2026

Yay, glad the code layer issue is sorted!

For the missing image problem, good call on opening a ticket. I’ve already added a note to your case so the team has context when they pick it up. You’ll hear from them via email. Hope this last bit gets sorted quickly 🙏