# Possible Console Command bug?

**URL:** <https://forums.unrealengine.com/t/possible-console-command-bug/30029>\
**Category:** C++\
**Tags:** unreal-engine\
**Created:** [May 13, 2015, 8:17pm UTC](https://forums.unrealengine.com/t/possible-console-command-bug/30029 "2015-05-13T20:17:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_dbb76ee1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_dbb76ee1](https://forums.unrealengine.com/u/anonymous_user_dbb76ee1)\
**Post date:** [May 13, 2015, 8:17pm UTC](https://forums.unrealengine.com/t/possible-console-command-bug/30029/1 "2015-05-13T20:17:07Z")

</div>

Can someone test this : create a console command like the following and see if you can execute it ingame by typing “ModifyAttribute X 1”.

```auto

UFUNCTION(exec)
void ModifyAttribute(const FString& attributeName, float attributeValue);

```

It writes Bad or missing property ‘AttributeName’. I’m not sure why this is happening.  
I’ve done several tests and putting the float as the first argument works, using a FName instead of FString works too. Also, having only the FString as the argument works.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_dbb76ee1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_dbb76ee1](https://forums.unrealengine.com/u/anonymous_user_dbb76ee1)\
**Post date:** [May 19, 2015, 5:24pm UTC](https://forums.unrealengine.com/t/possible-console-command-bug/30029/2 "2015-05-19T17:24:40Z")

</div>

Bump for the Devs
