The short version is - I want to ship DLC via assetbundles, and some of this DLC needs to contain an entity subscene. My export/import process works fine, except for this subscene requirement. When I import my assetbundle and load the scene (main scene), all the gameobjects load, and I can see there should be a subscene, but the SceneAsset property of the subscene has become unlinked from the actual subscene itself.
The exporter just uses BuildPipeline.BuildAssetBundles, which automatically finds all dependencies refereneced in the scene (including assets), but doesn't seem to work for subscenes in some way :/
Code in replies...