Crash when converting spinbox or textbox to int in Shipping Build

Summary

When converting the value or text from spinbox/textfield I get a crash (but only in the Shipping Build)

Please select what you are reporting on:

Creative

What Type of Bug are you experiencing?

Other

Steps to Reproduce

  • Create a spinbox
  • Create a button which convert the spinbox value to int and set it’s value to a property of a custom game instance made in C++
  • Build the shipping version of the game and try clicking the button
UCLASS(BlueprintType)
class VOXELGAME_API UVoxelGameInstance : public UGameInstance
{
	GENERATED_BODY()

public:
	UVoxelGameInstance();

	virtual void Init() override;

        // ...

	UPROPERTY(BlueprintReadWrite)
	int ThreadsToLoadChunks = 24;
}

Expected Result

Not to crash

Observed Result

Crashing when clicking the button which triggers the conversion and set

Platform(s)

Win64

Additional Notes

Running on Unreal 5.4.4