Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Camera rendering specified visible mask object crash #438

Open
ChenTianSky opened this issue Apr 1, 2024 · 1 comment
Open

Camera rendering specified visible mask object crash #438

ChenTianSky opened this issue Apr 1, 2024 · 1 comment

Comments

@ChenTianSky
Copy link

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
image

sharedData is NULL?It's very strange.

@darksylinc
Copy link
Member

Hi!

Could you post the callstack of the crash?

A way to reproduce this issue would help a lot.

Other things you can try:

  1. Trying other APIs (Vulkan, OpenGL, Metal) may reveal the cause of the problem if it crashes somewhere else.
  2. Visual Studio supports ASAN. Building both OgreNext and your project with ASAN enabled will help you detect memory corruption errors earlier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants