Access violation error in toggle console on/off

Apr 28, 2015 at 2:08 PM
Edited Apr 28, 2015 at 2:25 PM
I'm running the immediate rendering sample and hit toggle to turn on/off the console. It works to turn on the console, but reports an error when shut it down. The error comes from the static method:
 void Glyph3::GetAllEntities( Node3D* node, std::vector< Entity3D* >& set )
when it calls for the "vector::size()". Please let me know if you can reproduce this error.


Update:
It works fine in the original sample, I found that it occurs after I enabled the debug visualizer of "ViewPerspective" class. What are the purpose of console and debug visualizer in an app?
Coordinator
Apr 29, 2015 at 11:01 PM
The console is to provide access to a Lua runtime engine during the runtime of the application. There isn't too much available from the engine from Lua right now, but hopefully that will change over time....

The debug visualizer was supposed to draw some bounding sphere visualizations of the various entity and node instances. I can take a closer look to see why this is happening and what should be done to correct the issue. Thanks for bringing this up!