Game Development Community

Problem loading datablock after creating .cs...

by Meyou · in General Discussion · 02/08/2008 (11:04 am) · 0 replies

O.k. I have been very careful about trying to create datablocks. I have successfully created a few with no problems. I was wondering if someone could tell me why Torque cannot load the datablock from the worldcreator>shapes tree. The object I want to add is in the list and I created it the exact same way I created the other one that works fine. The object in question actually loaded in Torque world editor one time but I press the object to load and nothing....after reading the config.log I noticed it had this to say on the bottom about the dataBlock ...

Object 'GeneralForrest' is not a member of the 'GameBaseData' data block class
GameOne/server/editor.cs (19): Register object failed for object (null) of class StaticShape.

thanks for reading..

*...update..I backed up the files I wanted to keep and reinstalled Torque and I can load the dataObject at question fine now, along with the other dataObs too, hopefully it continues to go well...