I am having a problem with Unity ECS. My system does not find my entity with its query. This is my setup : I am currently testing with just one entity, that is created by a prefab, using this function :
Entity CreateEntity => GameObjectConversionUtility.ConvertGameObjectHierarchy(_parameters.carPrefab, _conversionSettings);
with
_assetStore = new BlobAssetStore();
_conversionSettings = GameObjectConversionSettings.FromWorld(World.DefaultGameObjectInjectionWorld, _assetStore);
My entity gets created properly (as i guess based on the entity window) :

My system uses this query :
Entities.ForEach((DynamicBuffer<EdgeBufferElement> pathBuffer, ref Translation position,
ref Rotation rotation, ref CarComponentData car) => {
//logic
}).Schedule(inputDeps);
But my system logic does not get executed. This is propably because the system shows that it can not find the entity :

I also tried to change the query to just reference the Translation but that lead to the same result. Do you have any idea what is going wrong here ?
Thanks for the help in advance !
This is because entities with
Prefabtags are ignored in queries by default (you can easily override this ofc).This promotes "prefab entity" pattern as calling
EntityManager.Instantiate( prefab_entity )is A LOT faster thanEntityManager.Instantiate( prefab_gameObject )