GASP character components may be initialized after the build

Overview

UnrealEngine 5.5.0
Game Animation Sample
VRM4U
/Blueprints/CBP_SandboxCharacter
/Blueprints/RetargetedCharacters/CBP_SandboxCharacter_${name}
  • After building, the CBP_SandboxCharacter_${name} component may be reset to the initial settings
  • You can restore the value by pressing the CBP_SandboxCharacter_${name} button

Solution

There are some workarounds:

  1. Add the initial component settings to the Event BeginPlay in /Content/Blueprints/CBP_SandboxCharacter

  2. Write the initial settings to the Construction Script in /Content/Blueprints/RetargetedCharacters/CBP_SandboxCharacter_${name}

Editor Preferences > Loading & Saving > Startup > Restore Open Tab… : Never Restore

Prevents the editor from opening at startup.

It will not be initialized if launched from the Launcher, but it will be initialized if launched from the $name.uproject file.

Example

Suddenly the camera stopped moving up and down when controlling the character. Controller Rotation of SpringArm was disabled.

It seems that the component of CBP_SandboxCharacter_${name} was rewritten automatically, and SpringArm was initialized. The contents of CBP_SandboxCharacter_${name} are reflected from CBP_SandboxCharacter. This only occurs with a specific character (vrm4u), not with other characters. The contents of BP are the same as other characters, so the cause is unknown.

It can be fixed with the reset button, but usually it goes unnoticed. Sometimes it is initialized. The problem will be identified after building. Sometimes it will build normally.