We have seen this issue specific to macOS 10.15. Enabling “Screen Recording” access right to Illustrator resolved this issue.
You can change this setting by going to Apple > System Preferences > Security & Privacy > Screen Recording and add Illustrator Application.
Please try this and reply in comment if the above suggestion worked for you.
An error occurred while saving the commentJulia Rand commented
This worked, thank you Rama!Julia Rand shared this idea ·