Modding Help Can someone help me understand what is causing this error?

Discussion in 'Mods' started by Hitgirl911, Jul 12, 2016.

  1. Hitgirl911

    Hitgirl911 Pangalactic Porcupine

    So I've been making mods and getting mods recently. Now I can't play the game in full screen because if I press the toolbar and select any item it crashes. So after days of crashing while playing in full screen I finally got the error that appears before the game crashes completely.


    [10:45:24.148 PM] Failed to call base method: checkForEscapeKeys
    [10:45:24.153 PM] [ERROR] An error occured in the overridden draw loop: System.ObjectDisposedException: Cannot access a disposed object.
    Object name: 'Texture2D'.
    at Microsoft.Xna.Framework.Helpers.CheckDisposed(Object obj, IntPtr pComPtr)
    at Microsoft.Xna.Framework.Graphics.TextureCollection.set_Item(Int32 index, Texture value)
    at Microsoft.Xna.Framework.Graphics.SpriteBatch.RenderBatch(Texture2D texture, SpriteInfo[] sprites, Int32 offset, Int32 count)
    at Microsoft.Xna.Framework.Graphics.SpriteBatch.Flush()
    at Microsoft.Xna.Framework.Graphics.SpriteBatch.End()
    at StardewModdingAPI.Inheritance.SGame.Draw(GameTime gameTime)
    [10:45:24.160 PM] [ERROR] An error occured in the overridden draw loop: System.InvalidOperationException: Begin cannot be called again until End has been successfully called.
    at Microsoft.Xna.Framework.Graphics.SpriteBatch.Begin(SpriteSortMode sortMode, BlendState blendState, SamplerState samplerState, DepthStencilState depthStencilState, RasterizerState rasterizerState, Effect effect, Matrix transformMatrix)
    at Microsoft.Xna.Framework.Graphics.SpriteBatch.Begin(SpriteSortMode sortMode, BlendState blendState, SamplerState samplerState, DepthStencilState depthStencilState, RasterizerState rasterizerState)
    at StardewModdingAPI.Inheritance.SGame.Draw(GameTime gameTime)
    [10:45:24.169 PM] [ERROR] An error occured in the overridden draw loop: System.InvalidOperationException: Begin cannot be called again until End has been successfully called.
    at Microsoft.Xna.Framework.Graphics.SpriteBatch.Begin(SpriteSortMode sortMode, BlendState blendState, SamplerState samplerState, DepthStencilState depthStencilState, RasterizerState rasterizerState, Effect effect, Matrix transformMatrix)
    at Microsoft.Xna.Framework.Graphics.SpriteBatch.Begin(SpriteSortMode sortMode, BlendState blendState, SamplerState samplerState, DepthStencilState depthStencilState, RasterizerState rasterizerState)
    at StardewModdingAPI.Inheritance.SGame.Draw(GameTime gameTime)


    I'm not sure what is causing it and I removed all the mods, it goes back to normal. I install each one by one it doesn't happen. Put them all together then it crashes. Please help D: I don't want to play in windowed mod for all eternity.
     
    • foghorn

      foghorn Pangalactic Porcupine

      Before we go mod-conflict hunting, try deleting your settings config. It's in Users>[Somebody'sName]>AppData>Roaming>StardewValley, and it's called 'startup_preferences'.
       
        Hitgirl911 and cankersaur like this.
      • Hitgirl911

        Hitgirl911 Pangalactic Porcupine

        I tried that and it fixed it :D thanks!


        Sent from my iPad using Tapatalk
         

        Share This Page