# \#compile-error

**URL:** https://forums.unrealengine.com/tag/compile-error/2178.md

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

---

## [UE5.1 Expecting to find a type to be declared in a module rules named '......'](https://forums.unrealengine.com/t/ue5-1-expecting-to-find-a-type-to-be-declared-in-a-module-rules-named/741811)

<div class="topic-metadata">

**Author:** [@Roy\_Wierer.Seda145](https://forums.unrealengine.com/u/Roy_Wierer.Seda145)\
**Replies:** 16\
**Last updated:** [October 29, 2026, 6:24pm UTC](https://forums.unrealengine.com/t/ue5-1-expecting-to-find-a-type-to-be-declared-in-a-module-rules-named/741811 "2026-10-29T18:24:57Z")

</div>

Compilation error: Expecting to find a type to be declared in a module rules named ‘DlssUtility’ in UE5Rules, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null. This type must derive from the ‘ModuleRules’ type def…

---

## [UE 5.8 C++ project named “Physics” fails to compile because LogPhysics is already defined by the engine ](https://forums.unrealengine.com/t/ue-5-8-c-project-named-physics-fails-to-compile-because-logphysics-is-already-defined-by-the-engine/2731074)

<div class="topic-metadata">

**Author:** [@ilker\_aktug](https://forums.unrealengine.com/u/ilker_aktug)\
**Replies:** 0\
**Last updated:** [June 24, 2026, 2:30pm UTC](https://forums.unrealengine.com/t/ue-5-8-c-project-named-physics-fails-to-compile-because-logphysics-is-already-defined-by-the-engine/2731074 "2026-06-24T14:30:28Z")

</div>

I created a new C++ project in Unreal Engine 5.8 and named the project Physics. The project fails to compile right after creation because the generated project header defines a LogPhysics log category: DECLARE\_LOG\_CATE…

---

## [Metahuman plugin C++ compile error. ](https://forums.unrealengine.com/t/metahuman-plugin-c-compile-error/2689875)

<div class="topic-metadata">

**Author:** [@STRMDrodB](https://forums.unrealengine.com/u/STRMDrodB)\
**Replies:** 0\
**Last updated:** [January 6, 2026, 6:07am UTC](https://forums.unrealengine.com/t/metahuman-plugin-c-compile-error/2689875 "2026-01-06T06:07:44Z")

</div>

After enabling metahuman plugins, compiling c++ start getting errors. All log: UbaServer - Listening on 0.0.0.0:1345 \[1/78\] Compile \[x64\] Module.MetaHumanPipeline.cpp \[2/78\] Compile \[x64\] PerModuleInline.gen.cpp \[3/…

---

## [UE 5.6 project creation fails on Default.rc2 / rc.exe — exit code -1](https://forums.unrealengine.com/t/ue-5-6-project-creation-fails-on-default-rc2-rc-exe-exit-code-1/2595642)

<div class="topic-metadata">

**Author:** [@Agraellah](https://forums.unrealengine.com/u/Agraellah)\
**Replies:** 4\
**Last updated:** [December 29, 2025, 3:56pm UTC](https://forums.unrealengine.com/t/ue-5-6-project-creation-fails-on-default-rc2-rc-exe-exit-code-1/2595642 "2025-12-29T15:56:58Z")

</div>

Hey folks, I’m running into a blocking issue when creating a new C++ project in Unreal Engine 5.6. The project fails to compile during creation (at about 2% progress) with the following error: \[1/48\] Resource Default.…

---

## [CommonUI Hard References Cause Blueprint Compilation Errors on Editor Reload ](https://forums.unrealengine.com/t/commonui-hard-references-cause-blueprint-compilation-errors-on-editor-reload/2653526)

<div class="topic-metadata">

**Author:** [@AppleCiderPants](https://forums.unrealengine.com/u/AppleCiderPants)\
**Replies:** 2\
**Last updated:** [September 10, 2025, 3:21am UTC](https://forums.unrealengine.com/t/commonui-hard-references-cause-blueprint-compilation-errors-on-editor-reload/2653526 "2025-09-10T03:21:47Z")

</div>

Trying to use CommonUI plug-in - On certain BPs, when I make a hard reference to a CommonUI class or Widget Object, then reload the editor, the plug-in fails to load (\[AssetLog\] C:VerifyImport: Failed to find script pack…

---

## [error LNK2019: unresolved external symbol for FOnlineSessionSettings::Get\<class FName\>(class FName,class FName &) ](https://forums.unrealengine.com/t/error-lnk2019-unresolved-external-symbol-for-fonlinesessionsettings-get-class-fname-class-fname-class-fname/2584666)

<div class="topic-metadata">

**Author:** [@MeSmartPepega](https://forums.unrealengine.com/u/MeSmartPepega)\
**Replies:** 2\
**Last updated:** [June 30, 2025, 4:39pm UTC](https://forums.unrealengine.com/t/error-lnk2019-unresolved-external-symbol-for-fonlinesessionsettings-get-class-fname-class-fname-class-fname/2584666 "2025-06-30T16:39:03Z")

</div>

Hi everyone, i am actually starting to lose my mind after trying to fix this for the whole day :slight\_smile: I get following error messages when trying to compile my code: FLobbyData.cpp.obj : error LNK2019: unresolv…

---

## [\[UE5.6 Upgrade\] Error including ScenePrivate.h — Missing 'TranslucentPassResource.h'](https://forums.unrealengine.com/t/ue5-6-upgrade-error-including-sceneprivate-h-missing-translucentpassresource-h/2544304)

<div class="topic-metadata">

**Author:** [@X-perto](https://forums.unrealengine.com/u/X-perto)\
**Replies:** 1\
**Last updated:** [June 24, 2025, 7:46am UTC](https://forums.unrealengine.com/t/ue5-6-upgrade-error-including-sceneprivate-h-missing-translucentpassresource-h/2544304 "2025-06-24T07:46:31Z")

</div>

Hey all, I’m upgrading a project from Unreal Engine 5.5 to 5.6, and I’m hitting a compiler error when trying to include ScenePrivate.h: MeshDrawCommands.h(10,1): error C1083: Cannot open include file: 'TranslucentPassR…

---

## [FNetBitWriter compile error(5.6.0)](https://forums.unrealengine.com/t/fnetbitwriter-compile-error-5-6-0/2546594)

<div class="topic-metadata">

**Author:** [@HollowZerk](https://forums.unrealengine.com/u/HollowZerk)\
**Replies:** 1\
**Last updated:** [June 24, 2025, 5:25am UTC](https://forums.unrealengine.com/t/fnetbitwriter-compile-error-5-6-0/2546594 "2025-06-24T05:25:39Z")

</div>

i’ve been trying some simple stuff in the 5.6 Templates, didnt really change much besides a component on the character now when im trying to compile i get errors which point to ‘NetTokenExportContext.h’ an since its an…

---

## [C4430 In MeshBasicEditFunctions.h](https://forums.unrealengine.com/t/c4430-in-meshbasiceditfunctions-h/2510254)

<div class="topic-metadata">

**Author:** [@pastalapate](https://forums.unrealengine.com/u/pastalapate)\
**Replies:** 7\
**Last updated:** [May 16, 2025, 7:59pm UTC](https://forums.unrealengine.com/t/c4430-in-meshbasiceditfunctions-h/2510254 "2025-05-16T19:59:05Z")

</div>

Hello, When I include and use MeshBasicEditFunctions.h in my header file, it will not compile and instead give the error C4430 on lines 22, 78, 91 and 93. When searching in the source it gives : GENERATED\_BODY(), GENERA…

---

## [(5.4.4) Compile Errors: numerous "Failed to restore" ..."\*.csproj"](https://forums.unrealengine.com/t/5-4-4-compile-errors-numerous-failed-to-restore-csproj/2018829)

<div class="topic-metadata">

**Author:** [@WesBelden](https://forums.unrealengine.com/u/WesBelden)\
**Replies:** 3\
**Last updated:** [December 4, 2024, 7:49am UTC](https://forums.unrealengine.com/t/5-4-4-compile-errors-numerous-failed-to-restore-csproj/2018829 "2024-12-04T07:49:09Z")

</div>

Hello, I found the answer to my question whilst writing this up, so thought I’d post it here in case anyone else has something similar in the future. The solution can be found here: https://learn.microsoft.com/en-us/an…

---

## [I can't move and look around in the game! Please help me!](https://forums.unrealengine.com/t/i-cant-move-and-look-around-in-the-game-please-help-me/2116512)

<div class="topic-metadata">

**Author:** [@Marko7922](https://forums.unrealengine.com/u/Marko7922)\
**Replies:** 1\
**Last updated:** [November 19, 2024, 3:04pm UTC](https://forums.unrealengine.com/t/i-cant-move-and-look-around-in-the-game-please-help-me/2116512 "2024-11-19T15:04:57Z")

</div>

---

## [4.23.1 Package Unable To Compile with Target.cs issue](https://forums.unrealengine.com/t/4-23-1-package-unable-to-compile-with-target-cs-issue/465138)

<div class="topic-metadata">

**Author:** [@cupcakefury](https://forums.unrealengine.com/u/cupcakefury)\
**Replies:** 6\
**Last updated:** [November 1, 2024, 3:43pm UTC](https://forums.unrealengine.com/t/4-23-1-package-unable-to-compile-with-target-cs-issue/465138 "2024-11-01T15:43:34Z")

</div>

Hello all, Whenever I’ve attempted to cook content or package my project, I’ve gotten “ERROR: Unable to compile source files” with error codes CS1001, CS1513, CS1518, CS1022 (Picture below for reference). Same issue in …

---

## [Got compile error when using TEXT(\_\_FUNCTION\_\_) in Engine\\Source\\Runtime\\Core\\Public\\Math\\Matrix.h](https://forums.unrealengine.com/t/got-compile-error-when-using-text-function-in-engine-source-runtime-core-public-math-matrix-h/2085326)

<div class="topic-metadata">

**Author:** [@stevewzhao](https://forums.unrealengine.com/u/stevewzhao)\
**Replies:** 0\
**Last updated:** [October 24, 2024, 1:37pm UTC](https://forums.unrealengine.com/t/got-compile-error-when-using-text-function-in-engine-source-runtime-core-public-math-matrix-h/2085326 "2024-10-24T13:37:27Z")

</div>

I’m trying to add TEXT(FUNCTION) in Engine\\Source\\Runtime\\Core\\Public\\Math\\Matrix.h, but got compile error like this. It is odd that TEXT(FUNCTION) can be used somewhere. Why it can not be added into Matrix.h? And what…

---

## [C++ plugin packaging error problem](https://forums.unrealengine.com/t/c-plugin-packaging-error-problem/1897770)

<div class="topic-metadata">

**Author:** [@Theos82](https://forums.unrealengine.com/u/Theos82)\
**Replies:** 0\
**Last updated:** [June 10, 2024, 3:17pm UTC](https://forums.unrealengine.com/t/c-plugin-packaging-error-problem/1897770 "2024-06-10T15:17:09Z")

</div>

Hello, I would like to package a plugin of mine with a c++ module inside, However I quite don’t understand why the packaging plugin fail on AsyncTask, since it’s a Core module, and I referenced it in the plugin build.cs…

---

## [FGeometryScriptPrimitiveOptions struct causing compile errors](https://forums.unrealengine.com/t/fgeometryscriptprimitiveoptions-struct-causing-compile-errors/719494)

<div class="topic-metadata">

**Author:** [@Leshy271](https://forums.unrealengine.com/u/Leshy271)\
**Replies:** 1\
**Last updated:** [May 22, 2024, 3:39am UTC](https://forums.unrealengine.com/t/fgeometryscriptprimitiveoptions-struct-causing-compile-errors/719494 "2024-05-22T03:39:53Z")

</div>

Hello everyone Recently I started learning C++ for UE5. I also started playing around with geometry scripting and I wanted to try writing some C++ code for it. So I created a child C++ from DynamicMeshActor, but whenev…

---

## [my game can't get compiled with a cuda error](https://forums.unrealengine.com/t/my-game-cant-get-compiled-with-a-cuda-error/1329612)

<div class="topic-metadata">

**Author:** [@Mirodys](https://forums.unrealengine.com/u/Mirodys)\
**Replies:** 5\
**Last updated:** [May 1, 2024, 5:54pm UTC](https://forums.unrealengine.com/t/my-game-cant-get-compiled-with-a-cuda-error/1329612 "2024-05-01T17:54:53Z")

</div>

my game can’t get compiled with a cuda error my config: i5 12450H rtx 4050 16gb ram here is the crash error : UATHelper: Packaging (Windows): LogCUDA: Error: You have requested a CUDA context when the CUDA Driver A…

---

## [Pointer to incomplete class type is not allowed](https://forums.unrealengine.com/t/pointer-to-incomplete-class-type-is-not-allowed/399262)

<div class="topic-metadata">

**Author:** [@Ninjin](https://forums.unrealengine.com/u/Ninjin)\
**Replies:** 10\
**Last updated:** [April 30, 2024, 2:39pm UTC](https://forums.unrealengine.com/t/pointer-to-incomplete-class-type-is-not-allowed/399262 "2024-04-30T14:39:44Z")

</div>

Your problem: You are just doing this awesome tutorial from Udemy, the Battery Collector series, following the docs or any other C++ tutorial in Unreal Engine 4. But on some point you get the error “Pointer to incomplete…

---

## [Error Building iOS Project](https://forums.unrealengine.com/t/error-building-ios-project/485405)

<div class="topic-metadata">

**Author:** [@SanRoll](https://forums.unrealengine.com/u/SanRoll)\
**Replies:** 2\
**Last updated:** [April 24, 2024, 7:14am UTC](https://forums.unrealengine.com/t/error-building-ios-project/485405 "2024-04-24T07:14:08Z")

</div>

Hi, how are you? i need some help to find the problem and solve it. Before i was used my old mac and i can made the build without problem, but now using my new mac allways give errors with the remote build for iOS. I c…

---

## [DelegateSignatureImpl.inl errors when using lambdas in Unreal Engine](https://forums.unrealengine.com/t/delegatesignatureimpl-inl-errors-when-using-lambdas-in-unreal-engine/1816180)

<div class="topic-metadata">

**Author:** [@khoubbieh](https://forums.unrealengine.com/u/khoubbieh)\
**Replies:** 0\
**Last updated:** [April 22, 2024, 10:23pm UTC](https://forums.unrealengine.com/t/delegatesignatureimpl-inl-errors-when-using-lambdas-in-unreal-engine/1816180 "2024-04-22T22:23:06Z")

</div>

I am trying to create a plugin for unreal Engine that creates a file in the output folder of the project and when I try to add any functionality to a button on the UI I get DelegateSignatureImpl.inl errors on compile whi…

---

## [Duplicate definitions with 3rd party glib](https://forums.unrealengine.com/t/duplicate-definitions-with-3rd-party-glib/472215)

<div class="topic-metadata">

**Author:** [@KaffeeeKind](https://forums.unrealengine.com/u/KaffeeeKind)\
**Replies:** 2\
**Last updated:** [April 19, 2024, 4:05am UTC](https://forums.unrealengine.com/t/duplicate-definitions-with-3rd-party-glib/472215 "2024-04-19T04:05:22Z")

</div>

Hi, I wrote a custom module for a plugin that manages adding my own library based on gstreamer. In there I am adding simply all static libraries that come with gstreamer and the include paths. I know that these suffice…

---

## [Any newly created C++ Class always cause errors ue5.2.1](https://forums.unrealengine.com/t/any-newly-created-c-class-always-cause-errors-ue5-2-1/1742827)

<div class="topic-metadata">

**Author:** [@M4tzyy](https://forums.unrealengine.com/u/M4tzyy)\
**Replies:** 2\
**Last updated:** [March 11, 2024, 9:21am UTC](https://forums.unrealengine.com/t/any-newly-created-c-class-always-cause-errors-ue5-2-1/1742827 "2024-03-11T09:21:48Z")

</div>

Hi there, i wanted to try and extend the basic movement component of ue5, but every class I create instantly cause errors to pop up. Following 7 errors always show up, even if I don’t change anything on the generated co…

---

## [UpdateResourceW compile error after adding EOS SDK](https://forums.unrealengine.com/t/updateresourcew-compile-error-after-adding-eos-sdk/468825)

<div class="topic-metadata">

**Author:** [@KhalimWu](https://forums.unrealengine.com/u/KhalimWu)\
**Replies:** 3\
**Last updated:** [February 15, 2024, 4:39pm UTC](https://forums.unrealengine.com/t/updateresourcew-compile-error-after-adding-eos-sdk/468825 "2024-02-15T16:39:48Z")

</div>

I was working fine until yesterday on a proyect that already has lots of classes. Today i decided to try to implement EOS, linked the .lib and suddenly started getting the following errors: Error C3668 ‘UTextureCube::Up…

---

## [Link error using GetVectorParameterByName in C++](https://forums.unrealengine.com/t/link-error-using-getvectorparameterbyname-in-c/287828)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_2db7ca80](https://forums.unrealengine.com/u/anonymous_user_2db7ca80)\
**Replies:** 1\
**Last updated:** [January 28, 2024, 10:38am UTC](https://forums.unrealengine.com/t/link-error-using-getvectorparameterbyname-in-c/287828 "2024-01-28T10:38:51Z")

</div>

The following line of code is generating a link error: const FCollectionVectorParameter\* BoatPosParam = BoatPositionCollection-\>GetVectorParameterByName(TEXT("BoatBos")); Link error: error LNK2019: unresolved external…

---

## [Plugin packaging gives compilation errors for unknown reasons.](https://forums.unrealengine.com/t/plugin-packaging-gives-compilation-errors-for-unknown-reasons/1644173)

<div class="topic-metadata">

**Author:** [@The\_untextured](https://forums.unrealengine.com/u/The_untextured)\
**Replies:** 3\
**Last updated:** [January 26, 2024, 5:47pm UTC](https://forums.unrealengine.com/t/plugin-packaging-gives-compilation-errors-for-unknown-reasons/1644173 "2024-01-26T17:47:18Z")

</div>

I’m trying to package a plugin made in C++ but it is failing for some strange reasons… The log says: UATHelper: Package Plugin Task (Windows): C:\\Users\\theun\\Desktop\\PollutionPlugin\\HostProject\\Plugins\\PollutionPlugin\\…

---

## [Struct Compile Error](https://forums.unrealengine.com/t/struct-compile-error/368010)

<div class="topic-metadata">

**Author:** [@Dealman](https://forums.unrealengine.com/u/Dealman)\
**Replies:** 5\
**Last updated:** [December 13, 2023, 3:09pm UTC](https://forums.unrealengine.com/t/struct-compile-error/368010 "2023-12-13T15:09:08Z")

</div>

I’ve been working on a mod for Squad for a little while and I was experiencing a ton of issues when working with Structures. Stuff would spontaneously reset, editing entries were a pain as the dropdown menus would close …

---

## [How to deal with LNK2005 (redefinition) errors from third party libraries when using together?](https://forums.unrealengine.com/t/how-to-deal-with-lnk2005-redefinition-errors-from-third-party-libraries-when-using-together/1516723)

<div class="topic-metadata">

**Author:** [@lehuan5062](https://forums.unrealengine.com/u/lehuan5062)\
**Replies:** 2\
**Last updated:** [December 11, 2023, 12:08pm UTC](https://forums.unrealengine.com/t/how-to-deal-with-lnk2005-redefinition-errors-from-third-party-libraries-when-using-together/1516723 "2023-12-11T12:08:02Z")

</div>

I have plugin A and plugin B. Plugin A has gpr.lib and grpc.lib. Plugin B has firebase\_firestore.lib. If I only enable one of the plugins, I can package my project normally. If I enable both of the plugins, I can only us…

---

## [PackagingResults: Error: Unknown Cook Failure](https://forums.unrealengine.com/t/packagingresults-error-unknown-cook-failure/1445152)

<div class="topic-metadata">

**Author:** [@capydooGames](https://forums.unrealengine.com/u/capydooGames)\
**Replies:** 0\
**Last updated:** [December 1, 2023, 4:01pm UTC](https://forums.unrealengine.com/t/packagingresults-error-unknown-cook-failure/1445152 "2023-12-01T16:01:33Z")

</div>

help pls LogUObjectHash: Compacting FUObjectHashTables data took 0.46ms LogMainFrame: Project does not require temp target LogLauncherProfile: Found promoted target with matching version at …/…/…/Engine/Binaries/Win…

---

## [Blueprint compilation error with Head Mounted Display nodes](https://forums.unrealengine.com/t/blueprint-compilation-error-with-head-mounted-display-nodes/1326433)

<div class="topic-metadata">

**Author:** [@yetmax](https://forums.unrealengine.com/u/yetmax)\
**Replies:** 6\
**Last updated:** [December 1, 2023, 9:55am UTC](https://forums.unrealengine.com/t/blueprint-compilation-error-with-head-mounted-display-nodes/1326433 "2023-12-01T09:55:10Z")

</div>

Hi! I recently started having blueprint compilation errors in third-party plugins coming from nodes that belong to the Head Mounted Display Function Library, such as Is Head Mounted Display Enabled or Reset Orientation …

---

## [Critical Issue with UEFN engine, Null, String, Not Found](https://forums.unrealengine.com/t/critical-issue-with-uefn-engine-null-string-not-found/1361947)

<div class="topic-metadata">

**Author:** [@PledgedRanger](https://forums.unrealengine.com/u/PledgedRanger)\
**Replies:** 0\
**Last updated:** [November 4, 2023, 6:55am UTC](https://forums.unrealengine.com/t/critical-issue-with-uefn-engine-null-string-not-found/1361947 "2023-11-04T06:55:40Z")

</div>

Reference ID f6764ac0-4001-2f61-c9ff-01b087c30a64 Please select what you are reporting on: Unreal Editor for Fortnite What Type of Bug are you experiencing? Stability Summary Reference ID f6764ac0-4001-2f61-c9ff-01b08…

---

## [hello i tried compiling my game and it gave a cuda error and fail](https://forums.unrealengine.com/t/hello-i-tried-compiling-my-game-and-it-gave-a-cuda-error-and-fail/1329600)

<div class="topic-metadata">

**Author:** [@Mirodys](https://forums.unrealengine.com/u/Mirodys)\
**Replies:** 1\
**Last updated:** [November 1, 2023, 4:06pm UTC](https://forums.unrealengine.com/t/hello-i-tried-compiling-my-game-and-it-gave-a-cuda-error-and-fail/1329600 "2023-11-01T16:06:57Z")

</div>

hello i tried compiling my game and it gave a cuda error and fail can someone help me UATHelper: Packaging (Windows): LogCUDA: Error: You have requested a CUDA context when the CUDA Driver API is not loaded. UATHelper…

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