# Debugging, Optimization, & Profiling

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

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

**Page:** 71

---

## [Having some lag how do i fix it?](https://forums.unrealengine.com/t/having-some-lag-how-do-i-fix-it/147364)

<div class="topic-metadata">

**Author:** [@Selinnshade](https://forums.unrealengine.com/u/Selinnshade)\
**Replies:** 5\
**Last updated:** [July 19, 2020, 3:09am UTC](https://forums.unrealengine.com/t/having-some-lag-how-do-i-fix-it/147364 "2020-07-19T03:09:48Z")

</div>

Hey guys i am making a game call chaser and i have been having this lagging problem where every time i package the game is starts to lag. it usually run smoothly after i put a lot of separated assets. i am not sure what …

---

## [VS2017 Fails to Start Debugging](https://forums.unrealengine.com/t/vs2017-fails-to-start-debugging/388550)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_71c55af3](https://forums.unrealengine.com/u/anonymous_user_71c55af3)\
**Replies:** 9\
**Last updated:** [July 17, 2020, 3:55pm UTC](https://forums.unrealengine.com/t/vs2017-fails-to-start-debugging/388550 "2020-07-17T15:55:49Z")

</div>

Hello all UE Version 4.15.1 VS2017 My problem is when I try to debug using VS2017 I receive an error after building completes. Here is my log Log I am not sure why such a problem happens, any help would be appreciat…

---

## [UE4 project suspends process by itself after it loads 75%](https://forums.unrealengine.com/t/ue4-project-suspends-process-by-itself-after-it-loads-75/468256)

<div class="topic-metadata">

**Author:** [@Rosium](https://forums.unrealengine.com/u/Rosium)\
**Replies:** 1\
**Last updated:** [July 16, 2020, 4:11pm UTC](https://forums.unrealengine.com/t/ue4-project-suspends-process-by-itself-after-it-loads-75/468256 "2020-07-16T16:11:39Z")

</div>

\[this is the 3rd attempt in writing,…please pardon my frustration if i come off angry\] I need help figuring out why my project will no longer open after debugging in Visual studio. i made a fresh pull from Git and the…

---

## [Artificial Intelligence Problems, and #Include stdarg.h source file, other files not found and an odd call stack error. UE4 Version 4.23/4.24](https://forums.unrealengine.com/t/artificial-intelligence-problems-and-include-stdarg-h-source-file-other-files-not-found-and-an-odd-call-stack-error-ue4-version-4-23-4-24/466227)

<div class="topic-metadata">

**Author:** [@Quaked54](https://forums.unrealengine.com/u/Quaked54)\
**Replies:** 1\
**Last updated:** [July 14, 2020, 1:31pm UTC](https://forums.unrealengine.com/t/artificial-intelligence-problems-and-include-stdarg-h-source-file-other-files-not-found-and-an-odd-call-stack-error-ue4-version-4-23-4-24/466227 "2020-07-14T13:31:22Z")

</div>

These errors are the main problem. The First photo is giving me an error on .Num() which called an array of actor, within the AI’s Sight Radius for some reason .Num() is giving me an error which I know it is a val…

---

## [Terrain Material Layers by Alpha Map How to change scale](https://forums.unrealengine.com/t/terrain-material-layers-by-alpha-map-how-to-change-scale/147256)

<div class="topic-metadata">

**Author:** [@rich0550](https://forums.unrealengine.com/u/rich0550)\
**Replies:** 6\
**Last updated:** [July 11, 2020, 1:26pm UTC](https://forums.unrealengine.com/t/terrain-material-layers-by-alpha-map-how-to-change-scale/147256 "2020-07-11T13:26:52Z")

</div>

Hi All I have terrain but the size of the pattern of the layers created by the alpha map is wrong. Do I re-scale the terrain. Does the terrain resolution have to match my alpha map? Is there a way to make it larger i…

---

## [Deployment for mac/windows/web issues UE 4.25](https://forums.unrealengine.com/t/deployment-for-mac-windows-web-issues-ue-4-25/145089)

<div class="topic-metadata">

**Author:** [@jmgold07](https://forums.unrealengine.com/u/jmgold07)\
**Replies:** 4\
**Last updated:** [July 8, 2020, 10:30am UTC](https://forums.unrealengine.com/t/deployment-for-mac-windows-web-issues-ue-4-25/145089 "2020-07-08T10:30:15Z")

</div>

Hi. There’s no deployment subtopic (i don’t think) so posting here. I’m at the start of building a game with UE4.25 on a mac. I thought i’d try and build and package it before developing too far ahead, to check if pac…

---

## [Second in game window("viewport")](https://forums.unrealengine.com/t/second-in-game-window-viewport/147133)

<div class="topic-metadata">

**Author:** [@CaTaTo\_23](https://forums.unrealengine.com/u/CaTaTo_23)\
**Replies:** 0\
**Last updated:** [July 7, 2020, 6:37pm UTC](https://forums.unrealengine.com/t/second-in-game-window-viewport/147133 "2020-07-07T18:37:43Z")

</div>

Hi, i made small plugin for community :D. It is in game second “viewport” for help debug. For example check multiplayer FP character from side without create another pawn and start server. This plugin is completely free…

---

## [Is there a way to write the output of the debug console of a packaged build to a log file?](https://forums.unrealengine.com/t/is-there-a-way-to-write-the-output-of-the-debug-console-of-a-packaged-build-to-a-log-file/467528)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_d597858d](https://forums.unrealengine.com/u/anonymous_user_d597858d)\
**Replies:** 0\
**Last updated:** [July 1, 2020, 10:10pm UTC](https://forums.unrealengine.com/t/is-there-a-way-to-write-the-output-of-the-debug-console-of-a-packaged-build-to-a-log-file/467528 "2020-07-01T22:10:10Z")

</div>

I was wondering if it’s possible to copy to clipboard or write to a log file the output of the debug console after a debug command is run in a packaged build. E.g. the project has a console command which lists all the au…

---

## [What's most RAM consuming in Unreal?](https://forums.unrealengine.com/t/whats-most-ram-consuming-in-unreal/146414)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_157de417](https://forums.unrealengine.com/u/anonymous_user_157de417)\
**Replies:** 13\
**Last updated:** [July 1, 2020, 5:33pm UTC](https://forums.unrealengine.com/t/whats-most-ram-consuming-in-unreal/146414 "2020-07-01T17:33:57Z")

</div>

Hi! I’m running out of RAM when I’m building the light (preview quality). I have 32 gb and I thought that would be enough but unfortunately not. I need to know what’s most RAM consuming in Unreal so I can optimize my …

---

## [How would this computer do for UE4 developing?](https://forums.unrealengine.com/t/how-would-this-computer-do-for-ue4-developing/467444)

<div class="topic-metadata">

**Author:** [@presto423](https://forums.unrealengine.com/u/presto423)\
**Replies:** 4\
**Last updated:** [June 30, 2020, 2:40pm UTC](https://forums.unrealengine.com/t/how-would-this-computer-do-for-ue4-developing/467444 "2020-06-30T14:40:54Z")

</div>

AMD Ryzen 7 (3rd Gen) 3700X, 8-core @ 3.6 GHz base 16 GB DDR4 RAM @ 3000 MHz and 32 MB cache (upgrades up to 64 GB w/ four RAM slots) NVidia RTX 2070 Super 1 GB NVMe SSD 7.1 channel surround sound capable Windows 10 …

---

## [Import large models in packaged game](https://forums.unrealengine.com/t/import-large-models-in-packaged-game/146503)

<div class="topic-metadata">

**Author:** [@Naadril](https://forums.unrealengine.com/u/Naadril)\
**Replies:** 1\
**Last updated:** [June 29, 2020, 12:42pm UTC](https://forums.unrealengine.com/t/import-large-models-in-packaged-game/146503 "2020-06-29T12:42:11Z")

</div>

Hi, I would like to create a viewer tool in which the user can import many large 3d models (like entire scene), not necessarily in runtime. I’ve found some solutions using mesh importer plugins but they use ProceduralM…

---

## [TActorRange vs TActorIterator](https://forums.unrealengine.com/t/tactorrange-vs-tactoriterator/467208)

<div class="topic-metadata">

**Author:** [@knapeczadam](https://forums.unrealengine.com/u/knapeczadam)\
**Replies:** 2\
**Last updated:** [June 28, 2020, 9:48am UTC](https://forums.unrealengine.com/t/tactorrange-vs-tactoriterator/467208 "2020-06-28T09:48:35Z")

</div>

Is there any performance difference between the two? Let’s suppose we’d like to get all actors from current scene. Which version would you use? for (AActor\* Actor : TActorRange\<AActor\>(())) { // ... } for (TActo…

---

## [Some performance questions about polycount](https://forums.unrealengine.com/t/some-performance-questions-about-polycount/467287)

<div class="topic-metadata">

**Author:** [@NeoJones](https://forums.unrealengine.com/u/NeoJones)\
**Replies:** 12\
**Last updated:** [June 27, 2020, 7:19pm UTC](https://forums.unrealengine.com/t/some-performance-questions-about-polycount/467287 "2020-06-27T19:19:36Z")

</div>

It’s not just about triangles. Unreal will only draw things that are visible. I wouldn’t worry about this. Generally a lot of high polygon models will slow things down a lot, but so does shadows, foliage, texture s…

---

## [How to make separate levels](https://forums.unrealengine.com/t/how-to-make-separate-levels/90831)

<div class="topic-metadata">

**Author:** [@maa2007](https://forums.unrealengine.com/u/maa2007)\
**Replies:** 17\
**Last updated:** [June 27, 2020, 7:04am UTC](https://forums.unrealengine.com/t/how-to-make-separate-levels/90831 "2020-06-27T07:04:36Z")

</div>

hello every one, i am very familiar with another game engine called game maker studio, and i created many things on it, now i downloaded unreal engine and im starting to get into it, but i have a question regarding cre…

---

## [Project Settings - Copy?](https://forums.unrealengine.com/t/project-settings-copy/146483)

<div class="topic-metadata">

**Author:** [@BernhardRieder](https://forums.unrealengine.com/u/BernhardRieder)\
**Replies:** 3\
**Last updated:** [June 26, 2020, 4:12am UTC](https://forums.unrealengine.com/t/project-settings-copy/146483 "2020-06-26T04:12:12Z")

</div>

I tried to copy the project settings from one project - basically export as a text file. Once done, I thought you can import or load the saved project settings for any other project. Didn’t seem to work at all. Does t…

---

## [Play in editor problem](https://forums.unrealengine.com/t/play-in-editor-problem/467239)

<div class="topic-metadata">

**Author:** [@Natie\_D](https://forums.unrealengine.com/u/Natie_D)\
**Replies:** 18\
**Last updated:** [June 25, 2020, 8:15pm UTC](https://forums.unrealengine.com/t/play-in-editor-problem/467239 "2020-06-25T20:15:16Z")

</div>

I created a world for a school project. Once it was finished, I migrated it to an empty project in order to save storage for when I package it. When I wanted to test it, this happened. While playing in editor it is re…

---

## [Question for level streaming](https://forums.unrealengine.com/t/question-for-level-streaming/53642)

<div class="topic-metadata">

**Author:** [@yanzco](https://forums.unrealengine.com/u/yanzco)\
**Replies:** 8\
**Last updated:** [June 25, 2020, 10:16am UTC](https://forums.unrealengine.com/t/question-for-level-streaming/53642 "2020-06-25T10:16:33Z")

</div>

hello to all, to what i know, level streaming… is loading and unloading levels / portions of the map where the player is near to improve performance… i was wondering, if a level is not loaded, and there are ai bots movi…

---

## [Epic Online Service - Player Data Storage](https://forums.unrealengine.com/t/epic-online-service-player-data-storage/143524)

<div class="topic-metadata">

**Author:** [@unit23](https://forums.unrealengine.com/u/unit23)\
**Replies:** 2\
**Last updated:** [May 15, 2020, 9:50pm UTC](https://forums.unrealengine.com/t/epic-online-service-player-data-storage/143524 "2020-05-15T21:50:51Z")

</div>

Not sure when this feature was released, but with 1.6 it appears to be available. The SDK includes a sample of PlayerDataStrorage, a complete project. The question is immediately, how can this be setup, and what needs to…

---

## [\[Solved\] Packaging Error - Failed to produce an item \*.exe](https://forums.unrealengine.com/t/solved-packaging-error-failed-to-produce-an-item-exe/118285)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_b5891cd6](https://forums.unrealengine.com/u/anonymous_user_b5891cd6)\
**Replies:** 3\
**Last updated:** [June 21, 2020, 3:58pm UTC](https://forums.unrealengine.com/t/solved-packaging-error-failed-to-produce-an-item-exe/118285 "2020-06-21T15:58:43Z")

</div>

Hello all, I was trying to package my first game and I got a failure. Below is the log file. I tried doing some google searches but I couldn’t find anything that helped with my problem in particular. I’m honestly lost as…

---

## [UE4 Lags but doesn't use most of my GPU/CPU](https://forums.unrealengine.com/t/ue4-lags-but-doesnt-use-most-of-my-gpu-cpu/466595)

<div class="topic-metadata">

**Author:** [@Pravok](https://forums.unrealengine.com/u/Pravok)\
**Replies:** 0\
**Last updated:** [June 11, 2020, 6:34pm UTC](https://forums.unrealengine.com/t/ue4-lags-but-doesnt-use-most-of-my-gpu-cpu/466595 "2020-06-11T18:34:43Z")

</div>

So I’ve been working on a scene for a cinematic that is very heavy and unoptimized so I didn’t expect it to run smoothly but when I look at my task manager, it looks like ue4 is struggling but isn’t pulling a lot of cpu/…

---

## [Invert Normal to Height](https://forums.unrealengine.com/t/invert-normal-to-height/145496)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_61732a9c1](https://forums.unrealengine.com/u/anonymous_user_61732a9c1)\
**Replies:** 9\
**Last updated:** [June 10, 2020, 7:08pm UTC](https://forums.unrealengine.com/t/invert-normal-to-height/145496 "2020-06-10T19:08:30Z")

</div>

Hi, I am new in Unreal and I try to figure out how some things are working. I would like to invert my normal map to height or to grey scale. Is there any node or any way to do it? Thank you!

---

## [How to Disable Device Profiles?](https://forums.unrealengine.com/t/how-to-disable-device-profiles/466381)

<div class="topic-metadata">

**Author:** [@stuck\_compiling](https://forums.unrealengine.com/u/stuck_compiling)\
**Replies:** 4\
**Last updated:** [June 10, 2020, 9:43am UTC](https://forums.unrealengine.com/t/how-to-disable-device-profiles/466381 "2020-06-10T09:43:51Z")

</div>

I have a mobile project which I have built around graphics-settings which the user can change in-game. They work wonderfully - until I package the game for iOS. While most of the settings work, some don’t because of Devi…

---

## [Large v Small Meshes Performance](https://forums.unrealengine.com/t/large-v-small-meshes-performance/466498)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_7995904c](https://forums.unrealengine.com/u/anonymous_user_7995904c)\
**Replies:** 1\
**Last updated:** [June 10, 2020, 2:25am UTC](https://forums.unrealengine.com/t/large-v-small-meshes-performance/466498 "2020-06-10T02:25:21Z")

</div>

I have large buildings that are the focus of my scene. I would really appreciate some feedback and advice on how performance would be affected by having each building as its own large mesh versus each building containing…

---

## [Large v. Small Meshes Performance](https://forums.unrealengine.com/t/large-v-small-meshes-performance/466497)

<div class="topic-metadata">

**Author:** [@anonymous\_user\_7995904c](https://forums.unrealengine.com/u/anonymous_user_7995904c)\
**Replies:** 0\
**Last updated:** [June 9, 2020, 10:26pm UTC](https://forums.unrealengine.com/t/large-v-small-meshes-performance/466497 "2020-06-09T22:26:53Z")

</div>

I have large buildings that are the focus of my scene. I would really appreciate some feedback and advice on how performance would be affected by having each building as its own large mesh versus each building containing…

---

## [Game Mode BP Debug Filter](https://forums.unrealengine.com/t/game-mode-bp-debug-filter/466410)

<div class="topic-metadata">

**Author:** [@Pintotto](https://forums.unrealengine.com/u/Pintotto)\
**Replies:** 0\
**Last updated:** [June 8, 2020, 5:45pm UTC](https://forums.unrealengine.com/t/game-mode-bp-debug-filter/466410 "2020-06-08T17:45:19Z")

</div>

Hi everyone! I’m quite new to UE4 (and I find it’s great). I tried to look around here and on google, but with scarce results, so I hope this question han’t been asked already. Anyway, I want to set up the debug mode o…

---

## [Is instancing actors possible? and if not How can I destroy a Instant static mesh from a BP](https://forums.unrealengine.com/t/is-instancing-actors-possible-and-if-not-how-can-i-destroy-a-instant-static-mesh-from-a-bp/145282)

<div class="topic-metadata">

**Author:** [@BaseReality](https://forums.unrealengine.com/u/BaseReality)\
**Replies:** 1\
**Last updated:** [June 7, 2020, 2:13pm UTC](https://forums.unrealengine.com/t/is-instancing-actors-possible-and-if-not-how-can-i-destroy-a-instant-static-mesh-from-a-bp/145282 "2020-06-07T14:13:14Z")

</div>

I have made a Procedural grid BP that places cubes, and I have an actor that blasts out a line trace and is supposed to destroy the cube it hits. I have had to make two variants of this as I feel im stuck in a bit of li…

---

## [How do you make sure that simulated code is the actor you are using?](https://forums.unrealengine.com/t/how-do-you-make-sure-that-simulated-code-is-the-actor-you-are-using/466314)

<div class="topic-metadata">

**Author:** [@EdBennett](https://forums.unrealengine.com/u/EdBennett)\
**Replies:** 0\
**Last updated:** [June 6, 2020, 8:04am UTC](https://forums.unrealengine.com/t/how-do-you-make-sure-that-simulated-code-is-the-actor-you-are-using/466314 "2020-06-06T08:04:27Z")

</div>

Hi I have this problem a lot, I would like to debug some code so I play the game and watch the simulated code. In this example I would like to see what the state machine is doing: However it does not seem to be trac…

---

## [Is there an update on allowing users to upload a profile picture to there Epic account?](https://forums.unrealengine.com/t/is-there-an-update-on-allowing-users-to-upload-a-profile-picture-to-there-epic-account/466304)

<div class="topic-metadata">

**Author:** [@Agent\_biker](https://forums.unrealengine.com/u/Agent_biker)\
**Replies:** 0\
**Last updated:** [June 5, 2020, 11:29pm UTC](https://forums.unrealengine.com/t/is-there-an-update-on-allowing-users-to-upload-a-profile-picture-to-there-epic-account/466304 "2020-06-05T23:29:36Z")

</div>

Is there an update on allowing users to upload a profile picture to there Epic Games account?

---

## [Variables stored in game mode or game instance?](https://forums.unrealengine.com/t/variables-stored-in-game-mode-or-game-instance/145148)

<div class="topic-metadata">

**Author:** [@jmgold07](https://forums.unrealengine.com/u/jmgold07)\
**Replies:** 1\
**Last updated:** [June 5, 2020, 4:33am UTC](https://forums.unrealengine.com/t/variables-stored-in-game-mode-or-game-instance/145148 "2020-06-05T04:33:24Z")

</div>

Hi, I’ve got a few booleans that keep track of some of the events that occur during a game. If you perform task A, the boolean is set to true. The game at the moment is only a single map and is single player. I had a…

---

## [Come fondo due profili di epic games?](https://forums.unrealengine.com/t/come-fondo-due-profili-di-epic-games/466162)

<div class="topic-metadata">

**Author:** [@Trqcked](https://forums.unrealengine.com/u/Trqcked)\
**Replies:** 0\
**Last updated:** [June 4, 2020, 12:41am UTC](https://forums.unrealengine.com/t/come-fondo-due-profili-di-epic-games/466162 "2020-06-04T00:41:15Z")

</div>

Come fondo due profili di epic games ?

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

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