I’d like to store an array of entities (or their ids) created with the BuildEntityButton (bebutton). My understanding is that
bebutton.createdEntity.entityId
should give me a unique id since the bebutton.createdEntity is supposed to contain the newly created entity. In fact, the log output shows unique ids in the line
EntityManager: entity created with entityId: obstacle_12
However, the code above always returns the same id. What’s the reason for this?
Cheers, Martin