Ok, found the error....
c.cube = New cube
can't have a type and an entity with the same name... stupid me (or stupid compiler not warning for it?) :P
c.cube = New cube
can't have a type and an entity with the same name... stupid me (or stupid compiler not warning for it?) :P