question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Mod Browser Crashing - Object Reference Error

See original GitHub issue

Within a few seconds of being opened, the mod browser crashes.

The following output is shown in ModLoader/Logs/Runtime Error.txt:

Object reference not set to an instance of an object
  at Terraria.ModLoader.UI.UIMessageBox.DrawSelf (Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch) [0x00000] in <filename unknown>:0 
  at Terraria.UI.UIElement.Draw (Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch) [0x00000] in <filename unknown>:0 
  at Terraria.UI.UIElement.DrawChildren (Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch) [0x00000] in <filename unknown>:0 
  at Terraria.UI.UIElement.Draw (Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch) [0x00000] in <filename unknown>:0 
  at Terraria.UI.UIElement.DrawChildren (Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch) [0x00000] in <filename unknown>:0 
  at Terraria.UI.UIElement.Draw (Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch) [0x00000] in <filename unknown>:0 
  at Terraria.UI.UserInterface.Draw (Microsoft.Xna.Framework.Graphics.SpriteBatch spriteBatch, Microsoft.Xna.Framework.GameTime time) [0x00000] in <filename unknown>:0 
  at Terraria.Main.DrawMenu (Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in <filename unknown>:0 
  at Terraria.Main.do_Draw (Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in <filename unknown>:0 
  at Terraria.Main.DoDraw (Microsoft.Xna.Framework.GameTime gameTime) [0x00000] in <filename unknown>:0 

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:16 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
gamrguycommented, Jul 15, 2017

I haven’t seen this issue since 0.10.0.2, and there haven’t been any complaints from users on the Discord either. Perhaps this can finally be closed?

0reactions
Jofairdencommented, Jul 15, 2017

I’m pretty sure this got fixed in e3fe9e3 after my initial attempt in ebb537b

Read more comments on GitHub >

github_iconTop Results From Across the Web

Mod Browser Crashing - Object Reference Error · Issue #70
With v0.9.2.3, the "Mod Browser OFFLINE (Unknown)" problem has vanished, but the mod browser has returned to just crashing with the "Collection ...
Read more >
Object reference not set to an instance of an object [System ...
A null reference error is a generic error report when an asset is missing or a mod that requires an asset that's missing...
Read more >
Please help! SVE Mod in Multiplayer crashing in the night
Please help! SVE Mod in Multiplayer crashing in the night- 'Object reference not set to an instance of an object'.
Read more >
"Could not load merged xml file correctly: ItemsError: ...
I get this error whenever i try to launch the game: "Could not load merged xml file correctly: ItemsError: Object reference not set...
Read more >
Is there any fix for the "Object reference not set to an ...
After disabling the mod, there seem to be no more crashes. Tnx man. I am playing with the workshop mod though.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found