# \#default-value

**URL:** https://forums.unrealengine.com/tag/default-value/6650.md

[Latest](https://forums.unrealengine.com/latest.md) · [Categories](https://forums.unrealengine.com/categories.md) · [Tags](https://forums.unrealengine.com/tags.md)

---

## [How do I set Default Value for a member variable in C++?](https://forums.unrealengine.com/t/how-do-i-set-default-value-for-a-member-variable-in-c/2711229)

<div class="topic-metadata">

**Author:** [@pagi111](https://forums.unrealengine.com/u/pagi111)\
**Replies:** 2\
**Last updated:** [April 4, 2026, 6:44am UTC](https://forums.unrealengine.com/t/how-do-i-set-default-value-for-a-member-variable-in-c/2711229 "2026-04-04T06:44:10Z")

</div>

Hi, So, if I create a variable in BP, under Details there is the Default Value that we can specify. If this is a var that is Instance Editable, and its value is changed, a small icon appears that allows to reset it to t…

---

## [Widget resetting variables to default](https://forums.unrealengine.com/t/widget-resetting-variables-to-default/485158)

<div class="topic-metadata">

**Author:** [@Althaen](https://forums.unrealengine.com/u/Althaen)\
**Replies:** 10\
**Last updated:** [April 1, 2026, 12:06pm UTC](https://forums.unrealengine.com/t/widget-resetting-variables-to-default/485158 "2026-04-01T12:06:29Z")

</div>

I have had this issue many times before and I am getting it again. Why does this issue continue to crop up? Has anyone figured out the fundamental causes? I can’t complete my project with this issue.

---

## [Is it possible to set a Format Text that can be referenced in Class Default Value?](https://forums.unrealengine.com/t/is-it-possible-to-set-a-format-text-that-can-be-referenced-in-class-default-value/2685639)

<div class="topic-metadata">

**Author:** [@Extrahdmi](https://forums.unrealengine.com/u/Extrahdmi)\
**Replies:** 7\
**Last updated:** [December 20, 2025, 3:38am UTC](https://forums.unrealengine.com/t/is-it-possible-to-set-a-format-text-that-can-be-referenced-in-class-default-value/2685639 "2025-12-20T03:38:06Z")

</div>

I would like to assign a weapon description created using Format Text based on parameters to a Text variable, but is it possible to make this in a form that can be referenced using Class Default Value? Editing such vari…

---

## [\[Bug w/ProjectFiles\] Default Value of blueprint reset to parent's default](https://forums.unrealengine.com/t/bug-w-projectfiles-default-value-of-blueprint-reset-to-parents-default/337813)

<div class="topic-metadata">

**Author:** [@Frozenfire](https://forums.unrealengine.com/u/Frozenfire)\
**Replies:** 30\
**Last updated:** [November 27, 2024, 2:06am UTC](https://forums.unrealengine.com/t/bug-w-projectfiles-default-value-of-blueprint-reset-to-parents-default/337813 "2024-11-27T02:06:10Z")

</div>

This is in regard to a widely reported bug of blueprint resetting itself to parent BP’s value. I’m creating a new thread because I’ve managed to identify the key factor that causes it and have included the project files. …

---

## [TMap Problem with default Values](https://forums.unrealengine.com/t/tmap-problem-with-default-values/378916)

<div class="topic-metadata">

**Author:** [@Nachtmahr](https://forums.unrealengine.com/u/Nachtmahr)\
**Replies:** 5\
**Last updated:** [April 27, 2023, 2:48am UTC](https://forums.unrealengine.com/t/tmap-problem-with-default-values/378916 "2023-04-27T02:48:19Z")

</div>

The Problem: I exposed a TMap to be used in Blueprints. I assigned a couple default Values and Place the Actor into the Scene and everything appears as it should. There are 3 Problems that occour when you start to mess …

---

## [Changing class defaults (Chaos Vehicles) at runtime](https://forums.unrealengine.com/t/changing-class-defaults-chaos-vehicles-at-runtime/749992)

<div class="topic-metadata">

**Author:** [@DevbyMoonlight](https://forums.unrealengine.com/u/DevbyMoonlight)\
**Replies:** 4\
**Last updated:** [March 14, 2023, 8:48pm UTC](https://forums.unrealengine.com/t/changing-class-defaults-chaos-vehicles-at-runtime/749992 "2023-03-14T20:48:53Z")

</div>

It appears that the stats of Chaos Vehicles based vehicles are all in class defaults and private. I can’t be the only one who wants to add a vehicle upgrade system? How are you meant to get around this?

---

## [Saving Child Actor Component Default Values](https://forums.unrealengine.com/t/saving-child-actor-component-default-values/740646)

<div class="topic-metadata">

**Author:** [@Crossroad1000](https://forums.unrealengine.com/u/Crossroad1000)\
**Replies:** 0\
**Last updated:** [January 2, 2023, 6:35pm UTC](https://forums.unrealengine.com/t/saving-child-actor-component-default-values/740646 "2023-01-02T18:35:31Z")

</div>

Hi, I’m struggling with my actor’s child components that I want to save and load. Currently, I have an actor with different child actor components inside of it that, all include different values in the Child Actor Temp…

---

## [Default Values Plugin Released](https://forums.unrealengine.com/t/default-values-plugin-released/509555)

<div class="topic-metadata">

**Author:** [@BenVlodgi](https://forums.unrealengine.com/u/BenVlodgi)\
**Replies:** 1\
**Last updated:** [March 30, 2022, 1:35pm UTC](https://forums.unrealengine.com/t/default-values-plugin-released/509555 "2022-03-30T13:35:35Z")

</div>

Default Values Plugin on Epic Games Marketplace Hello! I’ve been working in Unreal Engine full time since 2016. This is the first plugin I’ve released. On almost every project, I create some version of the library i…

---

## [\[4.25.2-4\] Why does my memory spike when I try to set the default values of my structures?](https://forums.unrealengine.com/t/4-25-2-4-why-does-my-memory-spike-when-i-try-to-set-the-default-values-of-my-structures/490407)

<div class="topic-metadata">

**Author:** [@Erdrik](https://forums.unrealengine.com/u/Erdrik)\
**Replies:** 1\
**Last updated:** [October 30, 2021, 12:42am UTC](https://forums.unrealengine.com/t/4-25-2-4-why-does-my-memory-spike-when-i-try-to-set-the-default-values-of-my-structures/490407 "2021-10-30T00:42:39Z")

</div>

I have a structure that I compiled in C++, and I use it in alot of widgets in the editor. In C++, I recently changed the default values of the variables in the structure, but the changes were not reflected in the editor…

---

## [Save game always has default values](https://forums.unrealengine.com/t/save-game-always-has-default-values/476543)

<div class="topic-metadata">

**Author:** [@AgentArachnid66](https://forums.unrealengine.com/u/AgentArachnid66)\
**Replies:** 0\
**Last updated:** [December 30, 2020, 10:20pm UTC](https://forums.unrealengine.com/t/save-game-always-has-default-values/476543 "2020-12-30T22:20:03Z")

</div>

I’m trying to make a simple saving and loading system and have been following the Docs for help. I have the following code: // Declaration in the .h file UCustomSave\* saveGame; .cpp file // Loads the topology from a …

---

## [Child blueprint setting C++ object references to null](https://forums.unrealengine.com/t/child-blueprint-setting-c-object-references-to-null/457716)

<div class="topic-metadata">

**Author:** [@Althaen](https://forums.unrealengine.com/u/Althaen)\
**Replies:** 0\
**Last updated:** [October 29, 2019, 5:56am UTC](https://forums.unrealengine.com/t/child-blueprint-setting-c-object-references-to-null/457716 "2019-10-29T05:56:43Z")

</div>

I create a default sub object in the constructor of my game instance. If I check if it’s null in the constructor it says that it isn’t. However when I try to access the object in the child blueprint the reference is null…

---

## [Reload CDO values from package?](https://forums.unrealengine.com/t/reload-cdo-values-from-package/456797)

<div class="topic-metadata">

**Author:** [@broly](https://forums.unrealengine.com/u/broly)\
**Replies:** 0\
**Last updated:** [October 11, 2019, 9:14am UTC](https://forums.unrealengine.com/t/reload-cdo-values-from-package/456797 "2019-10-11T09:14:57Z")

</div>

My aim is make difficulty system that will edit CDO values for any specified class. It’s fastest way to make any properties that will dependent to difficulty by game designer (Class. Property name. Modifier - mult/add). …

---

## [Can't set Default Value to variable](https://forums.unrealengine.com/t/cant-set-default-value-to-variable/453566)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_ffd9206a1](https://forums.unrealengine.com/u/anonymous_user_ffd9206a1)\
**Replies:** 2\
**Last updated:** [August 8, 2019, 1:26pm UTC](https://forums.unrealengine.com/t/cant-set-default-value-to-variable/453566 "2019-08-08T13:26:09Z")

</div>

Having an issue where I can’t assign a default value to this variable since it’s greyed out. Any ideas?

---

## [Instance editable map of animations resets to defaults?](https://forums.unrealengine.com/t/instance-editable-map-of-animations-resets-to-defaults/444802)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_6e65e547](https://forums.unrealengine.com/u/anonymous_user_6e65e547)\
**Replies:** 1\
**Last updated:** [March 7, 2019, 12:01pm UTC](https://forums.unrealengine.com/t/instance-editable-map-of-animations-resets-to-defaults/444802 "2019-03-07T12:01:09Z")

</div>

Hi there, I have a map enum → anim sequence variable, that is instance editable. I set a default value of this variable (pic 1). I place my blueprint to the scene and change the values of animation assets (pic 2) On B…

---

## [The default value of a variable promoted to a variable is always 0](https://forums.unrealengine.com/t/the-default-value-of-a-variable-promoted-to-a-variable-is-always-0/443460)

<div class="topic-metadata">

**Author:** [@LyuroCN](https://forums.unrealengine.com/u/LyuroCN)\
**Replies:** 0\
**Last updated:** [February 15, 2019, 2:29pm UTC](https://forums.unrealengine.com/t/the-default-value-of-a-variable-promoted-to-a-variable-is-always-0/443460 "2019-02-15T14:29:39Z")

</div>

Steps to reproduce the bug \*\* : 1, Promoted to a variable from any note 2, Modify the default values 3, Compile , Watch this value 4, Play the game Problem: Default Value have been set. But \[Watch this value\] displ…

---

## [Programmatically Set Default Values](https://forums.unrealengine.com/t/programmatically-set-default-values/390903)

<div class="topic-metadata">

**Author:** [@Covert\_Owl](https://forums.unrealengine.com/u/Covert_Owl)\
**Replies:** 4\
**Last updated:** [January 4, 2019, 10:49pm UTC](https://forums.unrealengine.com/t/programmatically-set-default-values/390903 "2019-01-04T22:49:27Z")

</div>

Modding for Ark Survival. I have developed a Total Conversion mod. Seems like whenever source blueprint files are updated, I need to manually apply all the default variables again. How can I set the default variables f…

---

## [Problem about config variables my config variables which have non english names](https://forums.unrealengine.com/t/problem-about-config-variables-my-config-variables-which-have-non-english-names/440051)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_a6687b37](https://forums.unrealengine.com/u/anonymous_user_a6687b37)\
**Replies:** 4\
**Last updated:** [January 2, 2019, 1:28pm UTC](https://forums.unrealengine.com/t/problem-about-config-variables-my-config-variables-which-have-non-english-names/440051 "2019-01-02T13:28:35Z")

</div>

Hello (or in our language سلام (read like this salam) ) my Problem about config variables my config variables which have non english names not load with their default value that i write in config files like DefaultGame.i…

---

## [Audio Component Default Value Help](https://forums.unrealengine.com/t/audio-component-default-value-help/433870)

<div class="topic-metadata">

**Author:** [@MrMacAttack](https://forums.unrealengine.com/u/MrMacAttack)\
**Replies:** 1\
**Last updated:** [November 15, 2018, 3:46pm UTC](https://forums.unrealengine.com/t/audio-component-default-value-help/433870 "2018-11-15T15:46:51Z")

</div>

I don’t know or understand how the default value can be empty even through I have audio in the folders. Anyone know how to add audio for the default value?

---

## [Get default value on component](https://forums.unrealengine.com/t/get-default-value-on-component/426508)

<div class="topic-metadata">

**Author:** [@GlassBeaver](https://forums.unrealengine.com/u/GlassBeaver)\
**Replies:** 10\
**Last updated:** [June 4, 2018, 3:13pm UTC](https://forums.unrealengine.com/t/get-default-value-on-component/426508 "2018-06-04T15:13:04Z")

</div>

I have a component that inherits from a custom C++ class which in turn inherits from UActorComponent. This component contains a Damage variable of type FVector2D, and I’d like to get the default value that is set via Blu…

---

## [Setting a Default value of a c++ class in Editor](https://forums.unrealengine.com/t/setting-a-default-value-of-a-c-class-in-editor/409181)

<div class="topic-metadata">

**Author:** [@hermi1991](https://forums.unrealengine.com/u/hermi1991)\
**Replies:** 1\
**Last updated:** [November 10, 2017, 10:57am UTC](https://forums.unrealengine.com/t/setting-a-default-value-of-a-c-class-in-editor/409181 "2017-11-10T10:57:37Z")

</div>

Hey, i have a Actor with an attached Camera. This Camera is own Class inherited of CameraComponent to set some Default variables for every camera we use. The Problem is the Setting of these values. if i create a Blueprin…

---

## [何故Set(変数型)は複数のデフォルト値を持てない？](https://forums.unrealengine.com/t/set/409241)

<div class="topic-metadata">

**Author:** [@KRNKRS](https://forums.unrealengine.com/u/KRNKRS)\
**Replies:** 1\
**Last updated:** [November 10, 2017, 10:04am UTC](https://forums.unrealengine.com/t/set/409241 "2017-11-10T10:04:18Z")

</div>

Setの値をデフォルトで複数もたせようとした場合、以下のようなエラーを吐かれました。 「既にデフォルト値あるからデフォルト値の追加はできないよ」ということだそうですが、なぜSetはそういった仕様になっているのでしょうか。 \[こちらのリファレンス\]\[2\]の方を調べてみたところ、デフォルト値は複数も出来るようなのですが、私の方で何かしら設定が必要なのでしょうか。(値自体はenum値でもint値でも型に関わらず起こりま…

---

## [Specify default World Settings (or bulk change them)?](https://forums.unrealengine.com/t/specify-default-world-settings-or-bulk-change-them/374690)

<div class="topic-metadata">

**Author:** [@Pyronious](https://forums.unrealengine.com/u/Pyronious)\
**Replies:** 5\
**Last updated:** [October 21, 2017, 10:26pm UTC](https://forums.unrealengine.com/t/specify-default-world-settings-or-bulk-change-them/374690 "2017-10-21T22:26:10Z")

</div>

We have a game that uses custom Lightmass settings (configured in World Settings). Is there a way to force our custom values to be the default values in the World Settings for each map? Or a way to set them all at once? …

---

## [Defaults set in character blueprint do not override c++](https://forums.unrealengine.com/t/defaults-set-in-character-blueprint-do-not-override-c/311824)

<div class="topic-metadata">

**Author:** [@2rusbekov](https://forums.unrealengine.com/u/2rusbekov)\
**Replies:** 18\
**Last updated:** [September 21, 2017, 10:33pm UTC](https://forums.unrealengine.com/t/defaults-set-in-character-blueprint-do-not-override-c/311824 "2017-09-21T22:33:15Z")

</div>

Blueprint doesnt overwrite default values of properties.

---

## [UStaticMeshComponent default value can only be set in data-only blueprint](https://forums.unrealengine.com/t/ustaticmeshcomponent-default-value-can-only-be-set-in-data-only-blueprint/397835)

<div class="topic-metadata">

**Author:** [@NanakoAC](https://forums.unrealengine.com/u/NanakoAC)\
**Replies:** 2\
**Last updated:** [July 25, 2017, 2:42pm UTC](https://forums.unrealengine.com/t/ustaticmeshcomponent-default-value-can-only-be-set-in-data-only-blueprint/397835 "2017-07-25T14:42:22Z")

</div>

When setting the default value for a property of type UStaticMeshComponent\*, an asset can be selected when a blueprint is in data-only mode, but NOT when it is in the full editor. To repro: Make a C++ class, inherit f…

---

## [\[BUG\] 4.7.1 - The default value for a Linear Color parameter inside a Blueprint function parameter is a text field instead of a color picker and RGBA floats](https://forums.unrealengine.com/t/bug-4-7-1-the-default-value-for-a-linear-color-parameter-inside-a-blueprint-function-parameter-is-a-text-field-instead-of-a-color-picker-and-rgba-floats/312780)

<div class="topic-metadata">

**Author:** [@Onoa](https://forums.unrealengine.com/u/Onoa)\
**Replies:** 13\
**Last updated:** [June 15, 2017, 9:41pm UTC](https://forums.unrealengine.com/t/bug-4-7-1-the-default-value-for-a-linear-color-parameter-inside-a-blueprint-function-parameter-is-a-text-field-instead-of-a-color-picker-and-rgba-floats/312780 "2017-06-15T21:41:34Z")

</div>

The default value for a Linear Color parameter inside a Blueprint function parameter is a text field instead of a color picker and RGBA floats It should display the color picker and allow to enter RGBA values manually. …

---

## [Can't Set Default Value in variable](https://forums.unrealengine.com/t/cant-set-default-value-in-variable/302449)

<div class="topic-metadata">

**Author:** [@Xendran](https://forums.unrealengine.com/u/Xendran)\
**Replies:** 26\
**Last updated:** [May 7, 2017, 11:38am UTC](https://forums.unrealengine.com/t/cant-set-default-value-in-variable/302449 "2017-05-07T11:38:00Z")

</div>

When i try to set the default value of itemBP here: http://puu.sh/dJ6tu/bccdb7b6d2.png Clicking it does nothing and leaves it as None.

---

## [Bug: Unable to Set "default value" of "Vector2D" in Blueprint Macros](https://forums.unrealengine.com/t/bug-unable-to-set-default-value-of-vector2d-in-blueprint-macros/368693)

<div class="topic-metadata">

**Author:** [@Neilz0r](https://forums.unrealengine.com/u/Neilz0r)\
**Replies:** 2\
**Last updated:** [January 21, 2017, 10:06pm UTC](https://forums.unrealengine.com/t/bug-unable-to-set-default-value-of-vector2d-in-blueprint-macros/368693 "2017-01-21T22:06:59Z")

</div>

A quick google search revealed that in order to set a default value of a Vector, you just type this: “0.1, 0.2, 0.3” and it works just fine. However, doing so with a Vector2D doesn’t work. I’m assuming either, I’m doin…

---

## [Default Value for Audio Component Not Working](https://forums.unrealengine.com/t/default-value-for-audio-component-not-working/355488)

<div class="topic-metadata">

**Author:** [@Benamax](https://forums.unrealengine.com/u/Benamax)\
**Replies:** 3\
**Last updated:** [November 12, 2016, 7:01pm UTC](https://forums.unrealengine.com/t/default-value-for-audio-component-not-working/355488 "2016-11-12T19:01:28Z")

</div>

I’ve been trying to make it so you hear this static during this game, once you get to the end of this hallway, the static stops. I’ve used Audio Components to try to accomplish this. However, I can’t set the Default Valu…

---

## [How to set Default Values for Vectors in Custom Event?](https://forums.unrealengine.com/t/how-to-set-default-values-for-vectors-in-custom-event/329632)

<div class="topic-metadata">

**Author:** [@Artax](https://forums.unrealengine.com/u/Artax)\
**Replies:** 9\
**Last updated:** [September 24, 2016, 7:29pm UTC](https://forums.unrealengine.com/t/how-to-set-default-values-for-vectors-in-custom-event/329632 "2016-09-24T19:29:20Z")

</div>

Hello everybody, just a short question: If I create a custom event, and I want to give my input parameters some default values, I can do that in the details section. Or at least I can do it for integers, floats and bool…

---

## [How i can, set default rotation any vector!=0 in UE4 editor](https://forums.unrealengine.com/t/how-i-can-set-default-rotation-any-vector-0-in-ue4-editor/370727)

<div class="topic-metadata">

**Author:** [@aleksvander](https://forums.unrealengine.com/u/aleksvander)\
**Replies:** 1\
**Last updated:** [September 17, 2016, 10:35am UTC](https://forums.unrealengine.com/t/how-i-can-set-default-rotation-any-vector-0-in-ue4-editor/370727 "2016-09-17T10:35:05Z")

</div>

Hello people. Could you help me find solution for next question: I’m making game in ‘top down’ style. And … i used PaperPlayer component and ‘gravity systems’. The problem is that, when i place some a sprite in level edi…

[Next page](https://forums.unrealengine.com/tag/default-value/6650.md?match_all_tags=true&page=1&tags%5B%5D=default-value)
