Closed LaurentDuroisin7601 closed 1 day ago
This is literally impossible to understand. Please, don't use the single include file if you want to post a log. Anyway, what version of EnTT is it? Do you have a repro? It could be anything, like a moved-from registry or who knows what.
The problem was in my code now it works I close the issue.
I'm trying to use entt for a project but I got a crash at this place :
ParticleSystem::ParticleSystem(math::Vec3f position, math::Vec3f size, graphic::ecs::ComponentMapping& cmapping) : mParticles() , mAffectors() , mEmitters() , mNeedsVertexUpdate(true) , mQuads() , mNeedsQuadUpdate(true) , cmapping(cmapping) { entity = cmapping.getEntityFactory().createEntity("E_PARTICLES"); ... }
When I call the create function of the factoryEntityId createEntity(std::string groupName="") { EntityId id = m_Registery.create(); /*nbEntities++; if (groupName != "") { updateTypes(groupName); }*/ return id; }