初级玩家

- 贡献度
- 10
- 金元
- 924
- 积分
- 72
- 精华
- 0
- 注册时间
- 2009-3-6
|
本帖最后由 拉不达卡 于 2011-4-30 11:01 编辑
置顶看光光 .net打开了 xna dx 都安了 xna卸了安 安了再安 安装顺序也都没错 点击游戏没反应 直接生成报错文件
我直接发报错文件了 有大神帮看看吗?
LoaderThread
System.TypeInitializationException: “Magicka.Gamers.Gamer”的类型初始值设定项引发异常。 ---> System.ObjectDisposedException: 无法访问已释放的对象。
对象名:“Texture2D”。
在 Microsoft.Xna.Framework.Helpers.CheckDisposed(Object obj, IntPtr pComPtr)
在 Microsoft.Xna.Framework.Graphics.Texture2D.CopyData[T](Int32 level, Nullable`1 rect, T[] data, Int32 startIndex, Int32 elementCount, UInt32 options, Boolean isSetting)
在 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]()
在 PolygonHead.BitmapFont..ctor(ContentReader iInput)
在 PolygonHead.Pipeline.BitmapFontReader.Read(ContentReader iInput, BitmapFont 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)
在 Microsoft.Xna.Framework.Content.ContentManager.Load[T](String assetName)
在 Magicka.Graphics.FontManager..ctor()
在 Magicka.Graphics.FontManager.get_Instance()
在 Magicka.GameLogic.UI.MessageBox..ctor(String iMessage)
在 Magicka.GameLogic.UI.GamerCustomizeMessageBox..ctor()
在 Magicka.GameLogic.UI.GamerCustomizeMessageBox.get_Instance()
在 Magicka.Gamers.Gamer..ctor(String iGamerTag)
在 Magicka.Gamers.Gamer..cctor()
--- 内部异常堆栈跟踪的结尾 ---
在 Magicka.Gamers.Gamer..ctor(String iGamerTag)
在 Magicka.GameLogic.Profile.Read()
在 Magicka.Game.LoaderFunction()
|
|