Access to core comment preprocess variables in a custom comment layout twig template?
Probably the twig changed, layout modules usually bring their own templates. You have to check which templates are used. To find this out use twig debug:

https://www.drupal.org/node/1903374

After you found the right twig you have to use the corresponding preprocess hook, which you find in the comments of the twig template.