# Bad\_type on calling C++ function from blueprint

**URL:** <https://forums.unrealengine.com/t/bad-type-on-calling-c-function-from-blueprint/302578>\
**Category:** Blueprint\
**Tags:** calling-a-function, unreal-engine, bug-report, editor, CPP, Blueprint, question\
**Created:** [December 28, 2014, 5:02pm UTC](https://forums.unrealengine.com/t/bad-type-on-calling-c-function-from-blueprint/302578 "2014-12-28T17:02:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oldfrith\_1](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Oldfrith\_1](https://forums.unrealengine.com/u/Oldfrith_1)\
**Post date:** [December 28, 2014, 5:02pm UTC](https://forums.unrealengine.com/t/bad-type-on-calling-c-function-from-blueprint/302578/1 "2014-12-28T17:02:24Z")

</div>

I have had this problem for a long time now. On almost all atomic data types - from uint32 to in8, creating a function with those inputs or return types will always cause the editor to show them as bad\_type (or, if they are within a struct, they won’t show up at all).

[Photos for clarification](http://imgur.com/a/hStZR)

---

<div class="post-metadata">

**Author:** ![Shadowriver](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Shadowriver](https://forums.unrealengine.com/u/Shadowriver)\
**Post date:** [December 28, 2014, 5:18pm UTC](https://forums.unrealengine.com/t/bad-type-on-calling-c-function-from-blueprint/302578/2 "2014-12-28T17:18:25Z")

</div>

It’s not bug, rether design limitation, official statement from epic is reflation system does not support all int types for simplification reasons

> **[Native Integer Types behave differently in Blueprint](https://forums.unrealengine.com/questions/51249/bug-native-integer-types-behave-differently-in-blu.html)**
>
> That how blueprint reacts to unsupported type (Blueprint system don’t know how to handle type), there other int types which does not work (like int8). It’s a known “bug”

Use int32 for any blueprint interactions
