Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9031407
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T07:43:30+00:00 2026-06-16T07:43:30+00:00

The game that I’m working on loads all textures from a folder in the

  • 0

The game that I’m working on loads all textures from a folder in the Content sub-project and stores them in a Texture2D[].

For reasons that I cannot figure out, it appears as if the ContentManager (Content) for XNA never unloads these textures, ever. So even if I delete them from the folder, they’re still stored in the pipeline.

Here is my Content folder:

enter image description here

And here is the ContentManager’s loadedAssets in debug.

enter image description here

As you can see from the elements outlines in red, those textures have been deleted from the Content folder but they persist in the ContentManager cache. This means that when I load all textures from the “TileSets” folder, the supposedly deleted textures get loaded in as well.

I’ve tried Content.Dispose() and Content.Unload() in my main UnloadContent() but those don’t fix the problem. Also made sure that the textures were deleted from the folder in my external folder explorer and even checked ContentPipeline.xml; the textures are not referenced there.

What’s going on? Am I missing something?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T07:43:31+00:00Added an answer on June 16, 2026 at 7:43 am

    Apparently I had missed the .xnb files, which are stored in ~\bin\x86\Debug\Content.

    After deleting the files from there, everything worked as expected.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

A game that I play stores all of its data in a .DAT file.
im creating a game that has multiple levels and the levels contain multiple textures
Im currently working on a game that uses multi touch to apply zoom to
I am developing a game that uses a massive amount of textures. Therefore I
I'm making a game that will allow content development and I'd like it to
I'm building a game that got some moving things all the time, so I'm
I am making a game that I want compatible for all older devices to
I made a java game that is all based on JPanel. When I add
I have a game that I am working on in a C# console application,
I have an Android game that includes a screen that lists all ongoing games,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.