Game Development Community

Build Error

by Dwayne Brown · in Torque Game Engine · 08/08/2007 (12:49 pm) · 7 replies

What does this error mean?

Error, object class sky is either unbalanced the xform stacks, or didnt reset the view port!. mv(3 3) proj(2 2) t0(1 1), t1(1 1) (0 22 800 578: 0 22 800 578)

#1
09/19/2007 (1:46 pm)
First of all let me apologize for posting in three different areas. I am having problems with my compilation of Torque3D. I am creating a new post in the Private Forums because Blake was nice enough to assist and direct me. Here are my notes from a previous post:

Queston for me.
here are a few things that I can think of.

1. Did you actually buy the program or torrent it? If you torrented it, then likely it might have some errors.
2. If you transfered the file from HDD to HDD (if you have 2 hard drives in 1 computer) for some reason this corrupts the files and they are unusable for some reason.
3. If just put all the files on a cd and burned it, they will not work unless you burned it as an ISO.
4. Upgrade to Directx9.0c.
5. Get your latest video card drivers. For ATI it would be catalyst control center. For nvidia, I don't know.
6. At worst, reformat your HDD. This will clear everything from the computer, but DO NOT do this unless you absolutely have to. Also, have a bootable CD if you decide to do this.

My response.
1. I bought the program. I buy lots of stuff from Garage Games and I am a loyal customer.
2. I do not transfer from HDD to HDD for installing. I would download it directly from the website then install it. I have one copy on my laptop to mess around with the code at work and of course one on my home desktop.
3. I only have my backup projects on CD.
4 and 5. My desktop that I work on does not have a graphics card but my laptop does. Both systems have the latest drivers. As I stated above I have been able to run older versions of Torque with no problems and it strikes me that the same errors appear on both systems.
6. I tried this option receiving the same results. My laptop is fairly new and I do not know why it is taking a long time to load into the missions as well. I can run some advanced games on this laptop with no problem so loading a mission should not be giving me this much trouble.

question for me.
This happens on a fresh install? I've not seen anything like it. Which missions are you trying to run? Starter.fps racing? tutorial base?

my reply.
This happens on a fresh install. I tried using the stronghold mission. using tutorial base and the FPS.

question for me.
Are you getting any OpenGL or DirectX errors in your console.log? Or other errors?

my reply
David I missinformed you. I receive this error after I build a new copy of torque.

I ran the game fine for 30 minutes. I hit F11 and ran to my new marker and then I received the error again. title bar says Fatal:(c:\torque\tge_1_5_2\engine\scenegraph\scenestate.cc @ 16

I ran the game fine for 30 minutes. I hit F11 and ran to my new marker and then I received the error again. title bar says Fatal:(c:\torque\tge_1_5_2\engine\scenegraph\scenestate.cc @ 16. In the body it shows Error, object class sky is either unbalanced the xform stacks, or didnt reset the view port!. mv(3 3) proj(2 2) t0(1 1), t1(1 1) (0 22 800 578: 0 22 800 578). This error comes after recompiling the engine. I never edited scenestate.cc. Does anyone have any suggestions or experienced this error?

question for me.
Did you make ANY source changes or did you just hit recompile after a completely fresh install. You noted in your other topic on this (why not post it on the private forums where compilation issues are actually addressed instead of public forums where source code issues are not?) that it does this on your laptop and desktop. Are you copying the binary or are you compiling it fresh on both? Are you doing a clean build? Is it a release or debug build?

my reply.
The actual source code I did not change. I added the aiGuard .h and .cc files to the TorqueDemo then selected to Build it. I added the aiGaurd.cs file to the project I am working with. Edited the .cs codes for player.cs and game.cs. Saved my project and ran the game. (Are you copying the binary or are you compiling it fresh on both? Are you doing a clean build? Is it a release or debug build?) - To answer this I followed the instructions found in the documentation on compiling Torque with VC2005. I followed those instructions while adding the .h and .cc files. I performed this on my laptop after running into these troubles on my desktop. Both are returning the same results. I tried these steps over again double checking my work last night. I performed a fresh install of Torque3D 1.5.2. Then the above steps followed. This time when running the game it will not crash so the problem pretty consistent when I hit F11. Unfortunately, I am unable to get a result from the consol when that happens because the system will crash.
#2
09/19/2007 (1:56 pm)
You can look at the console.log file in the main directory to see where it crashes.

Have you tried compiling it without the AIGuard resource and had the same issues?
#3
09/19/2007 (2:00 pm)
I will look at that log file. I have tried to compile Torque with out any new files added. I still receive the same error when hitting F11.
#4
09/19/2007 (7:06 pm)
Here is the results in the log file:

Obj: SteamParticle -
Obj: SteamEmitter -
Obj: SteamEmitterNode -
Could not locate texture: common/ui/inspector_delete
Could not locate texture: common/ui/inspector_delete
pushDialog(): Invalid control: DemoEditorAlert
Fatal: (c:\torque\tge_1_5_2\engine\scenegraph\scenestate.cc @ 116) Error, object of class Sky either unbalanced the xform stacks, or didn't reset the viewport! mv(3 3) proj(2 1) t0(1 1), t1(1 1) (0 22 800 578: 0 22 800 578)
keyboard0 input device unacquired.
DirectInput deactivated.
Activating DirectInput...
#5
09/20/2007 (1:32 pm)
To me it looks like a file is missing.
#6
09/28/2007 (12:59 pm)
David I tried to rebuild the engine with out editing any code or adding anything to it. I am using VC++ 2005. I opened the SDK. Edited the working directory for DEBUGGING and RELEASE by adding ../example. Next I right clicked on Torque Demo and build. The build was successful showing 7 successful, 0 failed, 0 warnings. The game will run in pressing F5 with out debugging. My problem occurs when I hit F11. I receive the sky error above. I do not know what I am doing wrong. Did you catch anything wrong with those steps above?
#7
10/08/2007 (5:14 pm)
Does anyone know if it is possible to script the stats with out editing code in the engine?