Game Development Community

Namespace::unlinkClass - cannot unlink namespace parent

by rennie moffat · in Torque Game Builder · 12/04/2009 (4:38 pm) · 6 replies

Namspace::unlinkClass - cannot unlink namespace parent linkage for gun BehaviorTemplate.


This has just shown up as an error in my console reading. I am unsure what it is telling me.




:?

About the author

My thanks to Garage Games and the Garage Games Community combined with owned determination I got one game up, Temple Racer and I am looking to build more interesting, fun games for the mass market of the iOS app store.


#1
12/04/2009 (4:55 pm)
please ignore.

i just figured it out.
i had named my behavior as gun,
just gun.

gun must already be a used word in TGB?
#2
12/06/2009 (10:34 pm)
No gun is not a used word in TGB. Most likely you named your object gun and your behavior gun. But I am only guessing since I can't see all of your code.
#3
12/06/2009 (10:41 pm)
Nope.

I just double checked.


Anyhow, if anyone knows why that would be cool, but for now, all i did was add Behavior to gun (gunBehavior) and the code loaded.
#4
12/09/2009 (2:29 pm)
I have run into the Error in my console again. Not sure where it is from. If anyone has a "rule of thumb" when they see this, I would love to hear it.

Cheers.
#5
12/09/2009 (4:43 pm)
A rule of thumb? I think this is going to be the response from nearly everyone: READ!

Read the error message fully, comprehend the type of error that is being reported to you, and track down what you may have done to cause it. Errors may look cryptic but they will generally tell you exactly what the computer didn't understand and where it occurred.

There is no magic to debugging a program. You need to step through your code just as the program will; one line at a time.
#6
12/09/2009 (5:15 pm)
Cool,
Thanks John.