Thanks! I initially did the same as you wrote here and it didn't work.
Then I realized that I was using an outdated version of Blender. After updating it to the latest one, it finally works flawlessly!