GarageGames / Torque3D

MIT Licensed Open Source version of Torque 3D from GarageGames
http://torque3d.org
MIT License
3.36k stars 1.2k forks source link

Crash on level load of Empty Room with base template #1905

Open elfprince13 opened 7 years ago

elfprince13 commented 7 years ago

screen shot 2017-01-05 at 1 39 53 pm

and I get an EXC_BAD_ACCESS with the following stack trace:

#0  0x000000010099e10c in Vector<FeatureSet::FeatureInfo>::size() const at /Users/thomas/Torque3D/Engine/source/core/util/tVector.h:565
#1  0x0000000100c0ad07 in FeatureSet::hasFeature(FeatureType const&, int) const at /Users/thomas/Torque3D/Engine/source/shaderGen/featureSet.cpp:102
#2  0x00000001009a548d in MatInstance::isInstanced() const at /Users/thomas/Torque3D/Engine/source/materials/matInstance.cpp:494
#3  0x0000000100b383e3 in PrePassMatInstanceHook::PrePassMatInstanceHook(MatInstance*, RenderPrePassMgr const*) at /Users/thomas/Torque3D/Engine/source/renderInstance/renderPrePassMgr.cpp:919
#4  0x0000000100b38555 in PrePassMatInstanceHook::PrePassMatInstanceHook(MatInstance*, RenderPrePassMgr const*) at /Users/thomas/Torque3D/Engine/source/renderInstance/renderPrePassMgr.cpp:897
#5  0x0000000100b19614 in RenderPrePassMgr::getPrePassMaterial(BaseMatInstance*) at /Users/thomas/Torque3D/Engine/source/renderInstance/renderPrePassMgr.h:216
#6  0x0000000100b35076 in RenderPrePassMgr::addElement(RenderInst*) at /Users/thomas/Torque3D/Engine/source/renderInstance/renderPrePassMgr.cpp:273
#7  0x0000000100b2d170 in fastdelegate::FastDelegate1<RenderInst*, void>::operator()(RenderInst*) const at /Users/thomas/Torque3D/Engine/source/core/util/FastDelegate.h:989
#8  0x0000000100b2a05f in Signal<void (RenderInst*)>::trigger(RenderInst*) at /Users/thomas/Torque3D/Engine/source/core/util/tSignal.h:668
#9  0x0000000100b29e36 in RenderPassManager::addInst(RenderInst*) at /Users/thomas/Torque3D/Engine/source/renderInstance/renderPassManager.cpp:209
#10 0x0000000100134c62 in GroundPlane::prepRenderImage(SceneRenderState*) at /Users/thomas/Torque3D/Engine/source/T3D/groundPlane.cpp:387
#11 0x0000000100b72e8f in SceneRenderState::renderObjects(SceneObject**, unsigned int) at /Users/thomas/Torque3D/Engine/source/scene/sceneRenderState.cpp:108
#12 0x0000000100b6373c in SceneManager::_renderScene(SceneRenderState*, unsigned int, SceneZoneSpace*, unsigned int) at /Users/thomas/Torque3D/Engine/source/scene/sceneManager.cpp:473
#13 0x0000000100b62ce3 in SceneManager::renderSceneNoLights(SceneRenderState*, unsigned int, SceneZoneSpace*, unsigned int) at /Users/thomas/Torque3D/Engine/source/scene/sceneManager.cpp:332
#14 0x0000000100b62832 in SceneManager::renderScene(SceneRenderState*, unsigned int, SceneZoneSpace*, unsigned int) at /Users/thomas/Torque3D/Engine/source/scene/sceneManager.cpp:304
#15 0x0000000100b61906 in SceneManager::renderScene(ScenePassType, unsigned int) at /Users/thomas/Torque3D/Engine/source/scene/sceneManager.cpp:183
#16 0x000000010012de41 in GameRenderWorld() at /Users/thomas/Torque3D/Engine/source/T3D/gameFunctions.cpp:424
#17 0x0000000100130595 in GameTSCtrl::renderWorld(RectI const&) at /Users/thomas/Torque3D/Engine/source/T3D/gameTSCtrl.cpp:71
#18 0x000000010064688a in GuiTSCtrl::_internalRender(RectI, RectI, Frustum&) at /Users/thomas/Torque3D/Engine/source/gui/3d/guiTSControl.cpp:429
#19 0x0000000100648c40 in GuiTSCtrl::onRender(Point2I, RectI const&) at /Users/thomas/Torque3D/Engine/source/gui/3d/guiTSControl.cpp:713
#20 0x0000000100130cc4 in GameTSCtrl::onRender(Point2I, RectI const&) at /Users/thomas/Torque3D/Engine/source/T3D/gameTSCtrl.cpp:170
#21 0x000000010079088c in GuiCanvas::renderFrame(bool, bool) at /Users/thomas/Torque3D/Engine/source/gui/core/guiCanvas.cpp:1857
#22 0x000000010078b4c1 in GuiCanvas::handlePaintEvent(unsigned int) at /Users/thomas/Torque3D/Engine/source/gui/core/guiCanvas.cpp:357
#23 0x000000010012a53b in fastdelegate::FastDelegate1<unsigned int, void>::operator()(unsigned int) const at /Users/thomas/Torque3D/Engine/source/core/util/FastDelegate.h:989
#24 0x000000010079ac50 in Signal<void (unsigned int)>::trigger(unsigned int) at /Users/thomas/Torque3D/Engine/source/core/util/tSignal.h:668
#25 0x000000010079abab in void Journal::Call<Signal<void (unsigned int)>, unsigned int>(Signal<void (unsigned int)>*, void (Signal<void (unsigned int)>::*)(unsigned int), unsigned int) at /Users/thomas/Torque3D/Engine/source/core/util/journal/journal.h:634
#26 0x000000010078fadc in JournaledSignal<void (unsigned int)>::trigger(unsigned int) at /Users/thomas/Torque3D/Engine/source/core/util/journal/journaledSignal.h:81
#27 0x000000010078fa8e in GuiCanvas::paint() at /Users/thomas/Torque3D/Engine/source/gui/core/guiCanvas.cpp:1587
#28 0x00000001000796c5 in fastdelegate::FastDelegate0<void>::operator()() const at /Users/thomas/Torque3D/Engine/source/core/util/FastDelegate.h:904
#29 0x0000000100de5247 in Signal<void ()>::trigger() at /Users/thomas/Torque3D/Engine/source/core/util/tSignal.h:650
#30 0x000000010046163b in Process::processEvents() at /Users/thomas/Torque3D/Engine/source/core/util/journal/process.cpp:99
#31 0x00000001002c2294 in StandardMainLoop::doMainLoop() at /Users/thomas/Torque3D/Engine/source/app/mainLoop.cpp:621
#32 0x000000010099ef71 in TorqueMain(int, char const**) at /Users/thomas/Torque3D/Engine/source/main/main.cpp:315
#33 0x0000000100ae54e2 in main at /Users/thomas/Torque3D/Engine/source/platformMac/macMain.mm:86

I'm running OS X 10.11.6 on an MacBook Pro (Retina, 15-inch, Late 2013) with 16GB of RAM and a NVIDIA GeForce GT 750M 2048 MB graphics card.

Relevant console.txt is also attached.

JeffProgrammer commented 7 years ago

i assume that's empty template?

elfprince13 commented 7 years ago

Yep!

JeffProgrammer commented 7 years ago

empty template might be behind. I only worked on full template. Can you try that?

elfprince13 commented 7 years ago

Yep - I just launched copied the game folder over from full template and it appears to have worked just fine!

JeffProgrammer commented 7 years ago

@Areloch sorry that @rextimmy and I didn't keep empty up to date w/ macos :(