I am trying to load premade .xnb files with the content pipeline.
when I call
contentManager.Load<model>("grass");, for which I have a "grass.xnb" file in the corresponding directory, it crashes with: "Error loading "grass_0". File not found."
The grass.xnb file was created using a MSBuild wrapper to build the .fbx files.
I initialized the content manager with :
contentManager = new ContentManager(mainXnaWindow.Services, projectFileOpen + "../Assets/XNB/"));
I am pretty sure the content manager has the right directory, because when I deleted "grass.xnb" from the directory, It just told me "Error loading "grass" File not found"
Does anyone know why it could be adding a "_0" to the name?
Edit: I forgot to include a built version of th texture associated with it. Problem Solved.