[BUG] IsValidLowLevel() entails access violation

Error:

Unhandled exception thrown: read access violation.

this was 0xFFFFFFFFFFFFFFEF.

If there is a handler for this exception, the program may be safely continued.

In UObjectBase::IsValidLowLevel() at 255 line ( if( !ClassPrivate ) )

Callstack: http://pastebin.com/Ge1nAx8v

This will occurred after response of request in editor but after stopping play mode.

Could you please paste the code where it goes wrong in UDBManager? Most likely you are accessing the object directly without doing a null check;

Object && Object->IsValidLowLevel()

But in IsValidLowLevel already there is NULL-check (line 250 - if( this == nullptr ) )

If the pointer memory is already null then it wouldn’t be able to find the function. That check might be there to handle singletons.

Function can be called even if object is null.

~ Type of pointer is known, code is known too. So function can be called. You can check it with step-in in VS.

if( this == nullptr )

by this it means that you are trying to check a object itself inside it’s own body.
just imagine, what will happen if the object already has been deleted.

try this :

if(dbdatacontainer  != nullptr))// dbdatacontainer.IsValid()
 {
   if(SomeObject->IsValidLowLevel()) //if not included, game sometimes crashed
  {
     //Actually do stuff with SomeObject
  }
 }

better explaintation:

if( this == nullptr )

by this it means that you are trying
to check a object itself inside it’s
own body. just imagine, what will
happen if the object already has been
deleted.

This is engine code. It is not crashing on the line:

 if( this == nullptr )

It crashes a few lines below on:

if( !ClassPrivate )

How can I change it to avoid the crashing? I have the same problem in a blueprint only project…

I would suggest creating a new question for your case and providing some more info about your setup and the object that causes the crash.
The crash described here was most likely caused by a dangling ptr. I don’t know how this could happen in a blueprint project though