Game Development Community

Bug in my mod in Editor

by Tverd · in Torque Game Engine Advanced · 04/30/2005 (4:42 am) · 1 replies

I write my own mod which assembled common and terrain_water_demo.
Game is start normaly, executed Editor. All fine, but when push right mouse button and look up, game stoped whith MsgBox debug error:
Fatal: (.....\engine\gfx\gfxdevice.cpp @ 281)

Trying to call drawPrimitive whith no current primitive buffer, call setPrimitiveBuffer()


In original terrain_water_demo in Editor all fine, in my game is error. Where I can find error ?

#1
06/22/2007 (3:53 pm)
Having the same issue. I've also combined some scripts and made my own directory structure. Everything runs fine on the stock version/demo. I looked at the code that calls this error but my skill isn't that high to figure out why the error actually occurs. Could anyone let me/us know in plain English why this would occur please (like: it occurs because you are missing the function or some particular code needs to be executed first or maybe: it's probably something with one of the dts files or with the terrain or missing textures) Thank You! :)

I'm just getting back into TGEA and porting my game from TGE and I can see that there is lots to learn...I tried just using my custom script/directory structure straight from TGE but I can see that some adjustments must be made.