# Can't read variables from DefaultEngine.ini file. Going crazy!

**URL:** <https://forums.unrealengine.com/t/cant-read-variables-from-defaultengine-ini-file-going-crazy/2038575>\
**Category:** Blueprint\
**Tags:** variables, ini, unreal-engine, config, Blueprint, question\
**Created:** [September 26, 2024, 1:33am UTC](https://forums.unrealengine.com/t/cant-read-variables-from-defaultengine-ini-file-going-crazy/2038575 "2024-09-26T01:33:58Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Ram07](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Ram07](https://forums.unrealengine.com/u/Ram07)\
**Post date:** [October 9, 2024, 6:55am UTC](https://forums.unrealengine.com/t/cant-read-variables-from-defaultengine-ini-file-going-crazy/2038575/6 "2024-10-09T06:55:47Z")

</div>

Based on few other forum posts, which i will link, this is only working in actors and not on player controllers or maybe pawns in your reason. What we can do is, try the same setup in an bp actor, put it in level so that config values are loaded and then on actor’s begin play, cast to bp canvas pawn and set values?

[How to configure ini file value for a Blueprint Config Variable? - General / Feedback & Requests - Epic Developer Community Forums (unrealengine.com)](https://forums.unrealengine.com/t/how-to-configure-ini-file-value-for-a-blueprint-config-variable/312479/6)

[Does “Config Variable” work in packaged game as well? - Development / Programming & Scripting - Epic Developer Community Forums (unrealengine.com)](https://forums.unrealengine.com/t/does-config-variable-work-in-packaged-game-as-well/1329683/2)

---

_[View the full topic](https://forums.unrealengine.com/t/cant-read-variables-from-defaultengine-ini-file-going-crazy/2038575)._
