# Debugging, Optimization, & Profiling

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

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

**Page:** 50

---

## [Large amount of procedural meshes performance issue](https://forums.unrealengine.com/t/large-amount-of-procedural-meshes-performance-issue/637375)

<div class="topic-metadata">

**Author:** [@GAFChuck](https://forums.unrealengine.com/u/GAFChuck)\
**Replies:** 8\
**Last updated:** [September 4, 2022, 7:21pm UTC](https://forums.unrealengine.com/t/large-amount-of-procedural-meshes-performance-issue/637375 "2022-09-04T19:21:19Z")

</div>

I’m new to UE, I may have missed a simple fix for this. I’m generating a procedural hex world, and I’m getting some pretty good results so far. These hexes are made with procedural meshes because the hexes are all of s…

---

## [After crash, 'project saved dir' (and others) set to ../../engine/saved rather than projects](https://forums.unrealengine.com/t/after-crash-project-saved-dir-and-others-set-to-engine-saved-rather-than-projects/640728)

<div class="topic-metadata">

**Author:** [@Niim](https://forums.unrealengine.com/u/Niim)\
**Replies:** 0\
**Last updated:** [September 3, 2022, 6:59pm UTC](https://forums.unrealengine.com/t/after-crash-project-saved-dir-and-others-set-to-engine-saved-rather-than-projects/640728 "2022-09-03T18:59:31Z")

</div>

My saved games were being saved in project/saved/savegames. After a UE5 crash, the project saved dir is …/engine/saved. Additional settings seem to have reset to a default and aren’t using the projects. This is the seco…

---

## [X is Set to NeverCook, but something is trying to cook it!](https://forums.unrealengine.com/t/x-is-set-to-nevercook-but-something-is-trying-to-cook-it/640137)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_21bf9f741](https://forums.unrealengine.com/u/anonymous_user_21bf9f741)\
**Replies:** 0\
**Last updated:** [September 2, 2022, 9:36pm UTC](https://forums.unrealengine.com/t/x-is-set-to-nevercook-but-something-is-trying-to-cook-it/640137 "2022-09-02T21:36:20Z")

</div>

I used a primary asset label to tell a folder to NeverCook, because it was getting cooked when nothing was referencing it (according to the reference viewer), but now when i package, i get a ton of errors for everything …

---

## [Optimization](https://forums.unrealengine.com/t/optimization/639208)

<div class="topic-metadata">

**Author:** [@EnragedRavioli](https://forums.unrealengine.com/u/EnragedRavioli)\
**Replies:** 6\
**Last updated:** [September 2, 2022, 3:07pm UTC](https://forums.unrealengine.com/t/optimization/639208 "2022-09-02T15:07:47Z")

</div>

Hello everyone, I was wondering if there are any methods I should look into out there to optimize your game that do not involve LODs? Thanks in advance!

---

## [All text appear as black boxes in Unreal insights](https://forums.unrealengine.com/t/all-text-appear-as-black-boxes-in-unreal-insights/613310)

<div class="topic-metadata">

**Author:** [@blubian1](https://forums.unrealengine.com/u/blubian1)\
**Replies:** 1\
**Last updated:** [September 2, 2022, 10:32am UTC](https://forums.unrealengine.com/t/all-text-appear-as-black-boxes-in-unreal-insights/613310 "2022-09-02T10:32:43Z")

</div>

Any idea on how to fix?

---

## [Copied blueprint macro raising error saying graph is linked private object](https://forums.unrealengine.com/t/copied-blueprint-macro-raising-error-saying-graph-is-linked-private-object/639625)

<div class="topic-metadata">

**Author:** [@LikeThatAng](https://forums.unrealengine.com/u/LikeThatAng)\
**Replies:** 0\
**Last updated:** [September 2, 2022, 7:29am UTC](https://forums.unrealengine.com/t/copied-blueprint-macro-raising-error-saying-graph-is-linked-private-object/639625 "2022-09-02T07:29:56Z")

</div>

Hello I’m hear to share or asking some solution of copied macro is raising linkage error on save. I have a blueprint class ‘A’ which is inherited from class ‘A0’ and Blueprint Macro library ‘B’ with A0. I’ve made an bp…

---

## [Lighting settings for VR, messed up on Light Build](https://forums.unrealengine.com/t/lighting-settings-for-vr-messed-up-on-light-build/626120)

<div class="topic-metadata">

**Author:** [@Paula\_Clark1](https://forums.unrealengine.com/u/Paula_Clark1)\
**Replies:** 1\
**Last updated:** [September 1, 2022, 8:03pm UTC](https://forums.unrealengine.com/t/lighting-settings-for-vr-messed-up-on-light-build/626120 "2022-09-01T20:03:31Z")

</div>

Hi, this is my first attempt at building a VR project. I’m building to an Oculus Quest 2. The scene works on the Oculus without building lighting but is obviously very dark. If I build the lighting though I get these f…

---

## [High CPU usage on Mac OSX](https://forums.unrealengine.com/t/high-cpu-usage-on-mac-osx/277554)

<div class="topic-metadata">

**Author:** [@gregschlom](https://forums.unrealengine.com/u/gregschlom)\
**Replies:** 32\
**Last updated:** [September 1, 2022, 6:58pm UTC](https://forums.unrealengine.com/t/high-cpu-usage-on-mac-osx/277554 "2022-09-01T18:58:25Z")

</div>

The “Unreal Engine Launcher” is sitting idle at 12%-15% CPU, all the time, even in the background. Then when I launch the editor, UE4Editor sits at 60%-70% on the welcome screen (the one that says “Projects” / “New Proj…

---

## [Audio Thread crash on first play](https://forums.unrealengine.com/t/audio-thread-crash-on-first-play/274860)

<div class="topic-metadata">

**Author:** [@drb1992](https://forums.unrealengine.com/u/drb1992)\
**Replies:** 2\
**Last updated:** [August 31, 2022, 5:56pm UTC](https://forums.unrealengine.com/t/audio-thread-crash-on-first-play/274860 "2022-08-31T17:56:47Z")

</div>

All of a sudden I’ve started to have a crash with my packaged game. What’s odd is it only crashes the first time you play it. Though I think it’s not crashing because something important is being cached into memory. If I…

---

## [Debug on VS not stopping on breakpoints](https://forums.unrealengine.com/t/debug-on-vs-not-stopping-on-breakpoints/393418)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_51aac688](https://forums.unrealengine.com/u/anonymous_user_51aac688)\
**Replies:** 13\
**Last updated:** [August 31, 2022, 5:54pm UTC](https://forums.unrealengine.com/t/debug-on-vs-not-stopping-on-breakpoints/393418 "2022-08-31T17:54:39Z")

</div>

Try to use : #pragma optimize("", off) //YOUR FUNCTION HERE #pragma optimize("", on)

---

## [Occlusion view in real time](https://forums.unrealengine.com/t/occlusion-view-in-real-time/634094)

<div class="topic-metadata">

**Author:** [@Pareskomon](https://forums.unrealengine.com/u/Pareskomon)\
**Replies:** 4\
**Last updated:** [August 31, 2022, 12:48pm UTC](https://forums.unrealengine.com/t/occlusion-view-in-real-time/634094 "2022-08-31T12:48:02Z")

</div>

Hi, is there a way to enable a viewport that show the occluded objects in real time for UE4 - 4.26, just like there was in UDK? Thanks in advance.

---

## [Project Crashing in package build](https://forums.unrealengine.com/t/project-crashing-in-package-build/637564)

<div class="topic-metadata">

**Author:** [@ShakaBond](https://forums.unrealengine.com/u/ShakaBond)\
**Replies:** 0\
**Last updated:** [August 31, 2022, 2:31am UTC](https://forums.unrealengine.com/t/project-crashing-in-package-build/637564 "2022-08-31T02:31:07Z")

</div>

Hi need some help understanding what is going on i my project , there are times where I can just play the game and others that crashes Normally it happens when opening levels , will share logs The logs are from the two…

---

## [What is this?](https://forums.unrealengine.com/t/what-is-this/636768)

<div class="topic-metadata">

**Author:** [@Dimi2017](https://forums.unrealengine.com/u/Dimi2017)\
**Replies:** 1\
**Last updated:** [August 30, 2022, 2:46am UTC](https://forums.unrealengine.com/t/what-is-this/636768 "2022-08-30T02:46:31Z")

</div>

oginId:dc540aec4b919e85f048f6a1f5fe1e61 EpicAccountId:f0ca03984d5a46dd8ea38b5ef3fbc70e Fatal error: \[File:D:\\build++UE5\\Sync\\Engine\\Source\\Runtime\\CoreUObject\\Private\\UObject\\LinkerLoad.cpp\] \[Line: 4470\] SubstanceGraph…

---

## [Crash Reporter in Shipping build?](https://forums.unrealengine.com/t/crash-reporter-in-shipping-build/635917)

<div class="topic-metadata">

**Author:** [@MarcelEissens](https://forums.unrealengine.com/u/MarcelEissens)\
**Replies:** 0\
**Last updated:** [August 28, 2022, 4:38pm UTC](https://forums.unrealengine.com/t/crash-reporter-in-shipping-build/635917 "2022-08-28T16:38:45Z")

</div>

Hi! I’m having issues with including the crash reporter in a shipping build. The option “include crash reporter” is checked. Am I missing something? Project is launched via the project launcher, shipping config, for d…

---

## [Closing to desktop with no message](https://forums.unrealengine.com/t/closing-to-desktop-with-no-message/634106)

<div class="topic-metadata">

**Author:** [@Sly\_Snake](https://forums.unrealengine.com/u/Sly_Snake)\
**Replies:** 5\
**Last updated:** [August 28, 2022, 6:47am UTC](https://forums.unrealengine.com/t/closing-to-desktop-with-no-message/634106 "2022-08-28T06:47:56Z")

</div>

When running my compiled build, it starts on the main menu then loads your selected map on a button click. The problem is, perhaps 1 in 4 times at the end of loading it will just close to desktop without any message. It …

---

## [How do I test touch inputs which require multiple touchs](https://forums.unrealengine.com/t/how-do-i-test-touch-inputs-which-require-multiple-touchs/628327)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_931e9955](https://forums.unrealengine.com/u/anonymous_user_931e9955)\
**Replies:** 1\
**Last updated:** [August 27, 2022, 12:01pm UTC](https://forums.unrealengine.com/t/how-do-i-test-touch-inputs-which-require-multiple-touchs/628327 "2022-08-27T12:01:05Z")

</div>

Hey, I am attempting to make a mobile game, my first attempt really and I don’t know how to test inputs that require multiple touches on pc, I do not have a touch pad. I did enable mouse imitate touch but that is only go…

---

## [How to use blueprints in Ue5 to determine whether the remote lever of mobile app is activated by pressing](https://forums.unrealengine.com/t/how-to-use-blueprints-in-ue5-to-determine-whether-the-remote-lever-of-mobile-app-is-activated-by-pressing/635109)

<div class="topic-metadata">

**Author:** [@BifFly\_Li](https://forums.unrealengine.com/u/BifFly_Li)\
**Replies:** 0\
**Last updated:** [August 27, 2022, 2:21am UTC](https://forums.unrealengine.com/t/how-to-use-blueprints-in-ue5-to-determine-whether-the-remote-lever-of-mobile-app-is-activated-by-pressing/635109 "2022-08-27T02:21:36Z")

</div>

I want to realize the vibration of the remote lever when it is pressed. At present, all I can find is to obtain the position of the remote lever, but I can’t find how to judge the trigger of the first time the remote lev…

---

## [Encountering mysterious error, hitherto unseen, in project](https://forums.unrealengine.com/t/encountering-mysterious-error-hitherto-unseen-in-project/634330)

<div class="topic-metadata">

**Author:** [@Vivraan](https://forums.unrealengine.com/u/Vivraan)\
**Replies:** 3\
**Last updated:** [August 26, 2022, 6:08pm UTC](https://forums.unrealengine.com/t/encountering-mysterious-error-hitherto-unseen-in-project/634330 "2022-08-26T18:08:57Z")

</div>

The complete error is: AABBTree.h(3051): \[C4499\] 'static': an explicit specialization cannot have a storage class (ignored) ISpatialAcceleration.h(346): \[C4499\] see reference to class template instantiation 'Chaos::…

---

## [Stuck on 0% initializing and again on 17% DDC](https://forums.unrealengine.com/t/stuck-on-0-initializing-and-again-on-17-ddc/632312)

<div class="topic-metadata">

**Author:** [@Splatterbaby](https://forums.unrealengine.com/u/Splatterbaby)\
**Replies:** 1\
**Last updated:** [August 25, 2022, 8:48pm UTC](https://forums.unrealengine.com/t/stuck-on-0-initializing-and-again-on-17-ddc/632312 "2022-08-25T20:48:29Z")

</div>

Hi there. Not sure if this is in the right place . All my projects open up fine and fast besides 1 of them. It gets stuck on 0% initializing and again at 17% DDC. It takes over 20 minutes to open up the project every ti…

---

## [Fatal Error on launching packaged project: Could not find SuperStruct ReceiveBeginPlay to create ReceiveBeginPlay](https://forums.unrealengine.com/t/fatal-error-on-launching-packaged-project-could-not-find-superstruct-receivebeginplay-to-create-receivebeginplay/634153)

<div class="topic-metadata">

**Author:** [@DavidTveraas](https://forums.unrealengine.com/u/DavidTveraas)\
**Replies:** 3\
**Last updated:** [August 25, 2022, 6:15pm UTC](https://forums.unrealengine.com/t/fatal-error-on-launching-packaged-project-could-not-find-superstruct-receivebeginplay-to-create-receivebeginplay/634153 "2022-08-25T18:15:18Z")

</div>

I’m packaging my project for Windows, and I get a Fatal Error on launching the game, causing a crash. The full error is: Fatal error: \[File:D:\\build++UE5\\Sync\\Engine\\Source\\Runtime\\CoreUObject\\Private\\Serialization\\Asy…

---

## [\[Crash\] Ghost files crashing my editor #UE5](https://forums.unrealengine.com/t/crash-ghost-files-crashing-my-editor-ue5/634083)

<div class="topic-metadata">

**Author:** [@Muuush](https://forums.unrealengine.com/u/Muuush)\
**Replies:** 2\
**Last updated:** [August 25, 2022, 1:23pm UTC](https://forums.unrealengine.com/t/crash-ghost-files-crashing-my-editor-ue5/634083 "2022-08-25T13:23:31Z")

</div>

Hi, I’m currently digging an old project from the grave and getting issues (crash) when moving or renaming files (even a right click on them) The project was upgraded from UE4.21 all the way to UE5 without any issue (I…

---

## [Widgets not appearing in packaged build without using delay node](https://forums.unrealengine.com/t/widgets-not-appearing-in-packaged-build-without-using-delay-node/633738)

<div class="topic-metadata">

**Author:** [@DavidTveraas](https://forums.unrealengine.com/u/DavidTveraas)\
**Replies:** 0\
**Last updated:** [August 24, 2022, 11:04pm UTC](https://forums.unrealengine.com/t/widgets-not-appearing-in-packaged-build-without-using-delay-node/633738 "2022-08-24T23:04:08Z")

</div>

When I package a build of my project, the Widgets added to viewport don’t appear at all. I tried moving the Add to Viewport around to different Blueprints, as I’m aware there is an order of operations which is different …

---

## [Unreal Engine Debuging in Visual Studio Code](https://forums.unrealengine.com/t/unreal-engine-debuging-in-visual-studio-code/633482)

<div class="topic-metadata">

**Author:** [@werto871](https://forums.unrealengine.com/u/werto871)\
**Replies:** 0\
**Last updated:** [August 24, 2022, 3:05pm UTC](https://forums.unrealengine.com/t/unreal-engine-debuging-in-visual-studio-code/633482 "2022-08-24T15:05:00Z")

</div>

I am using Visual Studio Code and trying to debug. “Launch MyProject1 (DebugGame)” leads to an error. Part of the log messages: \[2022.08.24-14.04.19:088\]\[ 0\]LogD3D12RHI: Adapter Name: NVIDIA GeForce RTX 2060 \[202…

---

## [Packaging failure - UE5.0 very confused how to fix errors](https://forums.unrealengine.com/t/packaging-failure-ue5-0-very-confused-how-to-fix-errors/633203)

<div class="topic-metadata">

**Author:** [@Mehtopia](https://forums.unrealengine.com/u/Mehtopia)\
**Replies:** 5\
**Last updated:** [August 24, 2022, 11:14am UTC](https://forums.unrealengine.com/t/packaging-failure-ue5-0-very-confused-how-to-fix-errors/633203 "2022-08-24T11:14:06Z")

</div>

Hi everyone this is my first time making a game and im very confused on how to fix these errors. I also have no idea what any of it means so if anyone has a solution to some of them I will be very thankful

---

## [Packaging ERROR](https://forums.unrealengine.com/t/packaging-error/615957)

<div class="topic-metadata">

**Author:** [@Alkaseeh](https://forums.unrealengine.com/u/Alkaseeh)\
**Replies:** 5\
**Last updated:** [August 24, 2022, 6:18am UTC](https://forums.unrealengine.com/t/packaging-error/615957 "2022-08-24T06:18:03Z")

</div>

I have a question about error am having when packaging my game in Unreal Engine 5. do you know how to fix this error because the game is not opening after the package is done. LogFeaturePack: Error: Error in Feature pa…

---

## [Android Object occlusion 4.26](https://forums.unrealengine.com/t/android-object-occlusion-4-26/633061)

<div class="topic-metadata">

**Author:** [@Pareskomon](https://forums.unrealengine.com/u/Pareskomon)\
**Replies:** 0\
**Last updated:** [August 24, 2022, 3:23am UTC](https://forums.unrealengine.com/t/android-object-occlusion-4-26/633061 "2022-08-24T03:23:22Z")

</div>

In 2016 object occlusion wasn’t working on android versions. (only frustum) (precomputed also did not seem to have any effects) Was this bug fixed in Unreal 4.26? I made some tests and wasn’t able to make it work… only…

---

## [How would i debug something like this?](https://forums.unrealengine.com/t/how-would-i-debug-something-like-this/631359)

<div class="topic-metadata">

**Author:** [@BluntStuffy](https://forums.unrealengine.com/u/BluntStuffy)\
**Replies:** 18\
**Last updated:** [August 23, 2022, 7:51pm UTC](https://forums.unrealengine.com/t/how-would-i-debug-something-like-this/631359 "2022-08-23T19:51:42Z")

</div>

I’m having an issue with my project not launching in Standalone mode. Everything works fine when i launch in PIE, but when i try in Standalone mode i get all kinds of different errors. I’m starting to get annoyed by thi…

---

## [Most reliable method for cpu profiling of the game thread](https://forums.unrealengine.com/t/most-reliable-method-for-cpu-profiling-of-the-game-thread/632399)

<div class="topic-metadata">

**Author:** [@HashemShepard](https://forums.unrealengine.com/u/HashemShepard)\
**Replies:** 6\
**Last updated:** [August 22, 2022, 8:37pm UTC](https://forums.unrealengine.com/t/most-reliable-method-for-cpu-profiling-of-the-game-thread/632399 "2022-08-22T20:37:20Z")

</div>

hello everyone, i hope you are all doing great so i wanted to ask about the Most reliable method for cpu profiling of the game thread the profiler tool in ue4 just show me alot of data i cant really get something out …

---

## [Can't package because SDK?](https://forums.unrealengine.com/t/cant-package-because-sdk/611893)

<div class="topic-metadata">

**Author:** [@TashaR](https://forums.unrealengine.com/u/TashaR)\
**Replies:** 4\
**Last updated:** [August 21, 2022, 7:53pm UTC](https://forums.unrealengine.com/t/cant-package-because-sdk/611893 "2022-08-21T19:53:17Z")

</div>

Hello, I am attempting to package a project. It refuses to acknowledge the SDK. I’m trying to do it for PC, but NONE of the platforms acknowledge the SDK already in the UE5. To fix this issue I’ve: Redownloaded Visual…

---

## [Best Way To Repeatedly Clean Arrays](https://forums.unrealengine.com/t/best-way-to-repeatedly-clean-arrays/631221)

<div class="topic-metadata">

**Author:** [@Fairchild](https://forums.unrealengine.com/u/Fairchild)\
**Replies:** 9\
**Last updated:** [August 20, 2022, 7:16am UTC](https://forums.unrealengine.com/t/best-way-to-repeatedly-clean-arrays/631221 "2022-08-20T07:16:16Z")

</div>

I need to know what the most effecient way of achieving this goal: RTS game with Towers that can be captured to increase income. Towers are captured by units within their colliders. Friendly units will prevent the tower…

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

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