XNA Essentials

Game Programming for Xbox 360, PC + Windows Phone


skybox issues

Hi I was trying to do they skybox tutorial. On page 164 of "XNA 3.0 Unleashed" you give instructions on how to change the content processor for the texture. I followed these steps and there is no skybox processor showing up in the processor list for skybox2.tga.  I have also tried the pipline .dll from the book CD and that did not work either. Any idea why it is not showing up?





rdreyfus - Sunday, July 19, 2009 @ 1:15 PM

Re: skybox issues

Did you add a reference to the skybox processor in the Content project? Once that is added as a reference, you will have the option to select the correct processor.

Hope this helps!


Chad Carter - Monday, July 20, 2009 @ 5:06 PM

Re: skybox issues

I added a reference to the skybox pipeline. Is that the same thing? If not how do i one for the processor?



rdreyfus - Monday, July 20, 2009 @ 5:14 PM

Re: skybox issues

I am currently trying to do the AI Demo which requires the skybox. Still can't get the skybox processor to show up in the list. Here are the steps I am taking to do this.

1. create project

2. add reference to XELibrary.dll to main project from XELibrary\bin\x86\Debug (located on my hard drive)

3. add "using XELibrary" to top of Game1.cs

4. add Skyboxes folder in Content project

5. copied and pasted Skybox2.tga from CD to Content\Skyboxes folder in Content Project ( in VS2008....not through windows explorer)

6. copied SkyboxPipeline.dll from CD to AIDemo\Content\bin\x86\Debug on my hard drive.

7. added reference to Content pointing to SkyboxPipeline.dll located in AIDemo\Content\bin\x86\Debug on my hard drive.

8. In VS 2008, right clicked on Skybox2.tga from Content\Skyboxes and chose properties.

9. Click on down arrow next to "Content  Processor" under properties. NO option for Skybox Processor is appearing in list


Just in case you are wondering I am currently using XNA 3.1. I have tried this under 3.0 as well and it did the same thing. Please let me know if I can provide any more info for you. Thanks.






rdreyfus - Monday, July 20, 2009 @ 6:23 PM

Re: skybox issues

If I follow your steps using XNA Game Studio 3.0 it works like a charm. When I get to step 9, I am able to select Skybox Processor.


However, if I follow your steps using XNA Game Studio 3.1 then step 9 is just as you described. So I then try to compile and I am greeted with the following error:

Assembly SkyboxPipeline was built with a reference to Microsoft.Xna.Framework with an incorrect version when version was expected.


I'm wanting you to try 3 things total:

1. Do your steps above (you don't have to copy the assemblies to the /bin/x86/debug folder as they will get moved them by the compiler). Make sure you start with an XNA Game Studio 3.0 Windows Game project and not a 3.1.

2. Copy the Chapter18 folder from the CD and open the /Chapter18/AIDemo/AIDemo.sln file and compile and run that. Confirm that Skybox Processor is in the list for the skybox2.tga file.

3. This one is more complex: To get it working in 3.1 do the following:

A. Open Chapter 8's SkyboxPipeline solution. Remove the references to the following 3.0 assemblies:




Now, re-add those same assemblies, but make sure you select the 3.1 versions.

Compile the solution.

Now do your steps above making sure you create an XNA Game Studio 3.1 Windows Game project.

For number 6, copy the newly created skyboxpipeline.dll and copy it the newly created project folder. Add a reference in the Content project to this newly compiled assembly.


Let me know if those three taks are successful. Let me know if I need to clarify anything.


Chad Carter - Monday, July 20, 2009 @ 10:46 PM

Re: skybox issues

Thanks for the help. I tried the first step and ** yay** it now works!!

I think you might be right about the 3.1 issue. I will try it that way too just to make sure. Thanks again. Great Book BTW. I am learning a lot from it!



rdreyfus - Monday, July 20, 2009 @ 11:24 PM

Re: skybox issues

Awesome! Glad it is working for you!

Chad Carter - Monday, July 20, 2009 @ 11:41 PM

Re: skybox issues

I got stuck on this same problem at 1 in the morning... and my mistake was so simple that i'm sure other people will make it too. Up until that point in the book, i'd been adding all references to the main project by right-clicking the project name and then doing "add reference". However, I didn't realize that when Chad writes "Content project", he means literally to right-click on the content folder INSIDE the project and then add a reference there. I had no idea there were two places to add references! Duh. Sounds really dumb, but because i'm new to this stuff, it totally baffled me for a while. Hope this helps anyone going through the same issue!

getluky - Monday, June 7, 2010 @ 12:03 PM

Re: skybox issues

same to me.

thank you


Flash3001 - Wednesday, October 13, 2010 @ 7:00 PM