public object Fill(ITester tester, object instance, System.Type type) { ME.ECS.World world = null; ME.ECS.WorldUtilities.CreateWorld <TestState>(ref world, 0.033f); { world.SetState <TestState>(ME.ECS.WorldUtilities.CreateState <TestState>()); ME.ECS.WorldUtilities.InitComponentTypeId <BufferArrayStructRegistryBase.TestComponent>(false); ME.ECS.ComponentsInitializerWorld.Setup((e) => { e.ValidateData <BufferArrayStructRegistryBase.TestComponent>(); }); } world.SaveResetState <TestState>(); return(world); }