- IP属地
- 内蒙古包头市
- 2024/01/09
- 1
- 0
- · 发布于内蒙古包头市
terraria老闪退,问题如下:
System.InvalidOperationException: A previous Draw call threw an unhandled exception. See InnerException for details. ---> System.OutOfMemoryException: 没有足够的内存继续执行程序。
在 Microsoft.Xna.Framework.Helpers.GetExceptionFromResult(UInt32 result)
在 Microsoft.Xna.Framework.Graphics.GraphicsHelpers.GetExceptionFromResult(UInt32 result)
在 Microsoft.Xna.Framework.Graphics.Texture2D.CreateTexture(GraphicsDevice graphicsDevice, Int32 width, Int32 height, Boolean mipMap, UInt32 usage, _D3DPOOL pool, SurfaceFormat format)
在 Microsoft.Xna.Framework.Graphics.Texture2D..ctor(GraphicsDevice graphicsDevice, Int32 width, Int32 height, Boolean mipMap, SurfaceFormat format)
在 Microsoft.Xna.Framework.Content.Texture2DReader.Read(ContentReader input, Texture2D existingInstance)
在 Microsoft.Xna.Framework.Content.ContentReader.InvokeReader[T](ContentTypeReader reader, Object existingInstance)
在 Microsoft.Xna.Framework.Content.ContentReader.ReadObjectInternal[T](Object existingInstance)
在 Microsoft.Xna.Framework.Content.ContentReader.ReadObject[T]()
在 Microsoft.Xna.Framework.Content.ContentReader.ReadAsset[T]()
在 Microsoft.Xna.Framework.Content.ContentManager.ReadAsset[T](String assetName, Action`1 recordDisposableObject)
在 ReLogic.Content.Readers.XnbReader.InternalContentManager.Load[T]()
在 ReLogic.Content.Readers.XnbReader.FromStream[T](Stream stream)
在 ReLogic.Content.AssetReaderCollection.Read[T](Stream stream, String extension)
在 ReLogic.Content.AssetLoader.TryLoad[T](String assetName, IContentSource source, T& resultAsset)
在 ReLogic.Content.AssetRepository.TryLoadingAsset[T](Asset`1 asset, AssetRequestMode mode)
在 ReLogic.Content.AssetRepository.LoadAsset[T](Asset`1 asset, AssetRequestMode mode)
在 ReLogic.Content.AssetRepository.ForceReloadAsset[T](IAsset asset, AssetRequestMode mode)
在 ReLogic.Content.AssetRepository.ForceReloadAsset(IAsset asset, AssetRequestMode mode)
在 ReLogic.Content.AssetRepository.ReloadAssetsIfSourceChanged(AssetRequestMode mode)
在 ReLogic.Content.AssetRepository.SetSources(IEnumerable`1 sources, AssetRequestMode mode)
在 Terraria.GameContent.AssetSourceController.UseResourcePacks(ResourcePackList resourcePacks)
在 Terraria.GameContent.AssetSourceController..ctor(IAssetRepository assetRepository, IEnumerable`1 staticSources)
在 Terraria.Main.LoadContent()
在 Microsoft.Xna.Framework.Game.DeviceCreated(Object sender, EventArgs e)
在 Microsoft.Xna.Framework.GraphicsDeviceManager.OnDeviceCreated(Object sender, EventArgs args)
在 Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice(GraphicsDeviceInformation newInfo)
在 Microsoft.Xna.Framework.GraphicsDeviceManager.ChangeDevice(Boolean forceCreate)
在 Microsoft.Xna.Framework.GraphicsDeviceManager.EnsureDevicePlatform()
在 Microsoft.Xna.Framework.GraphicsDeviceManager.Microsoft.Xna.Framework.IGraphicsDeviceManager.BeginDraw()
在 Microsoft.Xna.Framework.Game.BeginDraw()
在 Microsoft.Xna.Framework.Game.DrawFrame()
在 Microsoft.Xna.Framework.Game.Paint(Object sender, EventArgs e)
在 Microsoft.Xna.Framework.GameWindow.OnPaint()
在 Microsoft.Xna.Framework.WindowsGameWindow.mainForm_Paint(Object sender, PaintEventArgs e)
--- 内部异常堆栈跟踪的结尾 ---
在 Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
在 Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
在 System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
在 System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
在 System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
在 System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
在 System.Windows.Forms.Application.Run(Form mainForm)
在 Microsoft.Xna.Framework.WindowsGameHost.Run()
在 Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
在 Terraria.Program.RunGame()
System.InvalidOperationException: A previous Draw call threw an unhandled exception. See InnerException for details. ---> System.OutOfMemoryException: 没有足够的内存继续执行程序。
在 Microsoft.Xna.Framework.Helpers.GetExceptionFromResult(UInt32 result)
在 Microsoft.Xna.Framework.Graphics.GraphicsHelpers.GetExceptionFromResult(UInt32 result)
在 Microsoft.Xna.Framework.Graphics.Texture2D.CreateTexture(GraphicsDevice graphicsDevice, Int32 width, Int32 height, Boolean mipMap, UInt32 usage, _D3DPOOL pool, SurfaceFormat format)
在 Microsoft.Xna.Framework.Graphics.Texture2D..ctor(GraphicsDevice graphicsDevice, Int32 width, Int32 height, Boolean mipMap, SurfaceFormat format)
在 Microsoft.Xna.Framework.Content.Texture2DReader.Read(ContentReader input, Texture2D existingInstance)
在 Microsoft.Xna.Framework.Content.ContentReader.InvokeReader[T](ContentTypeReader reader, Object existingInstance)
在 Microsoft.Xna.Framework.Content.ContentReader.ReadObjectInternal[T](Object existingInstance)
在 Microsoft.Xna.Framework.Content.ContentReader.ReadObject[T]()
在 Microsoft.Xna.Framework.Content.ContentReader.ReadAsset[T]()
在 Microsoft.Xna.Framework.Content.ContentManager.ReadAsset[T](String assetName, Action`1 recordDisposableObject)
在 ReLogic.Content.Readers.XnbReader.InternalContentManager.Load[T]()
在 ReLogic.Content.Readers.XnbReader.FromStream[T](Stream stream)
在 ReLogic.Content.AssetReaderCollection.Read[T](Stream stream, String extension)
在 ReLogic.Content.AssetLoader.TryLoad[T](String assetName, IContentSource source, T& resultAsset)
在 ReLogic.Content.AssetRepository.TryLoadingAsset[T](Asset`1 asset, AssetRequestMode mode)
在 ReLogic.Content.AssetRepository.LoadAsset[T](Asset`1 asset, AssetRequestMode mode)
在 ReLogic.Content.AssetRepository.ForceReloadAsset[T](IAsset asset, AssetRequestMode mode)
在 ReLogic.Content.AssetRepository.ForceReloadAsset(IAsset asset, AssetRequestMode mode)
在 ReLogic.Content.AssetRepository.ReloadAssetsIfSourceChanged(AssetRequestMode mode)
在 ReLogic.Content.AssetRepository.SetSources(IEnumerable`1 sources, AssetRequestMode mode)
在 Terraria.GameContent.AssetSourceController.UseResourcePacks(ResourcePackList resourcePacks)
在 Terraria.GameContent.AssetSourceController..ctor(IAssetRepository assetRepository, IEnumerable`1 staticSources)
在 Terraria.Main.LoadContent()
在 Microsoft.Xna.Framework.Game.DeviceCreated(Object sender, EventArgs e)
在 Microsoft.Xna.Framework.GraphicsDeviceManager.OnDeviceCreated(Object sender, EventArgs args)
在 Microsoft.Xna.Framework.GraphicsDeviceManager.CreateDevice(GraphicsDeviceInformation newInfo)
在 Microsoft.Xna.Framework.GraphicsDeviceManager.ChangeDevice(Boolean forceCreate)
在 Microsoft.Xna.Framework.GraphicsDeviceManager.EnsureDevicePlatform()
在 Microsoft.Xna.Framework.GraphicsDeviceManager.Microsoft.Xna.Framework.IGraphicsDeviceManager.BeginDraw()
在 Microsoft.Xna.Framework.Game.BeginDraw()
在 Microsoft.Xna.Framework.Game.DrawFrame()
在 Microsoft.Xna.Framework.Game.Paint(Object sender, EventArgs e)
在 Microsoft.Xna.Framework.GameWindow.OnPaint()
在 Microsoft.Xna.Framework.WindowsGameWindow.mainForm_Paint(Object sender, PaintEventArgs e)
--- 内部异常堆栈跟踪的结尾 ---
在 Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
在 Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
在 System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
在 System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
在 System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
在 System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
在 System.Windows.Forms.Application.Run(Form mainForm)
在 Microsoft.Xna.Framework.WindowsGameHost.Run()
在 Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
在 Terraria.Program.RunGame()