on.DeserializeException: Deserialization from source "<C:\Games\Cosmoteer\Data\rules.txt>" failed. ---> System.Reflection.TargetInvocationException: Obiekt docelowy wywołania zgłosił wyjątek. ---> Halfling.Serialization.DeserializeException: Deserialization from source "<C:\Games\Cosmoteer\Data\Ships\Terran\terran.txt>/Terran" failed. ---> System.Reflection.TargetInvocationException: Obiekt docelowy wywołania zgłosił wyjątek. ---> System.ArgumentOutOfRangeException: Określony argument jest spoza zakresu prawidłowych wartości.
Nazwa parametru: mipLevel
w Halfling.Graphics.Texture.GetMipLevelSize(Int32 mipLevel, IntVector2D level0Size) w C:\Users\Walt\Documents\Code\Cosmoteer\Halfling\HalflingCore\Graphics\Texture.cs:wiersz 457
w Halfling.Graphics.D3D11.D3D11Texture.AllocMipLevels() w C:\Users\Walt\Documents\Code\Cosmoteer\Halfling\HalflingPlatformWDX\Graphics\D3D11\D3D11Texture.cs:wiersz 477
w Halfling.Graphics.D3D11.D3D11Texture..ctor(D3D11GraphicsManager gfx, Fast2DArray`1 data, Int32 mipLevels, AbsolutePath filepath, IntColor colorKey, Boolean fixTransparentColors, Boolean preMultiplyByAlpha, PerformanceMode perfMode) w C:\Users\Walt\Documents\Code\Cosmoteer\Halfling\HalflingPlatformWDX\Graphics\D3D11\D3D11Texture.cs:wiersz 222
w Halfling.Graphics.D3D11.D3D11TextureFactory.CreateTexture(Fast2DArray`1 array, AbsolutePath filepath, TextureSampleMode sampleMode, TextureUVMode uvMode, Int32 mipLevels, IntColor colorKey, Boolean fixTransparentColors, Boolean preMultiplyByAlpha, PerformanceMode perfMode) w C:\Users\Walt\Documents\Code\Cosmoteer\Halfling\HalflingPlatformWDX\Graphics\D3D11\D3D11TextureFactory.cs:wiersz 77
w Halfling.Graphics.TextureFactory.Create(Fast2DArray`1 array, TextureSampleMode sampleMode, TextureUVMode uvMode, Int32 mipLevels, IntColor colorKey, Boolean fixTransparentColors, Boolean preMultiplyByAlpha, PerformanceMode perfMode) w C:\Users\Walt\Documents\Code\Cosmoteer\Halfling\HalflingCore\Graphics\TextureFactory.cs:wiersz 156
w Cosmoteer.Ships.Rendering.AtlasTools.CreateAtlasTextures(IEnumerable1 bitmaps, IntVector2D maxSize, Boolean powerOf2, Int32 padding, ICollection
1 resultRects, TextureSampleMode sampleMode, TextureUVMode uvMode, Int32 mipLevels, IntColor colorKey, Boolean fixTransparentColors, Boolean preMultiplyByAlpha, PerformanceMode perfMode) w C:\Users\Walt\Documents\Code\Cosmoteer\Source\Ships\Rendering\AtlasTools.cs:wiersz 247
w Cosmoteer.Ships.Rendering.AtlasTools.BuildAtlases(IEnumerable`1 inputAtlasSprites, AtlasTextureParams parameters) w C:\Users\Walt\Documents\Code\Cosmoteer\Source\Ships\Rendering\AtlasTools.cs:wiersz 140
w Cosmoteer.Ships.ShipRules..ctor(GenericSerialReader reader, ProgressTracker pt) w C:\Users\Walt\Documents\Code\Cosmoteer\Source\Ships\ShipRules.cs:wiersz 143
--- Koniec śladu stosu wyjątków wewnętrznych ---
w System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
w System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
w Halfling.Serialization.Base.BaseSerializer`10.GenericConstructorDeserializationMethod.TryDeserialize(TSerializer s, TSource source, Type type, ReadFlags flags, ProgressTracker progressTracker, Object& obj) w C:\Users\Walt\Documents\Code\Cosmoteer\Halfling\HalflingCore\Serialization\Base\BaseSerializer.cs:wiersz 2241
w Halfling.Serialization.Base.BaseSerializer`10.Read(TSource source, Type type, ReadFlags flags, ProgressTracker pt, Single weight, String sliceName, TIBaseDeserializer overrideSpecificDeserializer, IGenericDeserializer overrideGenericDeserializer, TIBaseContentDeserializer overrideSpecificContentDeserializer, IGenericContentDeserializer overrideGenericContentDeserializer) w C:\Users\Walt\Documents\Code\Cosmoteer\Halfling\HalflingCore\Serialization\Base\BaseSerializer.cs:wiersz 545
--- Koniec śladu stosu wyjątków wewnętrznych ---
w Halfling.Serialization.Base.BaseSerializer`10.Read(TSource source, Type type, ReadFlags flags, ProgressTracker pt, Single weight, String sliceName, TIBaseDeserializer overrideSpecificDeserializer, IGenericDeserializer overrideGenericDeserializer, TIBaseContentDeserializer overrideSpecificContentDeserializer, IGenericContentDeserializer overrideGenericContentDeserializer) w C:\Users\Walt\Documents\Code\Cosmoteer\Halfling\HalflingCore\Serialization\Base\BaseSerializer.cs:wiersz 607
w Halfling.Serialization.Base.BaseSerializer`10.Read(TSource source, Type type, ReadFlags flags, ProgressTracker progressTracker) w C:\Users\Walt\Documents\Code\Cosmoteer\Halfling\HalflingCore\Serialization\Base\BaseSerializer.cs:wiersz 173
w Halfling.Serialization.DefaultSerializers.ArraySerializer.FillArrayRanks(Array a, Type elementType, ObjectTextSerializer serializer, IOTNode curNode, List`1 curIndices, Int32 numRanks, ProgressTracker pt) w C:\Users\Walt\Documents\Code\Cosmoteer\Halfling\HalflingCore\Serialization\DefaultSerializers\ArraySerializer.cs:wiersz 332
w Halfling.Serialization.DefaultSerializers.ArraySerializer.FillArrayRanks(Array a, Type elementType, ObjectTextSerializer serializer, IOTNode curNode, List`1 curIndices, Int32 numRanks, ProgressTracker pt) w C:\Users\Walt\Documents\Code\Cosmoteer\Halfling\HalflingCore\Serialization\DefaultSerializers\ArraySerializer.cs:wiersz 352
w Halfling.Serialization.DefaultSerializers.ArraySerializer.Read(ObjectTextSerializer s, IOTNode node, Type type, ProgressTracker progressTracker) w C:\Users\Walt\Documents\Code\Cosmoteer\Halfling\HalflingCore\Serialization\DefaultSerializers\ArraySerializer.cs:wiersz 107
w Halfling.Serialization.Base.BaseSerializer`10.SpecificDeserializerDeserializationMethod.TryDeserialize(TSerializer s, TSource source, Type type, ReadFlags flags, ProgressTracker progressTracker, Object& obj) w C:\Users\Walt\Documents\Code\Cosmoteer\Halfling\HalflingCore\Serialization\Base\BaseSerializer.cs:wiersz 1972
w Halfling.Serialization.Base.BaseSerializer`10.Read(TSource source, Type type, ReadFlags flags, ProgressTracker pt, Single weight, String sliceName, TIBaseDeserializer overrideSpecificDeserializer, IGenericDeserializer overrideGenericDeserializer, TIBaseContentDeserializer overrideSpecificContentDeserializer, IGenericContentDeserializer overrideGenericContentDeserializer) w C:\Users\Walt\Documents\Code\Cosmoteer\Halfling\HalflingCore\Serialization\Base\BaseSerializer.cs:wiersz 545
w Halfling.Serialization.Base.BaseSerializer`10.ReflectiveRead(TSource source, Object target, DeserializationReflectionInfo dri, Boolean forceNoOption, ProgressTracker pt) w C:\Users\Walt\Documents\Code\Cosmoteer\Halfling\HalflingCore\Serialization\Base\BaseSerializer.cs:wiersz 681
w Halfling.Serialization.Base.BaseSerializer`10.GenericSerialReaderImpl.ReflectiveRead(Object target, Type type, Boolean forceNoOption, ProgressTracker progressTracker) w C:\Users\Walt\Documents\Code\Cosmoteer\Halfling\HalflingCore\Serialization\Base\BaseSerializer.cs:wiersz 2647
w Halfling.Serialization.Generic.GenericSerialReader.ReflectiveRead(Object target, Boolean forceNoOption, ProgressTracker progressTracker) w C:\Users\Walt\Documents\Code\Cosmoteer\Halfling\HalflingCore\Serialization\Generic\GenericSerialReader.cs:wiersz 134
w Cosmoteer.Rules..ctor(GenericSerialReader reader, ProgressTracker pt) w C:\Users\Walt\Documents\Code\Cosmoteer\Source\Rules.cs:wiersz 86
--- Koniec śladu stosu wyjątków wewnętrznych ---
w System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
w System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
w Halfling.Serialization.Base.BaseSerializer`10.GenericConstructorDeserializationMethod.TryDeserialize(TSerializer s, TSource source, Type type, ReadFlags flags, ProgressTracker progressTracker, Object& obj) w C:\Users\Walt\Documents\Code\Cosmoteer\Halfling\HalflingCore\Serialization\Base\BaseSerializer.cs:wiersz 2241
w Halfling.Serialization.Base.BaseSerializer`10.Read(TSource source, Type type, ReadFlags flags, ProgressTracker pt, Single weight, String sliceName, TIBaseDeserializer overrideSpecificDeserializer, IGenericDeserializer overrideGenericDeserializer, TIBaseContentDeserializer overrideSpecificContentDeserializer, IGenericContentDeserializer overrideGenericContentDeserializer) w C:\Users\Walt\Documents\Code\Cosmoteer\Halfling\HalflingCore\Serialization\Base\BaseSerializer.cs:wiersz 545
--- Koniec śladu stosu wyjątków wewnętrznych ---
w Halfling.Serialization.Base.BaseSerializer`10.Read(TSource source, Type type, ReadFlags flags, ProgressTracker pt, Single weight, String sliceName, TIBaseDeserializer overrideSpecificDeserializer, IGenericDeserializer overrideGenericDeserializer, TIBaseContentDeserializer overrideSpecificContentDeserializer, IGenericContentDeserializer overrideGenericContentDeserializer) w C:\Users\Walt\Documents\Code\Cosmoteer\Halfling\HalflingCore\Serialization\Base\BaseSerializer.cs:wiersz 607
w Halfling.Serialization.Base.BaseSerializer`10.Read(TSource source, Type type, ReadFlags flags, ProgressTracker progressTracker) w C:\Users\Walt\Documents\Code\Cosmoteer\Halfling\HalflingCore\Serialization\Base\BaseSerializer.cs:wiersz 173
w Halfling.Serialization.Base.BaseSerializer`10.Read[T](TSource source, ReadFlags flags, ProgressTracker progressTracker) w C:\Users\Walt\Documents\Code\Cosmoteer\Halfling\HalflingCore\Serialization\Base\BaseSerializer.cs:wiersz 185
w Cosmoteer.Assets.LoaderThread() w C:\Users\Walt\Documents\Code\Cosmoteer\Source\Assets.cs:wiersz 258
w System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
w System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
w System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
w System.Threading.ThreadHelper.ThreadStart()