On the slim chance that someone might have encountered this problem, I’ll post it here.
In a fresh version of the ARPGIS in 4.17, this error does not occur.
In trying to upgrade our existing project to 4.17, I’ve encountered a consistent editor crash when trying to compile the Inventory Manager Component. While my IMC is heavily extended, I have not touched the bp other than to make slight changes to keep it up to date with the Marketplace version in months. I have not had any errors with the component up to this point.
The crash reporter indicates an Access Violation, which I have read tends to mean an attempt to access a null ptr.
VS debugs the break point to here in UObjectBase.cpp (the bold line):
bool UObjectBase::IsValidLowLevelFast(bool bRecursive /*= true*/) const
{
// As DEFAULT_ALIGNMENT is defined to 0 now, I changed that to the original numerical value here
const int32 AlignmentCheck = MIN_ALIGNMENT - 1;
// Check 'this' pointer before trying to access any of the Object's members
if ((this == nullptr) || (UPTRINT)this < 0x100)
{
UE_LOG(LogUObjectBase, Error, TEXT("\'this\' pointer is invalid."));
return false;
}
if ((UPTRINT)this & AlignmentCheck)
{
UE_LOG(LogUObjectBase, Error, TEXT("\'this\' pointer is misaligned."));
return false;
}
**if (*(void**)this == nullptr)**
{
UE_LOG(LogUObjectBase, Error, TEXT("Virtual functions table is invalid."));
return false;
}
My suspicion is that the error is due entirely to an Engine change.
If anyone has any suggestion about how I might further isolate the error in the blueprint, any insight into the nature of the error, or might know of a similar problem that I might research, I would very much appreciate the help.
Edit: Finally tacked down a post that obliquely referenced the problem: https://answers.unrealengine.com/questions/665134/417-preview-3-editor-crashing-during-load-cast-of.html
Disabling the new Compilation Manager fixed the problem.