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"

Config settings for BPs inheriting from Pawn

I'm trying to set up some config variables for my player pawn (a blueprint object), and I'm running into an issue where it just refuses to read values from the DefaultEngine.ini file. I have the Config Variable check mark ticked, and I've made sure that the section in the config is also correct, character for character. I have seen that blueprints that subclass other classes (Actor, ActorComponent, SceneComponent) do work. It would seem that this is a bug, but there might be some secret trick that I am missing. Any help on this would be greatly appreciated :)

Product Version: UE 4.15
more ▼

asked May 23 '17 at 05:28 PM in Bug Reports

avatar image

31 6 4

avatar image Thomas G ♦♦ STAFF May 24 '17 at 04:06 PM

Hello vdwtanner, I was unable to reproduce your issue on our end. I have a couple of questions that will help me narrow down the issue you are experiencing.

  1. Can you reproduce this issue in a new project?

  2. If so could you provide a detailed list of steps, so I can reproduce your issue on our end?

  3. Could you provide a screenshot of your issue?


avatar image vdwtanner May 24 '17 at 05:04 PM

Hi Thomas, I was able to reproduce according to the following steps: 1. Create new blank BP project in 4.15.1

  1. Create a new BP that subclasses Pawn (TestPawn)

  2. Create a new float variable (Test) in TestPawn

  3. Mark Test as a Config Variable

  4. Compile and Save

  5. Open DefaultEngine.ini in the Config directory

  6. Add Section: [/Game/TestPawn.TestPawn_C]

  7. Add key=value pair: Test=123456789

  8. Save DefaultEngine.ini

  9. Close UE4

  10. Reopen project

  11. Open TestPawn

  12. Value of Test is still 0

alt text alt text

capture.png (261.7 kB)
capture2.png (13.8 kB)
avatar image vdwtanner May 25 '17 at 05:01 PM

Just in the sake of completeness, I updated to 4.15.3, and this issue is still present.

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

1 answer: sort voted first

Hello again,

Using the information you provided I was able to reproduce your issue. I have logged it for a report, which you can view here:


You can track the report's status as the issue is reviewed by our development staff. Please be aware that this issue may not be prioritized or fixed soon.

You can workaround this issue however. One solution I took was to make a separate Actor Component Blueprint and made the variable in that blueprint then used the same steps in your repro, and this updated the value as expected. Then I added that Actor Component into the pawn and got the value that way.

Cheers! alt text

screenshot_01.png (60.4 kB)
more ▼

answered Jun 01 '17 at 08:59 PM

avatar image

Thomas G ♦♦ STAFF
7k 64 4 54

avatar image vdwtanner Jun 02 '17 at 12:42 AM

Thanks for the reply! I ended up doing that same thing as a quick fix in the meantime. Obviously not ideal, but certainly better than nothing :)

(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