Game Development Community

Error, a DecalManager (xxxxxxx) isn't properly out of the bins

by Nicolai Dutka · in Torque Game Engine · 02/29/2008 (2:04 pm) · 7 replies

I have found a couple people post this error within other posts and nobody responded, so I thought it should get it's own topic.

When I try to run my exe, it shows me a black screen for 1 second and just shuts off. I found this in my log file:

Error, a DecalManager (2934330) isn't properly out of the bins!


The funny thing is, I can move the folder to a different PC and it works with no errors!
The other funny thing is, I've been developing this software on THIS PC for the past 6 weeks. Now all of a sudden it will only open on my work laptop! The ONLY thing I changed since it worked last was renaming a couple GUI items (which was done using the laptop and now it won't run on my desktop).

I KNOW for fact I had this problem once before a few months ago and it seemed to magically fix itself. This time, I am getting nowhere fast and my deadline is approaching!

#1
02/29/2008 (2:14 pm)
I'm sure you've probably tried this, but try deletedso.bat (I think that's the right name) to remove your pre-compiled scripts, I've seen weird stuff like this happen on occasion, and that typically fixes it for me.. YMMV.
#2
02/29/2008 (2:16 pm)
I don't have any .bat files in my project and I did try deleting ALL of the .dso files in the entire project.
#3
02/29/2008 (2:22 pm)
Turns out this is not specific to my machine. I decided I need to meet my deadline and went to work on the wife's slow machine and got the same error.

I can tell you it happens right after compiling MainMenuGui.gui (that's the last 'successful' task the log is showing me), so I am gonna start tracing the scripts to see if maybe I am missing a file or something...
#4
02/29/2008 (2:29 pm)
Ok, my mainMenuGui.gui file at the very end, I have these 2 lines:

exec("bin/client/ui/mainMenu.cs");
exec("./variables.cs");

Now, I can see in my log that mainMenuGui.gui is compiling, so it should be running those last 2 lines. I checked in the actual folders and can see: mainMenuGui.gui.dso, so, it is definitely compiling that.

However, I do NOT see any .dso files for 'mainMenu.cs' OR 'variables.cs', so those 2 are not compiling. How could it compile my mainMenuGui which has those 2 lines at the end, but then not compile those 2?

I also noticed in my "~/bin/main.cs" the very next line after

exec("./client/ui/mainMenuGui.gui");

is

exec("./client/ui/optionsDlg.gui");

and I dont even have that file, (i dont need it for my project) so i commented it out.

I am still getting my same DecalManager error....

THIS IS A 'TYPE A' BUG!! Please, if you are reading this and can help, I need to make my deadline!
#5
02/29/2008 (2:49 pm)
Well, I fixed it, but once again, I have no clue what was wrong with it.

I simply opened my most recent build (which is kinda old and missing many of my changes...) then I added in all the files I have been working on and chose to overwrite current ones. Bing, bang, boom, I am working again! :D
#6
06/14/2009 (7:04 pm)
I once got this error. My problem was I changed the name of an image extension (from png to jpg) without proper conversion. That caused this problem
Later I convert my png to jpg in an image editor and it's solved.
#7
06/15/2009 (6:09 am)
I have seen this error when I have an syntax error or bug in python that gets brought in via pyTorque. Are you using pyTorque? That error has come to mean Python error in my book! heh.

In general, I think it means that there is something going on that the memory manager doesn't like.