Caused by missing null check in a7ae024ea3 Pull Request: https://projects.blender.org/blender/blender/pulls/115753
a7ae024ea3