I tried the ECSSamples and all works fine there, but when I trying to use the same code to spawn entities in my game they are not rendered.
The same result, strangely, I got when I tried to copypaste ECSSamples into my project, official samples didn’t render a thing.
Maybe I missing something and there is some project setting or something…
So I do this three things to instantiate entity. No difference with “Spawner from MonoBehaviour” example:
prefab = GameObjectConversionUtility.ConvertGameObjectHierarchy(Prefab);
var entity = manager.Instantiate(prefab);
manager.SetComponentData(entity, new Translation {Value = position});
The problem is, actually, that in my project I got this:

and in sample project entities looks like this:
My prefab is a simple sphere object:


