# Set properties of Game Instance Subsystem to Blueprint classes

**URL:** <https://forums.unrealengine.com/t/set-properties-of-game-instance-subsystem-to-blueprint-classes/1918332>\
**Category:** C++\
**Tags:** unreal-engine, question\
**Created:** [June 27, 2024, 9:00am UTC](https://forums.unrealengine.com/t/set-properties-of-game-instance-subsystem-to-blueprint-classes/1918332 "2024-06-27T09:00:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ViaCognita](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/viacognita/32/906601_2.png) [@ViaCognita](https://forums.unrealengine.com/u/ViaCognita)\
**Post date:** [June 27, 2024, 9:00am UTC](https://forums.unrealengine.com/t/set-properties-of-game-instance-subsystem-to-blueprint-classes/1918332/1 "2024-06-27T09:00:11Z")

</div>

Hi!

I’m using Unreal 5.4.2.

I need to spawn a blueprint class from C++ and I don’t know how to do it. I have this code:

```auto
UCLASS()
class TETRIS_API UTGamePlayGameInstanceSubsystem : public UGameInstanceSubsystem
{
	GENERATED_BODY()

public:
	UPROPERTY(EditInstanceOnly)
	TSubclassOf<AActor> AssignPuzzleSampleActor;
	
	UPROPERTY(EditInstanceOnly)
	TSubclassOf<AActor> SumPuzzleSampleActor;
	
	UPROPERTY(EditInstanceOnly)
	TSubclassOf<AActor> SubPuzzleSampleActor;

	void StartTetrisGame();

private:
	void SpawnPuzzleToSolve(EPuzzleToSolve PuzzleToSolve);
	
};

```

If I want to call the method `StartTetrisGame()` from C++, I don’t know how to do it think I have to create a blueprint subclass of `UTGamePlayGameInstanceSubsystem` to be able to set the three `UPROPERTY` to a Blueprint class. Or at least assign their value from blueprint.

How can I do it?

I need to set these values:

```auto
	UPROPERTY(EditInstanceOnly)
	TSubclassOf<AActor> AssignPuzzleSampleActor;
	
	UPROPERTY(EditInstanceOnly)
	TSubclassOf<AActor> SumPuzzleSampleActor;
	
	UPROPERTY(EditInstanceOnly)
	TSubclassOf<AActor> SubPuzzleSampleActor;

```

Which are Blueprint classes, before I call `void StartTetrisGame();` from C++.

Maybe I can hard code their values, or use a different approach.

---

<div class="post-metadata">

**Author:** ![MagForceSeven](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/magforceseven/32/906563_2.png) [@MagForceSeven](https://forums.unrealengine.com/u/MagForceSeven)\
**Post date:** [June 27, 2024, 1:06pm UTC](https://forums.unrealengine.com/t/set-properties-of-game-instance-subsystem-to-blueprint-classes/1918332/2 "2024-06-27T13:06:18Z")

</div>

Currently, blueprint subtypes of subsystems aren’t supported.

There are three approaches that are currently common to solve this sort of thing:

The first option is to use the “Config” markup on the UCLASS and UPROPERTY’s. Then you can specify those types by editing the ini you specify with the UCLASS markup.

The second option option is to create a class derived from UDeveloperSettings. You’ll have to do all the same config markup (since that’s how the values would be saved). You’ll also want to use the “DefaultConfig” UCLASS markup in this case.

The main difference between the two is that the Developer Settings option gives you an in-Editor UI for modifying the values so it can be easier to set them or for others to edit/update them.

The last option is to create an AActor derived type that you place in maps and configure with the values. Admittedly this shouldn’t really be necessary for a Game Instance Subsystem, but is a good option for many of the subsystems that are only spawned in Worlds (World Subsystem, Local Player Subsystem, etc). I mention it here more for completeness than anything else.

---

<div class="post-metadata">

**Author:** ![ShadowBr0kerz](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/shadowbr0kerz/32/1201558_2.png) [@ShadowBr0kerz](https://forums.unrealengine.com/u/ShadowBr0kerz)\
**Post date:** [September 2, 2026, 8:47am UTC](https://forums.unrealengine.com/t/set-properties-of-game-instance-subsystem-to-blueprint-classes/1918332/3 "2026-09-02T08:47:13Z")

</div>

youre on right track, you do need a blueprint subclass to assign BP classes to TSubclassOf. make the C++ base UCLASS(Blueprintable) then make a BP child of your UTGamePlayGameInstanceSubsystem, there you can set those AssignPuzzleSampleActor etc to your BP actor classes. then you call GetGameInstance()-\>GetSubsystem()-\>StartTetrisGame().\n\nif you dont want to write that base each time, Blueprint Subsystems Bridge already has a BP Game Instance Subsystem base you can just inherit from in blueprint: [Expose Game Instance Subsystem to Blueprint | Fab](https://www.fab.com/listings/ef648821-09e5-4813-b003-9d22379ecea6)

---

<div class="post-metadata">

**Author:** ![Braga1913](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Braga1913](https://forums.unrealengine.com/u/Braga1913)\
**Post date:** [September 3, 2026, 6:02am UTC](https://forums.unrealengine.com/t/set-properties-of-game-instance-subsystem-to-blueprint-classes/1918332/4 "2026-09-03T06:02:09Z")

</div>

Use this plugin: [Subsystem Browser Plugin | Fab](https://www.fab.com/listings/b557270d-b692-4261-bda8-6a8e469a6249?lang=en)
