Ogre::RenderQueue::getQueueGroup**(...) returned 0xFFFFFFFFFFFFFFE7

Problems building or running the engine, queries about how to use features etc.
User avatar
suny
Greenskin
Posts: 141
Joined: Thu Mar 12, 2020 5:53 pm
x 60

Ogre::RenderQueue::getQueueGroup**(...) returned 0xFFFFFFFFFFFFFFE7

Post by suny »

Ogre Version: 14.3
Operating System: windows
Render System: dx11

I have had several crash reports from my users recently:
Ogre::RenderQueue::getQueueGroup**(...) returned 0xFFFFFFFFFFFFFFE7

From processVisibleObject():
bool receiveShadows = getQueueGroup(mo->getRenderQueueGroup())->getShadowsEnabled() && mo->getReceivesShadows();

What could be the cause of this?
S.

rpgplayerrobin
Orc Shaman
Posts: 710
Joined: Wed Mar 18, 2009 3:03 am
x 391

Re: Ogre::RenderQueue::getQueueGroup**(...) returned 0xFFFFFFFFFFFFFFE7

Post by rpgplayerrobin »

"mo" is most likely null, uninitialized or deleted, which means that its "getRenderQueueGroup" function will return invalid values, which in case will crash in "getQueueGroup".

But why that would happen is very hard to answer.

I think the context on when it was happening and what the users did before is very important, so if this is the only information you have, it will be hard to solve it.

They could be moving the window from one monitor to another with a different resolution, they could be be resizing the window, they could be out of memory on their computer, etc.

Also, if you use uninitialized pointers or deleted pointer anywhere in your user code, these kind of crashes can also happen, so it could also be somewhere in your user code.