Camera rendering specified visible mask object crash
ChenTianSky opened this issue · 1 comments
ChenTianSky commented
HI!
I have a camera that specifies which objects are visible, using the setVisibilityFlags interface. When I add multiple objects to the camera, some visible objects that were not initially rendered by the camera are temporarily created and added to the scene, and the camera's mWorkSpace->_update(); crashes. error in
sharedData is NULL?It's very strange.
darksylinc commented
Hi!
Could you post the callstack of the crash?
A way to reproduce this issue would help a lot.
Other things you can try:
- Trying other APIs (Vulkan, OpenGL, Metal) may reveal the cause of the problem if it crashes somewhere else.
- Visual Studio supports ASAN. Building both OgreNext and your project with ASAN enabled will help you detect memory corruption errors earlier.