public void Systems_OnlySystemsFromListAndGameObjectConversionSystemAreAdded() { using (var world = new World("test world")) { var settings = new GameObjectConversionSettings { DestinationWorld = world, SceneGUID = new Hash128(1, 2, 3, 4), DebugConversionName = "test name", ConversionFlags = GameObjectConversionUtility.ConversionFlags.AddEntityGUID, #if UNITY_EDITOR BuildConfiguration = BuildConfiguration.CreateInstance(), #endif Systems = new List <Type> { typeof(TestConversionSystem) }, NamespaceID = 123, ConversionWorldCreated = _ => {}, ConversionWorldPreDispose = _ => {}, }; using (var conversionWorld = settings.CreateConversionWorld()) { foreach (var system in conversionWorld.Systems) { if (system is ComponentSystemGroup || system == null) { continue; } Assert.That(system is TestConversionSystem || system is GameObjectConversionMappingSystem, $"System is of unexpected type {system.GetType()}"); } } } }