where are debug resources?

Problems building or running the engine, queries about how to use features etc.
Post Reply
rrl
Halfling
Posts: 78
Joined: Sun Jun 04, 2017 12:33 am

where are debug resources?

Post by rrl »

I am working from the EmptyProject app of 2.1 and somewhere's in my modifications of it, it now crashes when calling GraphicsSytem::update(float timeSinceLast) ...

... specifically when calling

Code: Select all

	mRoot->renderOneFrame()	// GraphicsSystem.cpp
		_updateAllRenderTargets()	// OgreRoot.cpp
			mCompositorManager2->_update(*mSceneManagerEnum, mHlmsManager);	// OgreRoot.cpp
So it crashes on the first time it calls renderOneFrame(). I was hoping someone would have an idea if there's something obvious I may have left out. The only thing I can think of is that I've changed the resource2.cfg file. It looks like SceneManager stuff, but I haven't touched the SceneManager. It's basically the same way it is in EmptyProject.

Thoughts?

Update:
If I comment out generateDebugText() as well as createDebugTextOverlay(), then it runs. So it would seem I'm missing a resource. I added DebugPack.zip, but this didn't fix it. And I'm not sure where the [Essential] sections gets loaded in the example Empty Project code. I think I'm mainly looking for the font name "DebugFont" and everything need for the debug overlays. Anyone ideas?
User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5296
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1278
Contact:

Re: where are debug resources?

Post by dark_sylinc »

What's the callstack?
What's the actual crash?
Post Reply