Here is a bug I found (see screenshot). If inherited component contains a GUID field, pressing “Generate” from dropdown list for this GUID will update only 1st part of GUID, the rest will be 0s.
Here are steps to reproduce it in a clean project:
-
create first person c++ project from template
-
click on “New C++ Class”, select “Actor Component” (it will create MyActorComponent)
-
In Visual Studio in file MyActorComponent.h add:
public:
/** Unique actor ID */
UPROPERTY(EditAnywhere, BlueprintReadOnly, SaveGame, Category = “TEST”)
FGuid ActorGUID; -
Compile
-
Add “My Actor” component to FirstPersonProjectile blueprint in “FirstPersonCPP/Blueprints”
-
Place FirstPersonProjectile to the scene
-
Select FirstPersonProjectile in WorldOutliner and select MyActor component
-
You should see ActorGUID, in a drop down for ActorGUID select Generate.
-
Only a first part of GUID will be updated, the reset will be 0s. Expected a full GUID.
-
But, if you edit ActorGUID inside FirstPersonProjectile’s blueprint, it will be updated properly.
The same happens If you do actor component with GUID field in blueprints only.