# C++

**URL:** https://forums.unrealengine.com/c/development-discussion/programming-scripting/c-programming/29.md?page=12

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

**Page:** 13

---

## [Compile error: '\_\_faststorefence': is not a member of 'FWindowsPlatformMisc'](https://forums.unrealengine.com/t/compile-error-faststorefence-is-not-a-member-of-fwindowsplatformmisc/405260)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_24cff47d](https://forums.unrealengine.com/u/anonymous_user_24cff47d)\
**Replies:** 9\
**Last updated:** [April 9, 2026, 11:16am UTC](https://forums.unrealengine.com/t/compile-error-faststorefence-is-not-a-member-of-fwindowsplatformmisc/405260 "2026-04-09T11:16:01Z")

</div>

I get below compile error in DebugGame but not in DebugGame\_Editor. There is no other information so any insights would be appreciated. 2\>C:\\Program Files\\Epic Games\\UE\_4.16\\Engine\\Source\\Runtime\\Core\\Public\\Async/Async…

---

## [How to move an actor using the cursor (Mathematics)](https://forums.unrealengine.com/t/how-to-move-an-actor-using-the-cursor-mathematics/2712419)

<div class="topic-metadata">

**Author:** [@Babush61](https://forums.unrealengine.com/u/Babush61)\
**Replies:** 3\
**Last updated:** [April 8, 2026, 4:57pm UTC](https://forums.unrealengine.com/t/how-to-move-an-actor-using-the-cursor-mathematics/2712419 "2026-04-08T16:57:16Z")

</div>

Hello. The cursor is in screen space, the 3D object is in 3D space. I know what I need to do: construct an infinite plane (FPlane) project a ray in the direction of the cursor (DeprojectScreenPositionToWorld) find th…

---

## [QueueInstantMovementEffect does not work with rotation for teleport](https://forums.unrealengine.com/t/queueinstantmovementeffect-does-not-work-with-rotation-for-teleport/2712217)

<div class="topic-metadata">

**Author:** [@ZkarmaKun](https://forums.unrealengine.com/u/ZkarmaKun)\
**Replies:** 1\
**Last updated:** [April 8, 2026, 2:46pm UTC](https://forums.unrealengine.com/t/queueinstantmovementeffect-does-not-work-with-rotation-for-teleport/2712217 "2026-04-08T14:46:44Z")

</div>

I am facing an issue with GAS, I need to teleport my character to a specific location with a specific rotation, but it seems there is no way to do this currently, Queue or ScheduleInstantMovementEffect do not seem to tak…

---

## [Why is Visual Studio 2022 not picking up any of UE's includes ](https://forums.unrealengine.com/t/why-is-visual-studio-2022-not-picking-up-any-of-ues-includes/2712105)

<div class="topic-metadata">

**Author:** [@odetariisfine](https://forums.unrealengine.com/u/odetariisfine)\
**Replies:** 5\
**Last updated:** [April 8, 2026, 12:13pm UTC](https://forums.unrealengine.com/t/why-is-visual-studio-2022-not-picking-up-any-of-ues-includes/2712105 "2026-04-08T12:13:24Z")

</div>

I have just installed UE 5.7 created a project and opened it up in Visual Studio 2022. The issue is, opening up the project just opens a but load of errors. I created the project using EU’s First Person template just to…

---

## [UAnimSequence::GetBoneTransform not working at all](https://forums.unrealengine.com/t/uanimsequence-getbonetransform-not-working-at-all/2101623)

<div class="topic-metadata">

**Author:** [@Zieg\_Reborn](https://forums.unrealengine.com/u/Zieg_Reborn)\
**Replies:** 1\
**Last updated:** [April 8, 2026, 3:54am UTC](https://forums.unrealengine.com/t/uanimsequence-getbonetransform-not-working-at-all/2101623 "2026-04-08T03:54:40Z")

</div>

So I am trying to read the transform of a specific bone inside an animation sequence at a given time, and I am testing with the Root bone on an anim sequence that I know has Root Animation. I’ve tried with multiple anim …

---

## [Developing a game, Looking for Advice, maybe some people if they would like to help. :\] ](https://forums.unrealengine.com/t/developing-a-game-looking-for-advice-maybe-some-people-if-they-would-like-to-help/2711851)

<div class="topic-metadata">

**Author:** [@Rave\_898](https://forums.unrealengine.com/u/Rave_898)\
**Replies:** 2\
**Last updated:** [April 7, 2026, 12:56pm UTC](https://forums.unrealengine.com/t/developing-a-game-looking-for-advice-maybe-some-people-if-they-would-like-to-help/2711851 "2026-04-07T12:56:29Z")

</div>

So I am developing a game, it is essentially to be a VR Sandbox type of game and I plan on it having a large number of resources, features, side quests, and a free build and guided build experience as the game grows thor…

---

## [Problem with FActorInstanceHandle resolving and ALightWeightInstanceManager](https://forums.unrealengine.com/t/problem-with-factorinstancehandle-resolving-and-alightweightinstancemanager/2711877)

<div class="topic-metadata">

**Author:** [@TheAgencyGames](https://forums.unrealengine.com/u/TheAgencyGames)\
**Replies:** 1\
**Last updated:** [April 7, 2026, 9:31am UTC](https://forums.unrealengine.com/t/problem-with-factorinstancehandle-resolving-and-alightweightinstancemanager/2711877 "2026-04-07T09:31:37Z")

</div>

Either I do not understand things completely or here is somethind wrong. So I try to use ALightWeightInstanceManager for my project. I dynamically create actors, move them to HISM componet and back, its ok. But simplie…

---

## [Reference Viewer for C++ classes?](https://forums.unrealengine.com/t/reference-viewer-for-c-classes/2707553)

<div class="topic-metadata">

**Author:** [@Noisegrinder](https://forums.unrealengine.com/u/Noisegrinder)\
**Replies:** 5\
**Last updated:** [April 6, 2026, 12:16pm UTC](https://forums.unrealengine.com/t/reference-viewer-for-c-classes/2707553 "2026-04-06T12:16:52Z")

</div>

Reference viewer is only for dependencies in-between binary assets. Struct/Class viewer can only show inheritance. There is an VS extension but it seems to only show inheritance too, and it’s slow… Is there any way to…

---

## [Incorrect ForwardVector for the component](https://forums.unrealengine.com/t/incorrect-forwardvector-for-the-component/2711245)

<div class="topic-metadata">

**Author:** [@Babush61](https://forums.unrealengine.com/u/Babush61)\
**Replies:** 2\
**Last updated:** [April 4, 2026, 10:21am UTC](https://forums.unrealengine.com/t/incorrect-forwardvector-for-the-component/2711245 "2026-04-04T10:21:30Z")

</div>

I am trying to get ForwardVector for the component, but the result is incorrect if the angle of rotation of the entire object is Y = 0.0. I tried different options, but none worked. FVector XForward = GizmoActor-\>Arro…

---

## [C++ WebSocket connection failing](https://forums.unrealengine.com/t/c-websocket-connection-failing/2711061)

<div class="topic-metadata">

**Author:** [@VagueGamer01](https://forums.unrealengine.com/u/VagueGamer01)\
**Replies:** 0\
**Last updated:** [April 2, 2026, 10:06pm UTC](https://forums.unrealengine.com/t/c-websocket-connection-failing/2711061 "2026-04-02T22:06:35Z")

</div>

I’m having major issues trying to get an IWebSocket connection to work in my C++ game (Engine version 5.7.4, source built). I’m initialising the connection like so: // URL equals ws://localhost:8080/ws?token=\*\*\*&charac…

---

## [How to make a getter for a C++ TMap return a reference so that the TMap can be modified in BP?](https://forums.unrealengine.com/t/how-to-make-a-getter-for-a-c-tmap-return-a-reference-so-that-the-tmap-can-be-modified-in-bp/2707278)

<div class="topic-metadata">

**Author:** [@pagi111](https://forums.unrealengine.com/u/pagi111)\
**Replies:** 9\
**Last updated:** [April 2, 2026, 5:36pm UTC](https://forums.unrealengine.com/t/how-to-make-a-getter-for-a-c-tmap-return-a-reference-so-that-the-tmap-can-be-modified-in-bp/2707278 "2026-04-02T17:36:50Z")

</div>

Hi, I have the following member variable: UPROPERTY(Config, EditAnywhere, BlueprintReadWrite) TMap\<FString, float\> VolumeMap; If I make it public and then in BP I simply use GetVolumeMap node, then call e.g. Add or Cl…

---

## [Does Unreal provide a 2D segment intersection function that returns parametric t values?](https://forums.unrealengine.com/t/does-unreal-provide-a-2d-segment-intersection-function-that-returns-parametric-t-values/2710799)

<div class="topic-metadata">

**Author:** [@Dumple1](https://forums.unrealengine.com/u/Dumple1)\
**Replies:** 2\
**Last updated:** [April 2, 2026, 2:47pm UTC](https://forums.unrealengine.com/t/does-unreal-provide-a-2d-segment-intersection-function-that-returns-parametric-t-values/2710799 "2026-04-02T14:47:34Z")

</div>

Hello, I’ve implemented my own function for computing the intersection between two 2D line segments, including returning the parametric values t1 and t2 for each segment. However, before continuing to rely on my custom…

---

## [Unreal Engine Hierarchical Instanced Static Mesh (HISM) ](https://forums.unrealengine.com/t/unreal-engine-hierarchical-instanced-static-mesh-hism/2710212)

<div class="topic-metadata">

**Author:** [@Son\_Latifi](https://forums.unrealengine.com/u/Son_Latifi)\
**Replies:** 1\
**Last updated:** [April 1, 2026, 8:21pm UTC](https://forums.unrealengine.com/t/unreal-engine-hierarchical-instanced-static-mesh-hism/2710212 "2026-04-01T20:21:05Z")

</div>

I’m having an issue with HISM instance indexing I spawn multiple coin instances in BeginPlay using predefined transforms. However, when collecting a coin, the system always removes the instance at index 0, regardless o…

---

## [PixelStreaming2 crashing in SetRemoteSdp](https://forums.unrealengine.com/t/pixelstreaming2-crashing-in-setremotesdp/2613039)

<div class="topic-metadata">

**Author:** [@PaulBlythe](https://forums.unrealengine.com/u/PaulBlythe)\
**Replies:** 17\
**Last updated:** [April 1, 2026, 7:58am UTC](https://forums.unrealengine.com/t/pixelstreaming2-crashing-in-setremotesdp/2613039 "2026-04-01T07:58:02Z")

</div>

Hi Guys, I am trying to broadcast a pixel stream using 5.6 and PixelStreaming2. I can use a 5.4 PixelStreamingPlayer on Windows to connect to the stream and display it , but when I try to use any other webrtc client at…

---

## [Проблема с SDK.](https://forums.unrealengine.com/t/sdk/2707932)

<div class="topic-metadata">

**Author:** [@Belugasmyds](https://forums.unrealengine.com/u/Belugasmyds)\
**Replies:** 2\
**Last updated:** [April 1, 2026, 4:59am UTC](https://forums.unrealengine.com/t/sdk/2707932 "2026-04-01T04:59:56Z")

</div>

There is a compiled version of the UE 5.5.4 engine, and there is a project based on the same version in c++. Here is the problem itself, the screenshot below. Also, when you click on the build, you get a message that the…

---

## [Have you ever met warning C4828?](https://forums.unrealengine.com/t/have-you-ever-met-warning-c4828/401872)

<div class="topic-metadata">

**Author:** [@NoCodeBugsFree](https://forums.unrealengine.com/u/NoCodeBugsFree)\
**Replies:** 4\
**Last updated:** [March 31, 2026, 8:30pm UTC](https://forums.unrealengine.com/t/have-you-ever-met-warning-c4828/401872 "2026-03-31T20:30:30Z")

</div>

warning C4828: The file contains a character starting at offset 0x308 that is illegal in the current source character set (codepage 65001). warning C4828: The file contains a character starting at offset 0x31b that is i…

---

## [Warning C4828](https://forums.unrealengine.com/t/warning-c4828/403321)

<div class="topic-metadata">

**Author:** [@nynjed](https://forums.unrealengine.com/u/nynjed)\
**Replies:** 10\
**Last updated:** [March 31, 2026, 8:22pm UTC](https://forums.unrealengine.com/t/warning-c4828/403321 "2026-03-31T20:22:06Z")

</div>

After updating to 4.17.1 I get many of this warning like: The file contains a character starting at offset 0x308 that is illegal in the current source character set (codepage 65001). And all this warnings mention comme…

---

## [如何绘制大量的线，我尝试了用PDI-\>drawline的方式绘制，会特别的卡，有没有什么更好的优化方案？](https://forums.unrealengine.com/t/pdi-drawline/1816532)

<div class="topic-metadata">

**Author:** [@CrazyDALiu](https://forums.unrealengine.com/u/CrazyDALiu)\
**Replies:** 1\
**Last updated:** [March 31, 2026, 9:11am UTC](https://forums.unrealengine.com/t/pdi-drawline/1816532 "2026-03-31T09:11:24Z")

</div>

如何绘制大量的线，我尝试了用PDI-\>drawline的方式绘制，会特别的卡，有没有什么更好的优化方案？

---

## [PackagingResults: Error: Unknown Error](https://forums.unrealengine.com/t/packagingresults-error-unknown-error/2704295)

<div class="topic-metadata">

**Author:** [@Zumwolt](https://forums.unrealengine.com/u/Zumwolt)\
**Replies:** 3\
**Last updated:** [March 30, 2026, 9:36pm UTC](https://forums.unrealengine.com/t/packagingresults-error-unknown-error/2704295 "2026-03-30T21:36:05Z")

</div>

Hello, I’m trying to package my project, but it fails each time. Visual Studio is updated with all plugins. Tried to find a solution online, but none of them is working. Here is the log report: UBA-Assembly…

---

## [Physics constraint lock in place not working](https://forums.unrealengine.com/t/physics-constraint-lock-in-place-not-working/2710062)

<div class="topic-metadata">

**Author:** [@kevinhel](https://forums.unrealengine.com/u/kevinhel)\
**Replies:** 0\
**Last updated:** [March 30, 2026, 1:18pm UTC](https://forums.unrealengine.com/t/physics-constraint-lock-in-place-not-working/2710062 "2026-03-30T13:18:27Z")

</div>

Hey, I have this system where I want to connect my connector to a slot. The connector should increase friction as I insert it deeper, which I use Linear Velocity Target to manipulate. Then when it’s fully inserted, I wan…

---

## [Unreal 4 VS Build Project Error](https://forums.unrealengine.com/t/unreal-4-vs-build-project-error/2709397)

<div class="topic-metadata">

**Author:** [@close\_i](https://forums.unrealengine.com/u/close_i)\
**Replies:** 1\
**Last updated:** [March 29, 2026, 1:06pm UTC](https://forums.unrealengine.com/t/unreal-4-vs-build-project-error/2709397 "2026-03-29T13:06:45Z")

</div>

I Need Help Unreal 4. When I VS Project generates a build project throw error. Building UnrealBuildTool in D:/UE Game/UE\_4.27… Running: C:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\MSBuild.exe /nologo /verbosity:quiet…

---

## [When is Epic games making an update for Nintendo switch 2, 120 fps dock mode ](https://forums.unrealengine.com/t/when-is-epic-games-making-an-update-for-nintendo-switch-2-120-fps-dock-mode/2709436)

<div class="topic-metadata">

**Author:** [@walxk](https://forums.unrealengine.com/u/walxk)\
**Replies:** 0\
**Last updated:** [March 27, 2026, 1:20pm UTC](https://forums.unrealengine.com/t/when-is-epic-games-making-an-update-for-nintendo-switch-2-120-fps-dock-mode/2709436 "2026-03-27T13:20:24Z")

</div>

is epic games planning to give Nintendo Switch 2 players a big dock mode update or upgrade to 120fps because sometimes my switch 2 gets 78 fps but it’s not stable to hold at 60fps which causes it to go below 60.

---

## [EOS header Signing in issue](https://forums.unrealengine.com/t/eos-header-signing-in-issue/2708478)

<div class="topic-metadata">

**Author:** [@KOEX](https://forums.unrealengine.com/u/KOEX)\
**Replies:** 1\
**Last updated:** [March 27, 2026, 7:47am UTC](https://forums.unrealengine.com/t/eos-header-signing-in-issue/2708478 "2026-03-27T07:47:41Z")

</div>

// Fill out your copyright notice in the Description page of Project Settings. #pragma once #include "CoreMinimal.h" #include "GameFramework/PlayerController.h" #include "EOSMyPlayerController.generated.h" /\*\* \* Chi…

---

## [Dynamic Collision Component Error](https://forums.unrealengine.com/t/dynamic-collision-component-error/2706589)

<div class="topic-metadata">

**Author:** [@Banterberry](https://forums.unrealengine.com/u/Banterberry)\
**Replies:** 1\
**Last updated:** [March 26, 2026, 5:05pm UTC](https://forums.unrealengine.com/t/dynamic-collision-component-error/2706589 "2026-03-26T17:05:47Z")

</div>

so, I’ve been working on a dynamic collision component for my game. What I mean by that, more specifically, is that my component creates a collision mesh based on an enum, both at runtime and in-editor. the component do…

---

## [Help with what's causing the engine to crash](https://forums.unrealengine.com/t/help-with-whats-causing-the-engine-to-crash/2708665)

<div class="topic-metadata">

**Author:** [@AMadLad](https://forums.unrealengine.com/u/AMadLad)\
**Replies:** 8\
**Last updated:** [March 26, 2026, 3:48pm UTC](https://forums.unrealengine.com/t/help-with-whats-causing-the-engine-to-crash/2708665 "2026-03-26T15:48:23Z")

</div>

Here’s what the crash log says: Unhandled Exception: EXCEPTION\_ACCESS\_VIOLATION reading address 0x0000000000000000 UnrealEditor\_Project\_2703!BlueprintFunctionScriptThing::function() \[C:\\Users\\Admin\\Documents\\Unreal Pro…

---

## [I use the same call to CreateWidget() in two classes, one works, one doesn't, how is that possible?](https://forums.unrealengine.com/t/i-use-the-same-call-to-createwidget-in-two-classes-one-works-one-doesnt-how-is-that-possible/2708594)

<div class="topic-metadata">

**Author:** [@KimPossible42](https://forums.unrealengine.com/u/KimPossible42)\
**Replies:** 2\
**Last updated:** [March 25, 2026, 1:03pm UTC](https://forums.unrealengine.com/t/i-use-the-same-call-to-createwidget-in-two-classes-one-works-one-doesnt-how-is-that-possible/2708594 "2026-03-25T13:03:28Z")

</div>

Hi everyone, I’m trying to instance some blueprints from a C++ class. I got it working in two cases but my third case fails. I get an Exception 0x80000003 encountered at address inside of CreateWidget in the line return…

---

## [UE5.3.2 Touch Input Action Bug?](https://forums.unrealengine.com/t/ue5-3-2-touch-input-action-bug/1441873)

<div class="topic-metadata">

**Author:** [@LittleZ211](https://forums.unrealengine.com/u/LittleZ211)\
**Replies:** 5\
**Last updated:** [March 23, 2026, 7:40pm UTC](https://forums.unrealengine.com/t/ue5-3-2-touch-input-action-bug/1441873 "2026-03-23T19:40:58Z")

</div>

I set up a fairly simple touch input action that triggers on Touch1 Hold for mobile devices, and an equivalent one for a mouse click that triggers on LMB Hold. In C++ I mapped four different functions that fire on Trigge…

---

## [Behavior Tree MoveTo not working](https://forums.unrealengine.com/t/behavior-tree-moveto-not-working/155335)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_46dc83731](https://forums.unrealengine.com/u/anonymous_user_46dc83731)\
**Replies:** 18\
**Last updated:** [March 23, 2026, 2:40pm UTC](https://forums.unrealengine.com/t/behavior-tree-moveto-not-working/155335 "2026-03-23T14:40:44Z")

</div>

Hey all, I have a 2D game with enemy pawns that I have set up a behavior tree, blackboard and ai controller for. It all works perfectly fine except in my behavior tree I have a select node then a move to the player objec…

---

## [Unreal Engine 4.25 source code compile error](https://forums.unrealengine.com/t/unreal-engine-4-25-source-code-compile-error/141849)

<div class="topic-metadata">

**Author:** [@Di-Shiper](https://forums.unrealengine.com/u/Di-Shiper)\
**Replies:** 6\
**Last updated:** [March 21, 2026, 7:44am UTC](https://forums.unrealengine.com/t/unreal-engine-4-25-source-code-compile-error/141849 "2026-03-21T07:44:54Z")

</div>

When trying to build a version 4.25 engine, this error is issued: Severity Code Description Project File Line Suppression State Error MSB4018 The “SetEnv” task failed unexpectedly. System.Argum…

---

## [Using the UE5.4 built-in Libcurl.lib in a plugin (w/ no unresolved external references)](https://forums.unrealengine.com/t/using-the-ue5-4-built-in-libcurl-lib-in-a-plugin-w-no-unresolved-external-references/2046444)

<div class="topic-metadata">

**Author:** [@RollinFields](https://forums.unrealengine.com/u/RollinFields)\
**Replies:** 1\
**Last updated:** [March 19, 2026, 9:23pm UTC](https://forums.unrealengine.com/t/using-the-ue5-4-built-in-libcurl-lib-in-a-plugin-w-no-unresolved-external-references/2046444 "2026-03-19T21:23:51Z")

</div>

Here’s another example of using a third-party library in a plugin. In this case, the built-in (to UE5.4) third-party static libcurl.lib is added to a plugin. Note that simply using PublicAdditionalLibraries.Add() is no…

[Previous page](https://forums.unrealengine.com/c/development-discussion/programming-scripting/c-programming/29.md?page=11)

[Next page](https://forums.unrealengine.com/c/development-discussion/programming-scripting/c-programming/29.md?page=13)
