Is this a bug or something I need to do to get subscenes to render?
Create new 3D project in 2019.3.0f3.
Add cube gameobject to scene (right click, 3D → Cube)
Click play. See cube. Stop play.
Import Entities preview package in package manager (shows version 0.4.0, Dec 17, 2019).
Right click on Cube in Hierarchy, click “New Subscene from Selection”.
Click Play. See no cube.
Ask on forum why I see no cube.
I do notice in the entity debugger that in the systems hierarchy, there is no render mesh thing under PreLateUpdate which I did see when running the rotating cube subscene example (which does work on 2019.3.0f3)
Is there something special I need to do to enable rendering for subscenes?
I was wondering if there was a more “pure” way of doing rendering in DOTS now, but looking at the examples in the ECSSamples project, it appears they all depend on HybridRenderer except for ManagedComponents (which maybe that will become the more DOTS way in the future?).
Something not labeled “hybrid”? Sorry, just new to DOTS and trying to find the standard way of doing things moving forward. With so many changes having happened over the past 1-2 years, it’s a little tricky to find the latest source of truth, but I’m gradually figuring it out.
@mentics iirc: The “pure” way is pretty much dead. As far as I have read they tried it and it was too much work to also change all the editing/authoring tools. The new Subscene Conversion Workflow is the de facto standard going forward: GameObjects in the editor, entities during playmode.
Latest Tiny DOTS runtime already has own pure renderer. Old DOTS editor not dead, they paused it and focused on engine features covering, they will return to DOTS editor some day, but not now, this is what Unity answered on Tiny forum some months ago.
I was under the impression the Hybrid renderer is going to be fully support and is in no way temp. The name gives the impression that it is temp but I believe I’ve read somewhere that this is not the case. Just want to make sure this is still the case
Is the hybrid way to go the way forward or no? Why is there such a large barrier to using DOTS and the Editor? For example… If I add entities, and I create a subscene… I do expect the subscene to look like it does when autoload is enabled when I push play, however, pushing play the cube is not visible. I need a new package that should’ve been included when I added entities to show the cube.
hi.
i am using sample tiny 0.22 2D game project.
In that i created some canvases and images and buttons.then i created a subscene with all the canvases .now when i run the game ,none of it is rendering.
do you have any idea why it is happening?
blobAssetStore = new BlobAssetStore();
GameObjectConversionSettings settings = GameObjectConversionSettings.FromWorld(defaultWorld, blobAssetStore);
Entity entity = GameObjectConversionUtility.ConvertGameObjectHierarchy(gameObjectPrefab, settings);
entityManager.SetComponentData(entity, new Translation { Value = position });
I have tried using the ConvertToEntity script. I have also created a subscene, all three methods are not rendering. I can see the entities in the Entity Debugger all the entities have a Translation, and the relevant render components, everything looks good. These are the ECS packages I have installed: