Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting Started docs , Blue xna screen #32

Open
masterrey opened this issue Apr 2, 2012 · 12 comments
Open

Getting Started docs , Blue xna screen #32

masterrey opened this issue Apr 2, 2012 · 12 comments

Comments

@masterrey
Copy link

After I tried "Getting Started docs" it compile without errors, but do not show the rotating cube only the xna blue blank screen.

Did I miss something?

Thanks

@Elideb
Copy link
Contributor

Elideb commented Apr 2, 2012

Are you using the latest version of the template?
You should at least see some debug information on screen. The most important detail is the Body count. If it says there is at least one body, you should have a look at issue 3 from the template.

If the body count is zero, you should make sure you have added all the XML files (Scenes/logo.xml, processed by the FFWD SceneProcessor, and Cube.xml) to the XmlContent project. Also, make sure that logo.xml contains the element "Cube" with the script and the transform.

@Elideb
Copy link
Contributor

Elideb commented Apr 19, 2012

Hey, masterrey

Did you manage to fix the problem?

@masterrey
Copy link
Author

Not yet , i try everything , i still get the blue screen with 0 body counts.

@maconbot
Copy link

can you try to open the XNA project in Tests>FFWD.Unity.Tests and run that and let us know if you still do not see anything. I'm just trying to narrow down the problem for you.

@masterrey
Copy link
Author

thats is exactly what im doing. But i have realized im working with visual studio express 2010 for windows phone. There a problem with this?

@maconbot
Copy link

I figured that might be what you were doing as I stumbled upon that issue accidently myself. Did you perchance remove any of the Scenes in FFWD.Unity.TestsContent>Scenes? I had deleted them trying to get SkinnedAnimation.xml to load on my xbox and to load first. Look at your code in Game1.cs and play with the load order:

levelQueue.Enqueue("SkinnedAnimation");
levelQueue.Enqueue("BasicRendering");
levelQueue.Enqueue("Lightmap");

is what I changed mine to, also you will want to re-add the .xml scenes, if you deleted them redownload the framework :-)

basically the blue screen is one of the above levelQueue's trying to load a scene that does not exist.

@yankee-racers
Copy link

Hi guys. I'm having the same problem. In Unity, I see a dark blue background with a spinning cube. On XNA I see the cornflower blue screen with some debug information. I limited the build to x86. The window title is FFWD.Unity.Tests. It says--
Loading: Logo
Draw Stats: (everything here is 0)
GetWorst(): null 0

There is a few other things but I don't know if you need them. Let me know if you have any ideas for a next step to take to troubleshoot this.

@maconbot
Copy link

Did you do this step?

For the scene, set the Content Processor to FFWD - Scene processor. You may need to try and compile the project at least once for this option to appear.

@yankee-racers
Copy link

Well, I'm not 100% clear on what is meant by 'scene'. In the FFWD.Template.XmlContent project I have four XML files; Cube.xml, LayerNames.xml, Logo.xml, & TextureRendererIndexes.xml. I set the Content Processor to FFWD - Scene processor for the Logo.xml file and all the others are set on No Processing Required.

@maconbot
Copy link

...and Logo.xml is in the Scenes folder? Check that it has 98 lines of xml in there. Also you placed Spin.cs in FFWD.Template.Scripts? Also to clarify these are place in the VS folders and not just in the Windows Explorer folders.

Let's also check that your Cube.xml has 21 lines of XML data in it.

Lastly did you receive any errors, either when exporting to XNA from Unity or when trying to debug in XNA. When debugging in XNA it run through 3 different attempts at deployment. The XBOX the W7 phone and then Windows. I am curious if you are seeing the blue screen in all deployments. Hoping that something simple was missed. I only saw the blue screen for a while but finally by retracing my steps I found I had some errors and once I did the process with no errors it all worked.

Good luck!

@yankee-racers
Copy link

That's it!! Logo.xml was not in a Scenes folder in the Solution Explorer. There were no folders in the FFWD.Templates.XmlContent project, so I tried to create a new one and name it Scenes, but it said a folder with that name already existed there. I was a bit confused about what to do next, but I went to the FFWD.Template.XmlContent folder on my harddrive and just dragged and dropped the Scenes folder from that location to the FFWD.Template.XmlContent project in the Solution Explorer and the Scenes folder appeared. Everything works now!

Thank you for taking the time...

@maconbot
Copy link

Glad to here!

You may want to drop a note in the suggested revisions to documentation here:
#29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants