Skip to content

Instantly share code, notes, and snippets.

@NobbZ
Created January 13, 2013 18:27
Show Gist options
  • Save NobbZ/4525506 to your computer and use it in GitHub Desktop.
Save NobbZ/4525506 to your computer and use it in GitHub Desktop.
Can't load the spritefont, get exception: Could not load SpriteFont1 asset!
protected override void LoadContent ()
{
spriteBatch = new SpriteBatch (GraphicsDevice);
_spr_font = Content.Load<SpriteFont>("SpriteFont1");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment