When subclassing ALS Character BP
with a class from a third party library, StaticMesh
becomes null
#42
Labels
invalid
This doesn't seem right
I'm not sure if this applies to all third party libraries, but I'm using the
AdvancedJigsawInventory
library in particular.To replicate:
TPMP_Character
toALS Character BP
Show Only Modified Properties
and then clicking the little left arrow for each of the ALS related componentsMesh
component toALS_AnimBP_C
During construction time, we can see that the
StaticMesh
,SkeletalMesh
, andRootObject
references are set:But between then and
BeginPlay
, whereUpdateHeldObject
occurs (which is implemented in blueprints as callingClearHeldObject
), the meshes are somehow unset.Note that the unique ID is the same:
Resulting in a null pointer exception.
Things to note
UniqueID
property, the source has not been modified in any wayALSCharacter
C++ class directly (but that has other issues since many of the required properties aren't set, it won't crash on start at least)Offline
,Client
, andListen Server
) modesThe text was updated successfully, but these errors were encountered: