How to dynamically create entities during game execution in Entities 1.3.10 version?

Hello, the issue I am currently facing is whether dynamically loaded GameObjects can execute the Baker process in the latest Unity Dots Subsection (Entities 1.3.10) during game execution, instead of completing it in Subsection.

In the old version of Dots (Entities 0.51), the conversion process can be dynamically executed through code during game runtime to convert gameObject to Entity, such as ConvertToEntity, or:

var ecb = new EntityCommandBuffer(Allocator.TempJob);
TankConfig tankEntity = GetSingleton<TankConfig>();
var vehicles = new NativeArray<Entity>(tankEntity.TankCount, Allocator.Temp);

//GameObject PrefabObj=//Example: Loading through Resources or AB

GameObjectConversionSettings settings = GameObjectConversionSettings.FromWorld(World.DefaultGameObjectInjectionWorld, _blobStore);
Entity entityPrefab = GameObjectConversionUtility.ConvertGameObjectHierarchy(PrefabObj, settings);
ecb.Instantiate(entityPrefab, vehicles);

But in Entities 1.3.10, it seems that these interfaces no longer exist. Is there any way to achieve such a requirement?

Hi, all baking logic only works at editor time and does not execute in a build.
You’ll probably want to bake your game objects into prefab entities and load those with a subscene - or construct entities from scratch at runtime if applicable.
Doesn’t seem like prefab baking was available in 0.51, so here’s the current documentation on this: