Is there STILL no way to force reload all the cached data of a subscene? I can’t make any changes to my prefabs without the subscene just NOT applying the new component data when closed. It forces me to constantly recreate my subscenes which is a ton of work.
Then sometimes entities within a subscene display in scene view but not in game view.
Then sometimes entities within a subscene become REAAAAALLLLLLLLYYYYYYYY big and WAYYYY off position ONLY in playmode.
Are you only changing data, or you mean also when you change component layout?
Have you been using the ConverterVersion attribute to trigger re-conversion when you change your component data?
only changing prefab data, but reference it in a PrefabAssetRegistry like DOTS Sample did, btw, how to use ConverterVersion with IConvertGameObjectToEntity ?
ok, ConverterVersion attribute seems also can be attach to a IConvertGameObjectToEntity, the downside is that it need to recompile&reload whole project & also trigger a full conversion, it’s not ideal when tuning gameplay, sad
Sub scene flow is optimized around a specific use case. If yours varies you just have to adapt the core approach to something that fits better. If you need it now waiting for them to optimize sub scenes for more use cases you will probably be waiting a while.
For us everything is mostly dynamic, so we have an ECSPrefab abstraction using a ScriptableObject per prefab. where we wrap ConvertGameObjectHierarchy with create a world convert serialize world using binary serialization. So a world per prefab saved to it’s own file. Conversion is fast and on demand. Fits dynamic instantiation flows far better. We also have a notion of the prefab asset registry thing.
i guess DOTSSample which made by unity themself SHOULD be the “specific use case”, also Auto Conversion does happen sometimes, so i believe that’s a bug.