# How to get the Project Version in a blueprint?

**URL:** <https://forums.unrealengine.com/t/how-to-get-the-project-version-in-a-blueprint/461882>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [March 1, 2020, 1:06am UTC](https://forums.unrealengine.com/t/how-to-get-the-project-version-in-a-blueprint/461882 "2020-03-01T01:06:18Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_f24894dd](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f24894dd](https://forums.unrealengine.com/u/anonymous_user_f24894dd)\
**Post date:** [March 1, 2020, 1:06am UTC](https://forums.unrealengine.com/t/how-to-get-the-project-version-in-a-blueprint/461882/1 "2020-03-01T01:06:18Z")

</div>

If I go to Edit → Project Settings → Project - Description, I get a page where I can fill in settings like the “About”, the “Publisher” etc. In the “About” tab I can choose things like the Project Thumbnail, the Description, Project Version etc. I want to display the project version in the “about” page in my game dynamically.

On top of the page there is a notification:

> These settings are saved in DefaultGame.ini, which is currently checked out.

I checked the file, and most of the settings are indeed saved here, but the “Project Version” is missing.

How do I get this Project Version, so I can use it in a blueprint?

Edit: I just found this question, which is comparable: [How get Project Settings values? - Programming & Scripting - Epic Developer Community Forums](https://answers.unrealengine.com/questions/176660/view.html)  
However, I still don’t know where to get the Project Version, because the Project Setting seems not to be saved in DefaultGame.ini

---

<div class="post-metadata">

**Author:** ![Vecherka](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Vecherka](https://forums.unrealengine.com/u/Vecherka)\
**Post date:** [March 1, 2020, 10:12am UTC](https://forums.unrealengine.com/t/how-to-get-the-project-version-in-a-blueprint/461882/2 "2020-03-01T10:12:44Z")

</div>

Hello suitendaal,

The Project Settings (in your case the Genreal Project Settings; the Project ID, Project Name, Project Version, etc.) indeed get saved into the DefaultGame.ini inside your Projects Config folder, under the ‘[/Script/EngineSettings.GeneralProjectSettings]’ section inside the file.  
But the Project Version is an exception, it only get’s saved into the INI file, if it differs to the Default ‘1.0.0.0’ from the Engine’s DefaultGame.ini (found inside the Engine’s config folder).  
Which by itself is the default behavior, Unreal only saves differences from the ‘parent’ file. You can find the configuration file hierarchy here: [Configuration Files | Unreal Engine Documentation](https://docs.unrealengine.com/en-US/Programming/Basics/ConfigurationFiles/index.html) .  
If you want the Project Version to be saved into this config file, you basically have to change it to something else than ‘1.0.0.0’. If you want to retrieve that data, you can use the code given in the answer you linked in your question, but I’ll give it here again:

This goes inside the .h file

```
UFUNCTION(BlueprintCallable, meta = (DisplayName = "GetAppVersion"), Category = "Game Config")
static FString GetAppVersion();

```

One could replace the `BlueprintCallable` with the `BlueprintPure` tag making it a pure blueprint function. Which would make more sense as we’re not modifying anything. You can look at this article: [Functions | Unreal Engine Documentation](https://docs.unrealengine.com/en-US/ProgrammingAndScripting/Blueprints/UserGuide/Functions/index.html) , for further details on pure vs impure functions.

And this goes into the .cpp file:

```
FString UVecherkaBPFunctionLibrary::GetAppVersion()
{
	FString AppVersion;
	GConfig->GetString(
		TEXT("/Script/EngineSettings.GeneralProjectSettings"),
		TEXT("ProjectVersion"),
		AppVersion,
		GGameIni
	);

	return AppVersion;
}

```

And don’t forget about the `#include "CoreMinimal.h"` otherwise the _GConfig_ is not available to you.  
Everything is placed inside a Blueprint Function Libary c++ class.

Hope that helps. Just let me know, if you have any questions.

Regards,

Vecherka.

Edit: Corrected the post and added references to it.

---

<div class="post-metadata">

**Author:** ![Kaspi](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kaspi](https://forums.unrealengine.com/u/Kaspi)\
**Post date:** [September 29, 2020, 4:02pm UTC](https://forums.unrealengine.com/t/how-to-get-the-project-version-in-a-blueprint/461882/3 "2020-09-29T16:02:17Z")

</div>

1. Edit the project version setting (Edit \> Project settings… \> Project \> Description \> About \> Project Version)
2. Use the [VictoryPlugin][1]'s _Victory Get Custom Config Var String_ node to access the value:

![316458-screenshot-38.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/d/f/e/dfe6b4d94f65e1d1ee84fdc2bea45777946c80fa.png)

---

<div class="post-metadata">

**Author:** ![Wobbleyheadedbob](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Wobbleyheadedbob](https://forums.unrealengine.com/u/Wobbleyheadedbob)\
**Post date:** [February 21, 2021, 12:53am UTC](https://forums.unrealengine.com/t/how-to-get-the-project-version-in-a-blueprint/461882/4 "2021-02-21T00:53:43Z")

</div>

Thank you for this. Have added it to my custom plugin library.

---

<div class="post-metadata">

**Author:** ![DryreL](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/dryrel/32/1042339_2.png) [@DryreL](https://forums.unrealengine.com/u/DryreL)\
**Post date:** [July 2, 2022, 9:45am UTC](https://forums.unrealengine.com/t/how-to-get-the-project-version-in-a-blueprint/461882/5 "2022-07-02T09:45:27Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![CudaCal](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@CudaCal](https://forums.unrealengine.com/u/CudaCal)\
**Post date:** [August 21, 2022, 3:40am UTC](https://forums.unrealengine.com/t/how-to-get-the-project-version-in-a-blueprint/461882/6 "2022-08-21T03:40:06Z")

</div>

Don’t know if it is solved…  
You can find a plugin called “[Kickstart Blueprint Library](https://www.unrealengine.com/marketplace/en-US/product/kickstart-blueprint-library)” in UE marketplace.

It has a BP node of “Get Project Version”, it gives you the exact project version string.

 ![02_Get Project Version](https://d3kjluh73b9h9o.cloudfront.net/original/4X/8/f/d/8fd64a28e2dbb6bbee06231bf4163d2fb750074d.png)

Here’s the example video

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/0/8/508c617d3d3a814c629593d8ab0b68d42a587e91.jpeg "UE5 Get Project Version in 1s (BP) | Unreal Engine | Tutorial") ](https://www.youtube.com/watch?v=ZUD_WEsc0k8)

Cheers!

---

<div class="post-metadata">

**Author:** ![ChrixBed](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/chrixbed/32/702407_2.png) [@ChrixBed](https://forums.unrealengine.com/u/ChrixBed)\
**Post date:** [June 28, 2023, 12:11am UTC](https://forums.unrealengine.com/t/how-to-get-the-project-version-in-a-blueprint/461882/7 "2023-06-28T00:11:31Z")

</div>

Hi there, just love the simplicity of the solution you proposed so I made a quick video on how to do it for the C++ noobs like me 🙂

[![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/7/c/b/7cbcf13689b66679106b32801c4efe1709f2d8f7.jpeg "Blueprint to C++ Unreal Engine 5.2") ](https://www.youtube.com/watch?v=GTKA82_rCeY)

---

<div class="post-metadata">

**Author:** ![Kein](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Kein](https://forums.unrealengine.com/u/Kein)\
**Post date:** [November 1, 2024, 11:55pm UTC](https://forums.unrealengine.com/t/how-to-get-the-project-version-in-a-blueprint/461882/8 "2024-11-01T23:55:25Z")

</div>

![image](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/1/b/f1b5dfa1a5ee385ff2689a9ab4ac728ac7cc5cfa.png)

5.0 and below only. No plugins or engine source changes required

---

<div class="post-metadata">

**Author:** ![nande](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/nande/32/1057698_2.png) [@nande](https://forums.unrealengine.com/u/nande)\
**Post date:** [January 2, 2025, 6:11am UTC](https://forums.unrealengine.com/t/how-to-get-the-project-version-in-a-blueprint/461882/9 "2025-01-02T06:11:54Z")

</div>

great solution, thanks!

> [@Vecherka](#):
>
> Which would make more sense as we’re not modifying anything.

blueprint pure might make it less efficient on blueprints. since pure functions will trigger multiple times on certain cases.  
afaik a pure function is not only a function that doesn’t modify anything, that’ll be a const one.

also i think you can use return **MoveTemp** (AppVersion)
