the createdEntity property holds a prototype of the entity that gets created, not the actual entity that was created after releasing it.
We are adding a parameter builtEntityId to the entityWasBuilt signal, holding the entityId of the entity that was built. It will be available within our next daily build.
Then you can use it like this:
onEntityWasBuilt: console.log("created entityId: "+builtEntityId)