After more testing, the problem seems to be related to the world being an Object instance