# Debugging, Optimization, & Profiling

**URL:** https://forums.unrealengine.com/c/development-discussion/platforms/debugging-optimization-profiling/134.md?page=54

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

**Page:** 55

---

## [How to change this directory to different drive?](https://forums.unrealengine.com/t/how-to-change-this-directory-to-different-drive/561760)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_45c4527a](https://forums.unrealengine.com/u/anonymous_user_45c4527a)\
**Replies:** 0\
**Last updated:** [May 20, 2022, 7:30am UTC](https://forums.unrealengine.com/t/how-to-change-this-directory-to-different-drive/561760 "2022-05-20T07:30:49Z")

</div>

at the moment, my c drive getting squeezed when i make a new file and downloding assets. the project file is a D drive, but why this folder at C getting bigger data dumped fron UE? im using 4.27.

---

## [UE5 GPU or D3D Crash FIX](https://forums.unrealengine.com/t/ue5-gpu-or-d3d-crash-fix/543046)

<div class="topic-metadata">

**Author:** [@BGProductions](https://forums.unrealengine.com/u/BGProductions)\
**Replies:** 1\
**Last updated:** [May 17, 2022, 8:28pm UTC](https://forums.unrealengine.com/t/ue5-gpu-or-d3d-crash-fix/543046 "2022-05-17T20:28:07Z")

</div>

Hi everybody, I’ve found a fix for the GPU or D3D device disconnected error. Like many of you, I have tried the TDR delay, reflection settings, shadow maps, etc. I’ve come to the conclusion after a lot of research and te…

---

## [Texture streaming violation UE5 Crash](https://forums.unrealengine.com/t/texture-streaming-violation-ue5-crash/559444)

<div class="topic-metadata">

**Author:** [@UnsolvedYT](https://forums.unrealengine.com/u/UnsolvedYT)\
**Replies:** 0\
**Last updated:** [May 17, 2022, 3:29pm UTC](https://forums.unrealengine.com/t/texture-streaming-violation-ue5-crash/559444 "2022-05-17T15:29:14Z")

</div>

Hey newb here having a world of trouble with the new UE5, So everything goes fine for the first few asset packs I add to my project but then after a few I start getting this error. But If I bake the asset materials afte…

---

## [UE5 C ++ Packaged Projects Not Playable](https://forums.unrealengine.com/t/ue5-c-packaged-projects-not-playable/529918)

<div class="topic-metadata">

**Author:** [@Ianu\_Gor](https://forums.unrealengine.com/u/Ianu_Gor)\
**Replies:** 8\
**Last updated:** [April 18, 2022, 12:18am UTC](https://forums.unrealengine.com/t/ue5-c-packaged-projects-not-playable/529918 "2022-04-18T00:18:21Z")

</div>

I’ve recently upgraded from UE4.27 to UE5, but I’m stumbling out of the gate as far as packaging a project goes. I’m able to create a default Third Person Blueprint project and package it for Windows, and when I open the…

---

## [Unreal Insights not displaying any track](https://forums.unrealengine.com/t/unreal-insights-not-displaying-any-track/558647)

<div class="topic-metadata">

**Author:** [@ZorvexMaker](https://forums.unrealengine.com/u/ZorvexMaker)\
**Replies:** 0\
**Last updated:** [May 16, 2022, 5:55pm UTC](https://forums.unrealengine.com/t/unreal-insights-not-displaying-any-track/558647 "2022-05-16T17:55:50Z")

</div>

Hi everyone! I’m new to Unreal Insights tools and we need it for a project. The problem we are having is that there are no tracks (gameplay thread +) that are not getting displayed on the tool. I’ve tried the game on sta…

---

## [Config files why do they fail?](https://forums.unrealengine.com/t/config-files-why-do-they-fail/558199)

<div class="topic-metadata">

**Author:** [@Neongho](https://forums.unrealengine.com/u/Neongho)\
**Replies:** 0\
**Last updated:** [May 16, 2022, 7:06am UTC](https://forums.unrealengine.com/t/config-files-why-do-they-fail/558199 "2022-05-16T07:06:21Z")

</div>

Pretty much save files in config .ini files is ending up always in fail. Like sometimes it won’t even save arrays I think that the best you can do is save everything instead of arrays simple variables any idea opinion or…

---

## ["FAndroidDeviceDetectionRunnable" generating hitch when profiling](https://forums.unrealengine.com/t/fandroiddevicedetectionrunnable-generating-hitch-when-profiling/343371)

<div class="topic-metadata">

**Author:** [@daan\_cover](https://forums.unrealengine.com/u/daan_cover)\
**Replies:** 10\
**Last updated:** [May 15, 2022, 6:49pm UTC](https://forums.unrealengine.com/t/fandroiddevicedetectionrunnable-generating-hitch-when-profiling/343371 "2022-05-15T18:49:43Z")

</div>

I’m using the profiling tools to check the performance of my game and sometimes a thread called “FAndroidDeviceDetectionRunnable” generates a huge hitch on the graph. I’m running the game in the editor and using “Stat S…

---

## [Issue Launching](https://forums.unrealengine.com/t/issue-launching/557071)

<div class="topic-metadata">

**Author:** [@Henry.GW](https://forums.unrealengine.com/u/Henry.GW)\
**Replies:** 0\
**Last updated:** [May 14, 2022, 1:30pm UTC](https://forums.unrealengine.com/t/issue-launching/557071 "2022-05-14T13:30:36Z")

</div>

Hi I’m relatively new to UE and just trying to get set up with a debugging environment. I’ve started using VS Code and want to get set up so that I can debug into stuff. However, I’m coming up against an issue where I …

---

## [UE5 Crash after build](https://forums.unrealengine.com/t/ue5-crash-after-build/555818)

<div class="topic-metadata">

**Author:** [@UnsolvedYT](https://forums.unrealengine.com/u/UnsolvedYT)\
**Replies:** 3\
**Last updated:** [May 12, 2022, 9:52pm UTC](https://forums.unrealengine.com/t/ue5-crash-after-build/555818 "2022-05-12T21:52:05Z")

</div>

So everytime I try to build all for my level I get errors + a crash… I’ve noticed now it prompts you to build HLOD’s when going to build level? Is this a new thing or is it just something I’ve messed up somehow? Also I’v…

---

## [Strange Offset Actors Bug in the Movie Render Queue and Rendered Frames](https://forums.unrealengine.com/t/strange-offset-actors-bug-in-the-movie-render-queue-and-rendered-frames/555395)

<div class="topic-metadata">

**Author:** [@SurvivalPlayer](https://forums.unrealengine.com/u/SurvivalPlayer)\
**Replies:** 1\
**Last updated:** [May 12, 2022, 3:57pm UTC](https://forums.unrealengine.com/t/strange-offset-actors-bug-in-the-movie-render-queue-and-rendered-frames/555395 "2022-05-12T15:57:51Z")

</div>

Hi people nice to meet you! This is my first topic so sorry if i make some mistakes, i will improve. I am working for a videogame studio and i am currently facing a strange bug in Unreal Engine 5: When i use the cinemat…

---

## [What are fundamental disciplines should I learn before diving in Unreal Engine?](https://forums.unrealengine.com/t/what-are-fundamental-disciplines-should-i-learn-before-diving-in-unreal-engine/554247)

<div class="topic-metadata">

**Author:** [@Dolarun1](https://forums.unrealengine.com/u/Dolarun1)\
**Replies:** 3\
**Last updated:** [May 12, 2022, 4:10am UTC](https://forums.unrealengine.com/t/what-are-fundamental-disciplines-should-i-learn-before-diving-in-unreal-engine/554247 "2022-05-12T04:10:04Z")

</div>

Hi, guys. I am learning things like OOP patterns, linear algebra, data structure and algorithms. These things were been easy to choose, in my view. But now I am at the crossroads. In one hand should I dive into to Unreal…

---

## [Packaged Build crashing: Precompiled ](https://forums.unrealengine.com/t/packaged-build-crashing-precompiled/554775)

<div class="topic-metadata">

**Author:** [@Zahidalijeelani](https://forums.unrealengine.com/u/Zahidalijeelani)\
**Replies:** 0\
**Last updated:** [May 11, 2022, 4:32pm UTC](https://forums.unrealengine.com/t/packaged-build-crashing-precompiled/554775 "2022-05-11T16:32:37Z")

</div>

Been having this issue for a while now, This only happens in a packaged game, when compiling there are - errors and 0 warnings, but the crash still occurs when loading up a specific level. Here are the logs: The thread …

---

## [Stutter when using Niagara FX for the first time on Quest 2](https://forums.unrealengine.com/t/stutter-when-using-niagara-fx-for-the-first-time-on-quest-2/536646)

<div class="topic-metadata">

**Author:** [@Gil](https://forums.unrealengine.com/u/Gil)\
**Replies:** 3\
**Last updated:** [May 9, 2022, 6:04pm UTC](https://forums.unrealengine.com/t/stutter-when-using-niagara-fx-for-the-first-time-on-quest-2/536646 "2022-05-09T18:04:50Z")

</div>

Hi Guys, We develop a shooter on Quest 2. Every time we first launch the game and we fire, we spawn a FX made with Niagara and there is stutter the first time the FX is spawned. We have a stutter for every unique FX we…

---

## [Alpha/Opacity VS Polycount](https://forums.unrealengine.com/t/alpha-opacity-vs-polycount/552185)

<div class="topic-metadata">

**Author:** [@Skylene1](https://forums.unrealengine.com/u/Skylene1)\
**Replies:** 1\
**Last updated:** [May 8, 2022, 8:53pm UTC](https://forums.unrealengine.com/t/alpha-opacity-vs-polycount/552185 "2022-05-08T20:53:10Z")

</div>

Hello! I’m fairly well into the 3D journey, and have been wanting to make some assets for the marketplace. One thing that I keep wondering though when I come to optimizing assets for my own game, is whether I should worr…

---

## [Unreal Engine is not launch on my Mac M1 Max high end](https://forums.unrealengine.com/t/unreal-engine-is-not-launch-on-my-mac-m1-max-high-end/545631)

<div class="topic-metadata">

**Author:** [@Dalip](https://forums.unrealengine.com/u/Dalip)\
**Replies:** 1\
**Last updated:** [May 8, 2022, 2:15pm UTC](https://forums.unrealengine.com/t/unreal-engine-is-not-launch-on-my-mac-m1-max-high-end/545631 "2022-05-08T14:15:21Z")

</div>

Hello there, I just installed Epic Game launcher and download Unreal Engine 5.0.1 but it does not get to Launch, so I downloaded UE 4.27.2, same problem, it just try but comes back to the same page Epic Game Launcher! …

---

## [Optimizing Render Targets - Minimap](https://forums.unrealengine.com/t/optimizing-render-targets-minimap/295150)

<div class="topic-metadata">

**Author:** [@funkstatic](https://forums.unrealengine.com/u/funkstatic)\
**Replies:** 7\
**Last updated:** [May 7, 2022, 1:55pm UTC](https://forums.unrealengine.com/t/optimizing-render-targets-minimap/295150 "2022-05-07T13:55:04Z")

</div>

Hi, I’m currently using a 2d render target in my game for an active mini map but it’s a ridiculous performance hog. Are there any quick and easy ways to optimize it? I tried shrinking it to a very small size which did…

---

## [\[SOLVED\] Scene-\>GetWorld(): Function UActorComponent::GetWorld has no address, possibly due to compiler optimizations](https://forums.unrealengine.com/t/solved-scene-getworld-function-uactorcomponent-getworld-has-no-address-possibly-due-to-compiler-optimizations/403629)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_b7617d6c](https://forums.unrealengine.com/u/anonymous_user_b7617d6c)\
**Replies:** 5\
**Last updated:** [May 6, 2022, 10:47am UTC](https://forums.unrealengine.com/t/solved-scene-getworld-function-uactorcomponent-getworld-has-no-address-possibly-due-to-compiler-optimizations/403629 "2022-05-06T10:47:02Z")

</div>

Running into this error when running PIE mode. This is a project from the PACKT book Unreal Engine 4.X By Example. I’m working inside of UE 4.17.1, and it’s quite obvious to me that this book was written for a fairly ear…

---

## [all slide down menus are mirrored and screen goes black when moving mouse around](https://forums.unrealengine.com/t/all-slide-down-menus-are-mirrored-and-screen-goes-black-when-moving-mouse-around/548266)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_8ff726e1](https://forums.unrealengine.com/u/anonymous_user_8ff726e1)\
**Replies:** 0\
**Last updated:** [May 4, 2022, 3:40am UTC](https://forums.unrealengine.com/t/all-slide-down-menus-are-mirrored-and-screen-goes-black-when-moving-mouse-around/548266 "2022-05-04T03:40:35Z")

</div>

Hello I downloaded UN5.0.1 yesterday and upon starting a Project I am met with these odd bugs that make it rather impossible for me to do anything. Troubleshooting I have done so far includes… -Uninstalling UN5,…

---

## [Shaders in UE5](https://forums.unrealengine.com/t/shaders-in-ue5/547736)

<div class="topic-metadata">

**Author:** [@Borrowedtruths](https://forums.unrealengine.com/u/Borrowedtruths)\
**Replies:** 0\
**Last updated:** [May 3, 2022, 2:51pm UTC](https://forums.unrealengine.com/t/shaders-in-ue5/547736 "2022-05-03T14:51:57Z")

</div>

UE5 is almost unusable at this time, the time to compile shaders is beyond ridiculous, it’s almost impossible to multi-task when they are compiling, and each time a project is closed and then reopened it needs to compile…

---

## [Breakpoint added on custom Event executed but not hit in debugging within Editor](https://forums.unrealengine.com/t/breakpoint-added-on-custom-event-executed-but-not-hit-in-debugging-within-editor/546723)

<div class="topic-metadata">

**Author:** [@MisarteAvalor](https://forums.unrealengine.com/u/MisarteAvalor)\
**Replies:** 0\
**Last updated:** [May 2, 2022, 2:44pm UTC](https://forums.unrealengine.com/t/breakpoint-added-on-custom-event-executed-but-not-hit-in-debugging-within-editor/546723 "2022-05-02T14:44:08Z")

</div>

Setup I have a custom cpp Actor Component (GRPCAmbulatory) attached on a CharacterPawn blueprint object (BPInfantry) in the hierarchy. The ActorComponent defines and brodcasts a multicast delegate event called OnCompone…

---

## [Packaging Error: Unknown Error Need help!](https://forums.unrealengine.com/t/packaging-error-unknown-error-need-help/546119)

<div class="topic-metadata">

**Author:** [@Nepharius2](https://forums.unrealengine.com/u/Nepharius2)\
**Replies:** 0\
**Last updated:** [May 2, 2022, 12:51am UTC](https://forums.unrealengine.com/t/packaging-error-unknown-error-need-help/546119 "2022-05-02T00:51:53Z")

</div>

This is what I get when I try to package my project. I’m very new and this is my first game so I don’t know what this means. Please help me. :frowning: LogSlate: Window ‘Output Log’ being destroyed LogUObjectHash: Comp…

---

## [Mobile](https://forums.unrealengine.com/t/mobile/543807)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_1ef39a3e1](https://forums.unrealengine.com/u/anonymous_user_1ef39a3e1)\
**Replies:** 5\
**Last updated:** [May 1, 2022, 12:14am UTC](https://forums.unrealengine.com/t/mobile/543807 "2022-05-01T00:14:42Z")

</div>

When I set my target SDK to 30,opening Google play leaderboard shows this message.Leaderboard works fine when target SDK is 22.Any solution?!

---

## [Project crashes at 93% when opening](https://forums.unrealengine.com/t/project-crashes-at-93-when-opening/540310)

<div class="topic-metadata">

**Author:** [@Novastar757](https://forums.unrealengine.com/u/Novastar757)\
**Replies:** 3\
**Last updated:** [April 30, 2022, 2:24pm UTC](https://forums.unrealengine.com/t/project-crashes-at-93-when-opening/540310 "2022-04-30T14:24:09Z")

</div>

Project crashes in UE5.01 when I load it up. It worked fine last night. I have narrowed the error down coming from the third person map folder, which contains my map and character blueprint. If I delete these, the projec…

---

## [Unreal Insights and stat gpu not showing any GPU data](https://forums.unrealengine.com/t/unreal-insights-and-stat-gpu-not-showing-any-gpu-data/539030)

<div class="topic-metadata">

**Author:** [@herb64](https://forums.unrealengine.com/u/herb64)\
**Replies:** 2\
**Last updated:** [April 30, 2022, 6:25am UTC](https://forums.unrealengine.com/t/unreal-insights-and-stat-gpu-not-showing-any-gpu-data/539030 "2022-04-30T06:25:30Z")

</div>

Hi, trying to get into profiling on my mobile device (Elephone P9000) using stat commands and Unreal Insights, I cannot get GPU informations. Same on my Notebook (Old NVidia Quadro 3000M). Simply using stat gpu does no…

---

## [Is there a way for the automation tool to return the true exit code?](https://forums.unrealengine.com/t/is-there-a-way-for-the-automation-tool-to-return-the-true-exit-code/544347)

<div class="topic-metadata">

**Author:** [@LeoLiuOWI](https://forums.unrealengine.com/u/LeoLiuOWI)\
**Replies:** 0\
**Last updated:** [April 29, 2022, 10:33pm UTC](https://forums.unrealengine.com/t/is-there-a-way-for-the-automation-tool-to-return-the-true-exit-code/544347 "2022-04-29T22:33:49Z")

</div>

we were running a cook job with this command: BuildCookRun -nop4 -cook -allmaps -prereqs -manifests -build -compile -pak -stage -NumCookersToSpawn=32 -project=C:\\ourpath\\ourgamename.uproject -targetplatform=Win64 -clien…

---

## [UE5 Project wont cook/package getting LinkerLoad error](https://forums.unrealengine.com/t/ue5-project-wont-cook-package-getting-linkerload-error/534702)

<div class="topic-metadata">

**Author:** [@SaOk](https://forums.unrealengine.com/u/SaOk)\
**Replies:** 3\
**Last updated:** [April 29, 2022, 1:25am UTC](https://forums.unrealengine.com/t/ue5-project-wont-cook-package-getting-linkerload-error/534702 "2022-04-29T01:25:42Z")

</div>

After switching into UE5 from UE4, havent managed to cook/package my project. Had no issues in UE4.26 and olders versions. Game running without errors in editor. Getting this message while cooking. What could cause that …

---

## [Casting vs branches for performance](https://forums.unrealengine.com/t/casting-vs-branches-for-performance/541933)

<div class="topic-metadata">

**Author:** [@Chadwise](https://forums.unrealengine.com/u/Chadwise)\
**Replies:** 0\
**Last updated:** [April 28, 2022, 12:09pm UTC](https://forums.unrealengine.com/t/casting-vs-branches-for-performance/541933 "2022-04-28T12:09:50Z")

</div>

Hey team, Im working on optimizing the parts of my code that run on timers etc and have just been wondering if It is a better idea to replace my casts with branches instead? I have quite a few line and sphere traces do…

---

## [Crash while opening a package - UE5.0.1](https://forums.unrealengine.com/t/crash-while-opening-a-package-ue5-0-1/541628)

<div class="topic-metadata">

**Author:** [@ShafeekhM](https://forums.unrealengine.com/u/ShafeekhM)\
**Replies:** 0\
**Last updated:** [April 28, 2022, 4:04am UTC](https://forums.unrealengine.com/t/crash-while-opening-a-package-ue5-0-1/541628 "2022-04-28T04:04:59Z")

</div>

Hi, Any idea why this error is happening while opening a package cooked for windows using UE5.0.1?!

---

## [Whole game lags in PIE when holding any key - even unbound keys](https://forums.unrealengine.com/t/whole-game-lags-in-pie-when-holding-any-key-even-unbound-keys/540898)

<div class="topic-metadata">

**Author:** [@IRJayJay](https://forums.unrealengine.com/u/IRJayJay)\
**Replies:** 0\
**Last updated:** [April 27, 2022, 8:36am UTC](https://forums.unrealengine.com/t/whole-game-lags-in-pie-when-holding-any-key-even-unbound-keys/540898 "2022-04-27T08:36:09Z")

</div>

Steps to reproduce (UE 4.26.2): Create a blank pawn. Add Floating Movement Component or alternatively create character and use CharacterMovement. Use the movement component to move your pawn forward constantly on tick …

---

## [Low Fps recording 4.27](https://forums.unrealengine.com/t/low-fps-recording-4-27/539318)

<div class="topic-metadata">

**Author:** [@lemail](https://forums.unrealengine.com/u/lemail)\
**Replies:** 9\
**Last updated:** [April 26, 2022, 4:20pm UTC](https://forums.unrealengine.com/t/low-fps-recording-4-27/539318 "2022-04-26T16:20:15Z")

</div>

When I record ue4 the recording is a really low fps, but the gameplay is fine and works as intended. Anyone know a fix?

[Previous page](https://forums.unrealengine.com/c/development-discussion/platforms/debugging-optimization-profiling/134.md?page=53)

[Next page](https://forums.unrealengine.com/c/development-discussion/platforms/debugging-optimization-profiling/134.md?page=55)
