# C++ GameplayEffect Error

**URL:** <https://forums.unrealengine.com/t/c-gameplayeffect-error/661324>\
**Category:** Programming & Scripting\
**Tags:** unreal-engine\
**Created:** [October 3, 2022, 9:33am UTC](https://forums.unrealengine.com/t/c-gameplayeffect-error/661324 "2022-10-03T09:33:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bssnake](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bssnake/32/913032_2.png) [@Bssnake](https://forums.unrealengine.com/u/Bssnake)\
**Post date:** [October 3, 2022, 9:33am UTC](https://forums.unrealengine.com/t/c-gameplayeffect-error/661324/1 "2022-10-03T09:33:03Z")

</div>

I encountered a fatal problem. My GE files cannot be compiled. I recreated a project but failed to solve the problem.  
This is what happened:  
I wrote constructors for several GE structures, and then the problem occurred. I always reported the following problems:; I have nearly restored the modified code, but the problem remains.  
The error is as follows:

Severity Code Description Project File Line Suppress Status  
Error C3861 “FActiveGameplayEffectQueryCustomMatch\_Dynamic\_DelegateWrapper”: Cannot find identifier TTTT  
…\Public\GameplayEffect.h 1339 (Error \* 2)

Severity Code Description Project File Line Suppress Status  
Error (Activity) E0077 This declaration has no storage class or type specifier UE4  
…\Public\GameplayEffect.h 1435 (Error \* very lot)

Severity Code Description Project File Line Suppress Status  
Error C4430 missing type specifier - int assumed. Note: C++does not support the default int TTTT  
…\Public\GameplayEffect.h 1519 (Error \* very lot)

* * *

I had a discussion, but his method did not solve my problem；  
\< [DECLARE\_DYNAMIC\_DELEGATE\_ThreeParams() Error](https://forums.unrealengine.com/t/declare-dynamic-delegate-threeparams-error/448468)\>

If there is no way, is there a way to reset the whole GAS？

---

<div class="post-metadata">

**Author:** ![Bssnake](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bssnake/32/913032_2.png) [@Bssnake](https://forums.unrealengine.com/u/Bssnake)\
**Post date:** [October 3, 2022, 9:48am UTC](https://forums.unrealengine.com/t/c-gameplayeffect-error/661324/2 "2022-10-03T09:48:33Z")

</div>

I copied the source code on GitHub, but the problem remains unsolved;  
error code：  
Error C2664 ‘UGameplayEffect:: UGameplayEffect (const UGameplayEffect&)’: Cannot convert parameter 1 from ‘const FObjectInitializer’ to ‘const UGameplayEffect&’  
Error C2143 Syntax error: missing ‘;’ (in front of “”)  
\* 4  
Error C4430 Missing type specifier - int assumed. Note: C++does not support the default int  
\* n  
Error MSB3073 The command “D: 3D Unreal engine UE\_4.27 Engine Build BatchFiles Build. bat” TTTTEditor Win64 Development - Project=“E: Total project Ue Project TTTT TTTT. upproject” - WaitMutex - FromMsBuild "has exited with code 6.  
Error C2664 ‘UGameplayEffect:: UGameplayEffect (const UGameplayEffect&)’: Cannot convert parameter 1 from ‘FVTableHelper’ to ‘const UGameplayEffect&’  
Error C2664 ‘UGameplayEffect:: UGameplayEffect (const UGameplayEffect&)’: Cannot convert parameter 1 from ‘const FObjectInitializer’ to ‘const UGameplayEffect&’  
Error C3861 ‘FActiveGameplayEffectQueryCustomMatch\_Dynamic\_DelegateWrapper’: identifier not found  
Error C3861 ‘FActiveGameplayEffectQueryCustomMatch\_Dynamic\_DelegateWrapper’: identifier not found

This problem made me lose a lot of hair  
I need help

---

<div class="post-metadata">

**Author:** ![Bssnake](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/bssnake/32/913032_2.png) [@Bssnake](https://forums.unrealengine.com/u/Bssnake)\
**Post date:** [October 14, 2022, 3:41pm UTC](https://forums.unrealengine.com/t/c-gameplayeffect-error/661324/3 "2022-10-14T15:41:19Z")

</div>

I have reinstalled the engine, and the problem has been solved  
//Remake UE 😅
