Exporting To SVG Format
Illustrator 30.2.1 has a consistent SVG exporting bug. I created some images containing gradients. When I export to SVG the first time, AI will create a correct SVG file. However, subsequent exports, AI will leave out all gradients. If I close the file and reopen it, the cycle repeats.
-
Ken Reeser
commented
Hi Egor,
This bug reporting system is very strange and one gets the impression Adobe hasn't put much time into it or you need to fire your service provider. I was looking for a reply button below your response, but couldn't find one. So, I'm hoping this reply makes it to you.
I used Export and Save As and got the same results. AI will create a perfect SVG the first attempt, but will remove the gradient upon the second and subsequent attempts. If I close the file and reopen it, AI will, again create a perfect SVG the first time only. I believe the issue relates to a Freeform (line-based) gradient. The reason I state this is because I have an AI file that I broke up into separate background and foreground files so I could make an object animate upwards between these 2 files as layers on a website I'm creating. The AI file and corresponding SVG within the attached ZIP archive is the foreground layer containing the Freeform gradient. The background file contains a radial gradient and AI can generate a correct SVG every time.
I've attached a ZIP archive containing a screenshot of my Export SVG settings. My Save As settings are the same.
-
Ken, not sure I can reproduce this, even with the file...
Please tell more about the settings you use when you produce an SVG: do you use Save As or Export As method, or perhaps Save for Screens? These all differ a bit. What options exactly do you set? When you say 'subsequent' — do you mean you keep working with the original file, or do you import a previously created SVG back and try to make changes? Kindly assist with the exact steps one can follow to catch the bug.