x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How to get the Project Version for use in blueprints?

Hello, is there any way to get the project version placed in the "Project Settings" and use it in BP?

Product Version: Not Selected
Tags:
more ▼

asked Dec 11 '14 at 12:33 PM in Blueprint Scripting

avatar image

Humberto
126 17 16 23

avatar image Humberto Apr 24 '15 at 04:04 PM

Nada Ainda :(

avatar image Serellyn May 01 '15 at 11:37 AM

Working on a tutorial, I'll post this ASAP

avatar image Alunnite May 23 '18 at 02:19 PM

I had some compile errors when trying to build this code. Needed to change FriendlyName to DisplayName

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

3 answers: sort voted first

I've created a tutorial to return your project version with a blueprint node, you can find it right here: https://www.youtube.com/watch?v=4UVdL4gHTOw

more ▼

answered May 04 '15 at 12:45 PM

avatar image

Serellyn
247 27 28 39

avatar image Humberto May 06 '15 at 09:06 AM

nice (y) ç.ç. you've gained a new subscriber! :D

avatar image smilingrob Nov 17 '15 at 03:46 AM

Too long didn't watch?:

 FString ProjectVersion;
 GConfig->GetString(
     TEXT("/Script/EngineSettings.GeneralProjectSettings"),
     TEXT("ProjectVersion"),
     ProjectVersion,
     GGameIni
     );
 return ProjectVersion;
avatar image Estape Aug 14 '17 at 04:49 AM

Not worked on 4.16.

avatar image Fjellgnu Aug 14 '17 at 02:22 PM

Follow the instructions in the video and you will get it to work.

avatar image mkeck Jan 06 '18 at 01:24 AM

This is not working in 4.18 It works inside the editor if you test it, even in standalone, but if you package it and start the game, this does not work. It's a shame that this standard functionality is not implemented inside the engine.

avatar image Humberto Oct 10 '18 at 01:15 PM

not working in 4.20.3 also link text

avatar image OverRated_AU Oct 28 '18 at 09:59 AM

It works just fine in 4.20.3 it must be your code.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

I would like to know this too. It's a shame this question has been ignored for such a long time.

more ▼

answered Apr 14 '15 at 03:10 PM

avatar image

Serellyn
247 27 28 39

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Bump this question.

more ▼

answered Jan 24 '15 at 06:01 PM

avatar image

kodmistrz
334 54 83 103

avatar image Serellyn Nov 30 '15 at 08:51 PM

You don't have to bump the question, the question is answered. You can take a look at the Youtube video.

avatar image Avelworldcreator Jun 27 '17 at 05:14 AM

I think he means that Epic has ignored adding this feature for a long time. There is an Engine Version node already built in, but no project version node built in. While your video is good what you doing is known as a "hack". The fault lies with Epic with this one.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question