Can't use World in the GUI

If I execute the following code in the GUI of Isaac using the Script Editor:

from omni.isaac.core import World

world = World()

it correctly create the ground plane but when reset() is called it throws the following error:

Hi @federico.domeniconi. It’s better to ask Isaac Sim API questions in the Isaac Sim forum. I’ve gone ahead and moved this.