Crash when using UTextRenderComponent in Code

I have a question and a Problem regarding UTextRenderComponent.

First. I have a C++ Class, which inherits from AActor. So in the Header i include Actor.h of cause.
I have no problem using UStaricMeshComponent, but the Compiler saiys me:
identifier “UTextRenderComponent” is undefned.

So I looked up the dicumentation and used the include: “Runtime/Engine/Classes/Components/TextRenderComponent.h”.

Now it’s working, but thats a bit strange cause MeshComponent is working, but no the TextRender?

Now to my error:

After making a Variable in my Header:

   UTextRenderComponent nameText;

My editor crashes when i try to compile. I double checked everything. It was working fine before, I changed 2 Lines only The Include and the new Variable.

I can compile in Visual Studio without any Problem. But Unreal Crash, even if I delete the Binaries and let Unreal recreate them.

My Project is a bit longer, so i dont wanna post 100 lines of Code, but I’m 100% sure, before everythign was working and after I add the UTextRenderComponent line its crashing (it works again when i comment it)

here is my Crash Report maybe this can help:

Log file open, 03/02/17 11:08:41
LogInit:Display: Running engine without
a game LogPlatformFile: Not using
cached read wrapper LogInit:Display:
Loading recent project file:
D:/UnrealProjects/MathLab/MathLab.uproject
LogInit:Display: RandInit(-247775818)
SRandInit(-247775818). LogTaskGraph:
Started task graph with 5 named
threads and 8 total threads with 1
sets of task threads. LogStats: Stats
thread started at 0.070583
LogPluginManager: Loaded Plugin
Paper2D, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/2D/Paper2D/Paper2D.uplugin
LogPluginManager: Loaded Plugin
LightPropagationVolume, From
C:/Program Files (x86)/Epic
Games/4.14/Engine/Plugins/Blendables/LightPropagationVolume/LightPropagationVolume.uplugin
LogPluginManager: Loaded Plugin
BlankPlugin, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Developer/BlankPlugin/BlankPlugin.uplugin
LogPluginManager: Loaded Plugin
CodeLiteSourceCodeAccess, From
C:/Program Files (x86)/Epic
Games/4.14/Engine/Plugins/Developer/CodeLiteSourceCodeAccess/CodeLiteSourceCodeAccess.uplugin
LogPluginManager: Loaded Plugin
GitSourceControl, From C:/Program
Files (x86)/Epic
Games/4.14/Engine/Plugins/Developer/GitSourceControl/GitSourceControl.uplugin
LogPluginManager: Loaded Plugin
KDevelopSourceCodeAccess, From
C:/Program Files (x86)/Epic
Games/4.14/Engine/Plugins/Developer/KDevelopSourceCodeAccess/KDevelopSourceCodeAccess.uplugin
LogPluginManager: Loaded Plugin
NullSourceCodeAccess, From C:/Program
Files (x86)/Epic
Games/4.14/Engine/Plugins/Developer/NullSourceCodeAccess/NullSourceCodeAccess.uplugin
LogPluginManager: Loaded Plugin
OneSkyLocalizationService, From
C:/Program Files (x86)/Epic
Games/4.14/Engine/Plugins/Developer/OneSkyLocalizationService/OneSkyLocalizationService.uplugin
LogPluginManager: Loaded Plugin
PerforceSourceControl, From C:/Program
Files (x86)/Epic
Games/4.14/Engine/Plugins/Developer/PerforceSourceControl/PerforceSourceControl.uplugin
LogPluginManager: Loaded Plugin
SubversionSourceControl, From
C:/Program Files (x86)/Epic
Games/4.14/Engine/Plugins/Developer/SubversionSourceControl/SubversionSourceControl.uplugin
LogPluginManager: Loaded Plugin
UObjectPlugin, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Developer/UObjectPlugin/UObjectPlugin.uplugin
LogPluginManager: Loaded Plugin
VisualStudioSourceCodeAccess, From
C:/Program Files (x86)/Epic
Games/4.14/Engine/Plugins/Developer/VisualStudioSourceCodeAccess/VisualStudioSourceCodeAccess.uplugin
LogPluginManager: Loaded Plugin
XCodeSourceCodeAccess, From C:/Program
Files (x86)/Epic
Games/4.14/Engine/Plugins/Developer/XCodeSourceCodeAccess/XCodeSourceCodeAccess.uplugin
LogPluginManager: Loaded Plugin
AudioCapture, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Editor/AudioCapture/AudioCapture.uplugin
LogPluginManager: Loaded Plugin
EpicSurvey, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Editor/EpicSurvey/EpicSurvey.uplugin
LogPluginManager: Loaded Plugin
MacGraphicsSwitching, From C:/Program
Files (x86)/Epic
Games/4.14/Engine/Plugins/Editor/MacGraphicsSwitching/MacGraphicsSwitching.uplugin
LogPluginManager: Loaded Plugin
MobileLauncherProfileWizard, From
C:/Program Files (x86)/Epic
Games/4.14/Engine/Plugins/Editor/MobileLauncherProfileWizard/MobileLauncherProfileWizard.uplugin
LogPluginManager: Loaded Plugin
PluginBrowser, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Editor/PluginBrowser/PluginBrowser.uplugin
LogPluginManager: Loaded Plugin
SpeedTreeImporter, From C:/Program
Files (x86)/Epic
Games/4.14/Engine/Plugins/Editor/SpeedTreeImporter/SpeedTreeImporter.uplugin
LogPluginManager: Loaded Plugin
SuperSearchEditor, From C:/Program
Files (x86)/Epic
Games/4.14/Engine/Plugins/Editor/SuperSearchEditor/SuperSearchEditor.uplugin
LogPluginManager: Loaded Plugin
AlembicImporter, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Experimental/AlembicImporter/AlembicImporter.uplugin
LogPluginManager: Loaded Plugin
BlueprintStats, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Experimental/BlueprintStats/BlueprintStats.uplugin
LogPluginManager: Loaded Plugin
CharacterAI, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Experimental/CharacterAI/CharacterAI.uplugin
LogPluginManager: Loaded Plugin
CodeEditor, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Experimental/CodeEditor/CodeEditor.uplugin
LogPluginManager: Loaded Plugin
CodeView, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Experimental/CodeView/CodeView.uplugin
LogPluginManager: Loaded Plugin
HTML5Networking, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Experimental/HTML5Networking/HTML5Networking.uplugin
LogPluginManager: Loaded Plugin OSVR,
From C:/Program Files (x86)/Epic
Games/4.14/Engine/Plugins/Experimental/OSVR/OSVR.uplugin
LogPluginManager: Loaded Plugin Phya,
From C:/Program Files (x86)/Epic
Games/4.14/Engine/Plugins/Experimental/Phya/Phya.uplugin
LogPluginManager: Loaded Plugin
SignificanceManager, From C:/Program
Files (x86)/Epic
Games/4.14/Engine/Plugins/Experimental/SignificanceManager/SignificanceManager.uplugin
LogPluginManager: Loaded Plugin
SimpleHMD, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Experimental/SimpleHMD/SimpleHMD.uplugin
LogPluginManager: Loaded Plugin
StereoPanorama, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Experimental/StereoPanorama/StereoPanorama.uplugin
LogPluginManager: Loaded Plugin
StructBox, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Experimental/StructBox/StructBox.uplugin
LogPluginManager: Loaded Plugin
RuntimeMeshComponent, From C:/Program
Files (x86)/Epic
Games/4.14/Engine/Plugins/Marketplace/RuntimeMeshComponent/RuntimeMeshComponent.uplugin
LogPluginManager: Loaded Plugin
AndroidMedia, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Media/AndroidMedia/AndroidMedia.uplugin
LogPluginManager: Loaded Plugin
AvfMedia, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Media/AvfMedia/AvfMedia.uplugin
LogPluginManager: Loaded Plugin
MediaPlayerEditor, From C:/Program
Files (x86)/Epic
Games/4.14/Engine/Plugins/Media/MediaPlayerEditor/MediaPlayerEditor.uplugin
LogPluginManager: Loaded Plugin
WmfMedia, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Media/WmfMedia/WmfMedia.uplugin
LogPluginManager: Loaded Plugin
MessagingDebugger, From C:/Program
Files (x86)/Epic
Games/4.14/Engine/Plugins/Messaging/MessagingDebugger/MessagingDebugger.uplugin
LogPluginManager: Loaded Plugin
TcpMessaging, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Messaging/TcpMessaging/TcpMessaging.uplugin
LogPluginManager: Loaded Plugin
UdpMessaging, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Messaging/UdpMessaging/UdpMessaging.uplugin
LogPluginManager: Loaded Plugin
LevelSequenceEditor, From C:/Program
Files (x86)/Epic
Games/4.14/Engine/Plugins/MovieScene/LevelSequenceEditor/LevelSequenceEditor.uplugin
LogPluginManager: Loaded Plugin
MatineeToLevelSequence, From
C:/Program Files (x86)/Epic
Games/4.14/Engine/Plugins/MovieScene/MatineeToLevelSequence/MatineeToLevelSequence.uplugin
LogPluginManager: Loaded Plugin
NetcodeUnitTest, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/NetcodeUnitTest/NetcodeUnitTest/NetcodeUnitTest.uplugin
LogPluginManager: Loaded Plugin
NUTUnrealEngine4, From C:/Program
Files (x86)/Epic
Games/4.14/Engine/Plugins/NetcodeUnitTest/NUTUnrealEngine4/NUTUnrealEngine4.uplugin
LogPluginManager: Loaded Plugin
OnlineSubsystemGameCircle, From
C:/Program Files (x86)/Epic
Games/4.14/Engine/Plugins/Online/Android/OnlineSubsystemGameCircle/OnlineSubsystemGameCircle.uplugin
LogPluginManager: Loaded Plugin
OnlineSubsystemGooglePlay, From
C:/Program Files (x86)/Epic
Games/4.14/Engine/Plugins/Online/Android/OnlineSubsystemGooglePlay/OnlineSubsystemGooglePlay.uplugin
LogPluginManager: Loaded Plugin
OnlineSubsystemIOS, From C:/Program
Files (x86)/Epic
Games/4.14/Engine/Plugins/Online/IOS/OnlineSubsystemIOS/OnlineSubsystemIOS.uplugin
LogPluginManager: Loaded Plugin
OnlineFramework, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Online/OnlineFramework/OnlineFramework.uplugin
LogPluginManager: Loaded Plugin
OnlineSubsystem, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Online/OnlineSubsystem/OnlineSubsystem.uplugin
LogPluginManager: Loaded Plugin
OnlineSubsystemAmazon, From C:/Program
Files (x86)/Epic
Games/4.14/Engine/Plugins/Online/OnlineSubsystemAmazon/OnlineSubsystemAmazon.uplugin
LogPluginManager: Loaded Plugin
OnlineSubsystemFacebook, From
C:/Program Files (x86)/Epic
Games/4.14/Engine/Plugins/Online/OnlineSubsystemFacebook/OnlineSubsystemFacebook.uplugin
LogPluginManager: Loaded Plugin
OnlineSubsystemNull, From C:/Program
Files (x86)/Epic
Games/4.14/Engine/Plugins/Online/OnlineSubsystemNull/OnlineSubsystemNull.uplugin
LogPluginManager: Loaded Plugin
OnlineSubsystemOculus, From C:/Program
Files (x86)/Epic
Games/4.14/Engine/Plugins/Online/OnlineSubsystemOculus/OnlineSubsystemOculus.uplugin
LogPluginManager: Loaded Plugin
OnlineSubsystemSteam, From C:/Program
Files (x86)/Epic
Games/4.14/Engine/Plugins/Online/OnlineSubsystemSteam/OnlineSubsystemSteam.uplugin
LogPluginManager: Loaded Plugin
OnlineSubsystemUtils, From C:/Program
Files (x86)/Epic
Games/4.14/Engine/Plugins/Online/OnlineSubsystemUtils/OnlineSubsystemUtils.uplugin
LogPluginManager: Loaded Plugin
IOSTapJoy, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Runtime/Advertising/IOSTapJoy/IOSTapJoy.uplugin
LogPluginManager: Loaded Plugin
AnalyticsBlueprintLibrary, From
C:/Program Files (x86)/Epic
Games/4.14/Engine/Plugins/Runtime/Analytics/AnalyticsBlueprintLibrary/AnalyticsBlueprintLibrary.uplugin
LogPluginManager: Loaded Plugin
AnalyticsMulticast, From C:/Program
Files (x86)/Epic
Games/4.14/Engine/Plugins/Runtime/Analytics/AnalyticsMulticast/AnalyticsMulticast.uplugin
LogPluginManager: Loaded Plugin
Apsalar, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Runtime/Analytics/Apsalar/Apsalar.uplugin
LogPluginManager: Loaded Plugin
FileLogging, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Runtime/Analytics/FileLogging/FileLogging.uplugin
LogPluginManager: Loaded Plugin
Flurry, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Runtime/Analytics/Flurry/Flurry.uplugin
LogPluginManager: Loaded Plugin
AndroidDeviceProfileSelector, From
C:/Program Files (x86)/Epic
Games/4.14/Engine/Plugins/Runtime/AndroidDeviceProfileSelector/AndroidDeviceProfileSelector.uplugin
LogPluginManager: Loaded Plugin
AndroidMoviePlayer, From C:/Program
Files (x86)/Epic
Games/4.14/Engine/Plugins/Runtime/AndroidMoviePlayer/AndroidMoviePlayer.uplugin
LogPluginManager: Loaded Plugin
AppleMoviePlayer, From C:/Program
Files (x86)/Epic
Games/4.14/Engine/Plugins/Runtime/AppleMoviePlayer/AppleMoviePlayer.uplugin
LogPluginManager: Loaded Plugin
ArchVisCharacter, From C:/Program
Files (x86)/Epic
Games/4.14/Engine/Plugins/Runtime/ArchVisCharacter/ArchVisCharacter.uplugin
LogPluginManager: Loaded Plugin
CableComponent, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Runtime/CableComponent/CableComponent.uplugin
LogPluginManager: Loaded Plugin
CustomMeshComponent, From C:/Program
Files (x86)/Epic
Games/4.14/Engine/Plugins/Runtime/CustomMeshComponent/CustomMeshComponent.uplugin
LogPluginManager: Loaded Plugin
ExampleDeviceProfileSelector, From
C:/Program Files (x86)/Epic
Games/4.14/Engine/Plugins/Runtime/ExampleDeviceProfileSelector/ExampleDeviceProfileSelector.uplugin
LogPluginManager: Loaded Plugin
GearVR, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Runtime/GearVR/GearVR.uplugin
LogPluginManager: Loaded Plugin
GoogleVRController, From C:/Program
Files (x86)/Epic
Games/4.14/Engine/Plugins/Runtime/GoogleVR/GoogleVRController/GoogleVRController.uplugin
LogPluginManager: Loaded Plugin
GoogleVRHMD, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Runtime/GoogleVR/GoogleVRHMD/GoogleVRHMD.uplugin
LogPluginManager: Loaded Plugin
IOSDeviceProfileSelector, From
C:/Program Files (x86)/Epic
Games/4.14/Engine/Plugins/Runtime/IOSDeviceProfileSelector/IOSDeviceProfileSelector.uplugin
LogPluginManager: Loaded Plugin
LeapMotion, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Runtime/LeapMotion/LeapMotion.uplugin
LogPluginManager: Loaded Plugin
LinuxDeviceProfileSelector, From
C:/Program Files (x86)/Epic
Games/4.14/Engine/Plugins/Runtime/LinuxDeviceProfileSelector/LinuxDeviceProfileSelector.uplugin
LogPluginManager: Loaded Plugin
MIDIDevice, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Runtime/MIDIDevice/MIDIDevice.uplugin
LogPluginManager: Loaded Plugin
MobilePatchingUtils, From C:/Program
Files (x86)/Epic
Games/4.14/Engine/Plugins/Runtime/MobilePatchingUtils/MobilePatchingUtils.uplugin
LogPluginManager: Loaded Plugin Ansel,
From C:/Program Files (x86)/Epic
Games/4.14/Engine/Plugins/Runtime/Nvidia/Ansel/Ansel.uplugin
LogPluginManager: Loaded Plugin
OculusAudio, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Runtime/OculusAudio/OculusAudio.uplugin
LogPluginManager: Loaded Plugin
OculusInput, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Runtime/OculusInput/OculusInput.uplugin
LogPluginManager: Loaded Plugin
OculusLibrary, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Runtime/OculusLibrary/OculusLibrary.uplugin
LogPluginManager: Loaded Plugin
OculusRift, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Runtime/OculusRift/OculusRift.uplugin
LogPluginManager: Loaded Plugin Oodle,
From C:/Program Files (x86)/Epic
Games/4.14/Engine/Plugins/Runtime/PacketHandlers/CompressionComponents/Oodle/Oodle.uplugin
LogPluginManager: Loaded Plugin
ProceduralMeshComponent, From
C:/Program Files (x86)/Epic
Games/4.14/Engine/Plugins/Runtime/ProceduralMeshComponent/ProceduralMeshComponent.uplugin
LogPluginManager: Loaded Plugin
SoundMod, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Runtime/SoundMod/SoundMod.uplugin
LogPluginManager: Loaded Plugin
SoundVisualizations, From C:/Program
Files (x86)/Epic
Games/4.14/Engine/Plugins/Runtime/SoundVisualizations/SoundVisualizations.uplugin
LogPluginManager: Loaded Plugin
SteamController, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Runtime/Steam/SteamController/SteamController.uplugin
LogPluginManager: Loaded Plugin
SteamVR, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Runtime/Steam/SteamVR/SteamVR.uplugin
LogPluginManager: Loaded Plugin
WebBrowserWidget, From C:/Program
Files (x86)/Epic
Games/4.14/Engine/Plugins/Runtime/WebBrowserWidget/WebBrowserWidget.uplugin
LogPluginManager: Loaded Plugin
WindowsDeviceProfileSelector, From
C:/Program Files (x86)/Epic
Games/4.14/Engine/Plugins/Runtime/WindowsDeviceProfileSelector/WindowsDeviceProfileSelector.uplugin
LogPluginManager: Loaded Plugin
WindowsMoviePlayer, From C:/Program
Files (x86)/Epic
Games/4.14/Engine/Plugins/Runtime/WindowsMoviePlayer/WindowsMoviePlayer.uplugin
LogPluginManager: Loaded Plugin
ScriptPlugin, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/ScriptPlugin/ScriptPlugin.uplugin
LogPluginManager: Loaded Plugin
SlateRemote, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Slate/SlateRemote/SlateRemote.uplugin
LogPluginManager: Loaded Plugin
EditorTests, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Tests/EditorTests/EditorTests.uplugin
LogPluginManager: Loaded Plugin
FbxAutomationTestBuilder, From
C:/Program Files (x86)/Epic
Games/4.14/Engine/Plugins/Tests/FbxAutomationTestBuilder/FbxAutomationTestBuilder.uplugin
LogPluginManager: Loaded Plugin
FunctionalTestingEditor, From
C:/Program Files (x86)/Epic
Games/4.14/Engine/Plugins/Tests/FunctionalTestingEditor/FunctionalTestingEditor.uplugin
LogPluginManager: Loaded Plugin
RuntimeTests, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Tests/RuntimeTests/RuntimeTests.uplugin
LogPluginManager: Loaded Plugin
ScreenshotTools, From C:/Program Files
(x86)/Epic
Games/4.14/Engine/Plugins/Tests/ScreenshotTools/ScreenshotTools.uplugin
LogInit:Warning: Incompatible or
missing module: UE4Editor-MathLab.dll
Running C:/Program Files (x86)/Epic
Games/4.14/Engine/Binaries/DotNET/UnrealBuildTool.exe
MathLab Development Win64
-project=“D:/UnrealProjects/MathLab/MathLab.uproject”
-editorrecompile -progress -noubtmakefiles -NoHotReloadFromIDE @progress push 5% @progress pop
Performing 1 actions (4 in parallel)
[1/1] Link UE4Editor-MathLab.dll
Creating library
D:\UnrealProjects\MathLab\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-MathLab.lib
and object
D:\UnrealProjects\MathLab\Intermediate\Build\Win64\UE4Editor\Development\UE4Editor-MathLab.exp
Total build time: 3,40 seconds
LogInit: Using libcurl 7.47.1 LogInit:

  • built for x86_64-pc-win32 LogInit: - supports SSL with OpenSSL/1.0.2g LogInit: - supports HTTP deflate
    (compression) using libz 1.2.8
    LogInit: - other features: LogInit:
    CURL_VERSION_SSL LogInit:
    CURL_VERSION_LIBZ LogInit:
    CURL_VERSION_IPV6 LogInit:
    CURL_VERSION_ASYNCHDNS LogInit:
    CURL_VERSION_LARGEFILE LogInit:
    CURL_VERSION_IDN LogInit:
    CurlRequestOptions (configurable via
    config and command line): LogInit: -
    bVerifyPeer = false - Libcurl will
    NOT verify peer certificate LogInit:
  • bUseHttpProxy = false - Libcurl will NOT use HTTP proxy LogInit: -
    bDontReuseConnections = false -
    Libcurl will reuse connections
    LogInit: - CertBundlePath = nullptr
  • Libcurl will use whatever was configured at build time. LogInit:
    Build: ++UE4+Release-4.14-CL-3241561
    LogInit: Engine Version:
    4.14.2-3241561+++UE4+Release-4.14 LogInit: Compatible Engine Version:
    4.14.0-3195953+++UE4+Release-4.14 LogInit: Net CL: 3195953
    LogDevObjectVersion: Number of dev
    versions registered: 13
    LogDevObjectVersion: Dev-Blueprints
    (B0D832E4-1F89-4F0D-ACCF-7EB736FD4AA2):
    7 LogDevObjectVersion: Dev-Build
    (E1C64328-A22C-4D53-A36C-8E866417BD8C):
    0 LogDevObjectVersion: Dev-Core
    (375EC13C-06E4-48FB-B500-84F0262A717E):
    1 LogDevObjectVersion: Dev-Editor
    (E4B068ED-F494-42E9-A231-DA0B2E46BB41):
    8 LogDevObjectVersion: Dev-Framework
    (CFFC743F-43B0-4480-9391-14DF171D2073):
    17 LogDevObjectVersion: Dev-Mobile
    (B02B49B5-BB20-44E9-A304-32B752E40360):
    0 LogDevObjectVersion:
    Dev-Networking
    (A4E4105C-59A1-49B5-A7C5-40C4547EDFEE):
    0 LogDevObjectVersion: Dev-Online
    (39C831C9-5AE6-47DC-9A44-9C173E1C8E7C):
    0 LogDevObjectVersion: Dev-Physics
    (78F01B33-EBEA-4F98-B9B4-84EACCB95AA2):
    0 LogDevObjectVersion: Dev-Platform
    (6631380F-2D4D-43E0-8009-CF276956A95A):
    0 LogDevObjectVersion: Dev-Rendering
    (12F88B9F-8875-4AFC-A67C-D90C383ABD29):
    12 LogDevObjectVersion:
    Dev-Sequencer
    (7B5AE74C-D270-4C10-A958-57980B212A5A):
    1 LogDevObjectVersion: Dev-VR
    (D7296918-1DD6-4BDD-9DE2-64A83CC13884):
    0 LogInit: Compiled (64-bit): Dec 21
    2016 02:13:27 LogInit: Compiled with
    Visual C++: 19.00.23026.00 LogInit:
    Build Configuration: Development
    LogInit: Branch Name:
    ++UE4+Release-4.14 LogInit: Command line: -EpicPortal LogInit: Base
    directory: C:/Program Files (x86)/Epic
    Games/4.14/Engine/Binaries/Win64/
    LogInit: Installed Engine Build: 1
    LogInit: Presizing for max 8388607
    objects, including 0 objects not
    considered by GC, pre-allocating 0
    bytes for permanent pool. LogInit:
    Object subsystem initialized
    [2017.03.02-10.08.47:668][ 0]LogInit:
    Selected Device Profile: [Windows]
    [2017.03.02-10.08.47:668][ 0]LogInit:
    Applying CVar settings loaded from the
    selected device profile: [Windows]
    [2017.03.02-10.08.47:677][ 0]LogInit:
    Computer: DESKTOP-2E5UU0O
    [2017.03.02-10.08.47:677][ 0]LogInit:
    User: Philipp
    [2017.03.02-10.08.47:677][ 0]LogInit:
    CPU Page size=65536, Cores=4
    [2017.03.02-10.08.47:677][ 0]LogInit:
    High frequency timer resolution
    =3.328119 MHz [2017.03.02-10.08.47:677][
    0]LogMemory: Memory total:
    Physical=15.9GB (16GB approx)
    [2017.03.02-10.08.47:677][
    0]LogMemory: Platform Memory Stats for
    Windows [2017.03.02-10.08.47:677][
    0]LogMemory: Process Physical Memory:
    266.02 MB used, 266.02 MB peak [2017.03.02-10.08.47:677][
    0]LogMemory: Process Virtual Memory:
    262.91 MB used, 262.91 MB peak [2017.03.02-10.08.47:677][
    0]LogMemory: Physical Memory: 4821.30
    MB used, 11491.87 MB free, 16313.18
    MB total [2017.03.02-10.08.47:677][
    0]LogMemory: Virtual Memory: 696.70 MB
    used, 11491.87 MB free, 134217728.00
    MB total [2017.03.02-10.08.47:700][
    0]LogTextLocalizationManager: No
    translations for (‘de-DE’) exist,
    falling back to ‘en’ for localization
    and internationalization data.
    [2017.03.02-10.08.48:200][
    0]LogD3D11RHI: D3D11 adapters:
    [2017.03.02-10.08.48:229][
    0]LogD3D11RHI: 0. ‘NVIDIA GeForce
    GTX 970’ (Feature Level 11_0)
    [2017.03.02-10.08.48:229][
    0]LogD3D11RHI: 4059/0/8156 MB
    DedicatedVideo/DedicatedSystem/SharedSystem,
    Outputs:2, VendorId:0x10de
    [2017.03.02-10.08.48:230][
    0]LogD3D11RHI: 1. ‘Microsoft Basic
    Render Driver’ (Feature Level 11_0)
    [2017.03.02-10.08.48:230][
    0]LogD3D11RHI: 0/0/8156 MB
    DedicatedVideo/DedicatedSystem/SharedSystem,
    Outputs:0, VendorId:0x1414
    [2017.03.02-10.08.48:230][
    0]LogD3D11RHI: Chosen D3D11 Adapter: 0
    [2017.03.02-10.08.48:233][
    0]LogD3D11RHI: Creating new
    Direct3DDevice
    [2017.03.02-10.08.48:233][
    0]LogD3D11RHI: GPU DeviceId:
    0x13c2 (for the marketing name, search
    the web for “GPU Device Id”)
    [2017.03.02-10.08.48:233][
    0]LogWindows: EnumDisplayDevices:
    [2017.03.02-10.08.48:233][
    0]LogWindows: 0. ‘NVIDIA GeForce
    GTX 970’ (P:1 D:1)
    [2017.03.02-10.08.48:233][
    0]LogWindows: 1. ‘NVIDIA GeForce
    GTX 970’ (P:0 D:1)
    [2017.03.02-10.08.48:233][
    0]LogWindows: 2. ‘NVIDIA GeForce
    GTX 970’ (P:0 D:0)
    [2017.03.02-10.08.48:233][
    0]LogWindows: 3. ‘NVIDIA GeForce
    GTX 970’ (P:0 D:0)
    [2017.03.02-10.08.48:233][
    0]LogWindows: DebugString:
    FoundDriverCount:4
    [2017.03.02-10.08.48:233][
    0]LogD3D11RHI: Adapter Name:
    NVIDIA GeForce GTX 970
    [2017.03.02-10.08.48:233][
    0]LogD3D11RHI: Driver Version:
    375.63 (internal:21.21.13.7563, unified:375.63)
    [2017.03.02-10.08.48:233][
    0]LogD3D11RHI: Driver Date:
    10-21-2016 [2017.03.02-10.08.48:233][
    0]LogRHI: Texture pool is 1361 MB (70%
    of 1945 MB) [2017.03.02-10.08.48:248][
    0]LogD3D11RHI: Async texture creation
    enabled [2017.03.02-10.08.48:258][
    0]LogD3D11RHI: GPU Timing Frequency:
    1000.000000 (Debug: 2 1) [2017.03.02-10.08.48:258][
    0]LogShaderCompilers: Guid format
    shader working directory is 23
    characters bigger than the processId
    version
    (D:/UnrealProjects/MathLab/Intermediate/Shaders/WorkingDirectory/6468/).
    [2017.03.02-10.08.48:258][
    0]LogShaderCompilers: Cleaned the
    shader compiler working directory
    ‘C:/Users/Philipp/AppData/Local/Temp/UnrealShaderWorkingDir/43B441A640F19874D32D848E65EEF4F7/’.
    [2017.03.02-10.08.48:258][
    0]LogShaderCompilers:Display: Using
    Local Shader Compiler.
    [2017.03.02-10.08.48:967][
    0]LogTemp:Display: Loaded TP
    AllDesktopTargetPlatform
    [2017.03.02-10.08.49:010][
    0]LogTemp:Display: Loaded TP
    MacClientTargetPlatform
    [2017.03.02-10.08.49:053][
    0]LogTemp:Display: Loaded TP
    MacNoEditorTargetPlatform
    [2017.03.02-10.08.49:096][
    0]LogTemp:Display: Loaded TP
    MacServerTargetPlatform
    [2017.03.02-10.08.49:139][
    0]LogTemp:Display: Loaded TP
    MacTargetPlatform
    [2017.03.02-10.08.49:182][
    0]LogTemp:Display: Loaded TP
    WindowsClientTargetPlatform
    [2017.03.02-10.08.49:225][
    0]LogTemp:Display: Loaded TP
    WindowsNoEditorTargetPlatform
    [2017.03.02-10.08.49:270][
    0]LogTemp:Display: Loaded TP
    WindowsServerTargetPlatform
    [2017.03.02-10.08.49:307][
    0]LogTemp:Display: Loaded TP
    WindowsTargetPlatform
    [2017.03.02-10.08.49:349][
    0]LogTemp:Display: Loaded TP
    AndroidTargetPlatform
    [2017.03.02-10.08.49:391][
    0]LogTemp:Display: Loaded TP
    Android_ASTCTargetPlatform
    [2017.03.02-10.08.49:432][
    0]LogTemp:Display: Loaded TP
    Android_ATCTargetPlatform
    [2017.03.02-10.08.49:474][
    0]LogTemp:Display: Loaded TP
    Android_DXTTargetPlatform
    [2017.03.02-10.08.49:516][
    0]LogTemp:Display: Loaded TP
    Android_ETC1TargetPlatform
    [2017.03.02-10.08.49:557][
    0]LogTemp:Display: Loaded TP
    Android_ETC2TargetPlatform
    [2017.03.02-10.08.49:641][
    0]LogTemp:Display: Loaded TP
    Android_MultiTargetPlatform
    [2017.03.02-10.08.49:641][
    0]LogTemp:Display: Loaded TP
    Android_PVRTCTargetPlatform
    [2017.03.02-10.08.49:670][
    0]LogTemp:Display: Loaded TP
    HTML5TargetPlatform
    [2017.03.02-10.08.49:740][
    0]LogTemp:Display: Loaded TP
    IOSTargetPlatform
    [2017.03.02-10.08.49:766][
    0]LogTemp:Display: Loaded TP
    TVOSTargetPlatform
    [2017.03.02-10.08.49:807][
    0]LogTemp:Display: Loaded TP
    LinuxClientTargetPlatform
    [2017.03.02-10.08.49:848][
    0]LogTemp:Display: Loaded TP
    LinuxNoEditorTargetPlatform
    [2017.03.02-10.08.49:890][
    0]LogTemp:Display: Loaded TP
    LinuxServerTargetPlatform
    [2017.03.02-10.08.49:931][
    0]LogTemp:Display: Loaded TP
    LinuxTargetPlatform
    [2017.03.02-10.08.49:931][
    0]LogTargetPlatformManager:Display:
    Building Assets For Windows
    [2017.03.02-10.08.50:247][
    0]LogDerivedDataCache:Display: Max
    Cache Size: 512 MB
    [2017.03.02-10.08.50:288][
    0]LogDerivedDataCache: Loaded boot
    cache 0.04s 51MB
    C:/Users/Philipp/AppData/Local/UnrealEngine/4.14/DerivedDataCache/Boot.ddc.
    [2017.03.02-10.08.50:288][
    0]LogDerivedDataCache:Display: Loaded
    Boot cache:
    C:/Users/Philipp/AppData/Local/UnrealEngine/4.14/DerivedDataCache/Boot.ddc
    [2017.03.02-10.08.50:288][
    0]LogDerivedDataCache:
    FDerivedDataBackendGraph: Pak pak
    cache file
    D:/UnrealProjects/MathLab/DerivedDataCache/DDC.ddp
    not found, will not use a pak cache.
    [2017.03.02-10.08.50:288][
    0]LogDerivedDataCache: Unable to find
    inner node Pak for hierarchical cache
    Hierarchy. [2017.03.02-10.08.50:288][
    0]LogDerivedDataCache:
    FDerivedDataBackendGraph:
    CompressedPak pak cache file
    D:/UnrealProjects/MathLab/DerivedDataCache/Compressed.ddp
    not found, will not use a pak cache.
    [2017.03.02-10.08.50:288][
    0]LogDerivedDataCache: Unable to find
    inner node CompressedPak for
    hierarchical cache Hierarchy.
    [2017.03.02-10.08.50:302][
    0]LogDerivedDataCache:Display: Pak
    cache opened for reading
    …/…/…/Engine/DerivedDataCache/Compressed.ddp.
    [2017.03.02-10.08.50:314][
    0]LogDerivedDataCache: Using Local
    data cache path
    C:/Users/Philipp/AppData/Local/UnrealEngine/Common/DerivedDataCache:
    Writable [2017.03.02-10.08.50:475][
    0]LogInit: Selected Device Profile:
    [Windows] [2017.03.02-10.08.50:478][
    0]LogContentStreaming: Texture pool
    size is 0.00 MB
    [2017.03.02-10.08.50:641][
    0]LogMeshUtilities: Using
    QuadricMeshReduction for automatic
    static mesh reduction
    [2017.03.02-10.08.50:675][
    0]LogSimplygon: Simplygon DLL not
    present - disabling.
    [2017.03.02-10.08.50:713][
    0]LogMeshUtilities: Using
    SimplygonSwarm for distributed
    automatic mesh merging
    [2017.03.02-10.08.50:714][
    0]LogMeshUtilities: No automatic
    skeletal mesh reduction module
    available [2017.03.02-10.08.50:714][
    0]LogMeshUtilities: No automatic mesh
    merging module available
    [2017.03.02-10.08.51:108][
    0]LogNetVersion:
    GetLocalNetworkVersion: CL: 3195953,
    ProjectName: mathlab, ProjectVersion:
    , EngineNetworkVersion: 2,
    GameNetworkVersion: 0,
    NetworkChecksum: 4285285520
    [2017.03.02-10.08.51:156][
    0]LogAssetRegistry: FAssetRegistry
    took 0.0213 seconds to start up
    [2017.03.02-10.08.51:185][
    0]LogPackageLocalizationCache:
    Processed 3 localized package path(s)
    for 1 prioritized culture(s) in
    0.008323 seconds [2017.03.02-10.08.51:190][
    0]LogUObjectArray: 31946 objects as
    part of root set at end of initial
    load. [2017.03.02-10.08.51:190][
    0]LogUObjectAllocator: 6935840 out of
    0 bytes used by permanent object pool.
    [2017.03.02-10.08.51:190][
    0]LogUObjectArray:
    CloseDisregardForGC: 0/0 objects in
    disregard for GC pool
    [2017.03.02-10.08.51:240][ 0]LogInit:
    WinSock: version 1.1 (2.2),
    MaxSocks=32767, MaxUdp=65467
    [2017.03.02-10.08.51:810][
    0]LogSlate: Using Freetype 2.6.0
    [2017.03.02-10.08.51:810][
    0]LogSlate: SlateFontCache -
    WITH_FREETYPE: 1, WITH_HARFBUZZ: 1
    [2017.03.02-10.08.51:810][
    0]LogSlate: SlateFontCache -
    WITH_FREETYPE: 1, WITH_HARFBUZZ: 1
    [2017.03.02-10.08.52:435][
    0]LogTcpMessaging: Initializing
    TcpMessaging bridge
    [2017.03.02-10.08.52:470][
    0]LogUdpMessaging: Initializing bridge
    on interface 0.0.0.0:0 to multicast
    group 230.0.0.1:6666.
    [2017.03.02-10.08.52:573][
    0]LogWindows: Windows GetLastError:
    Der Vorgang wurde erfolgreich beendet.
    (0)

Shouldn’t it be UTextRenderComponent* nameText; (added the pointer)?

Oh you are right! How could i oversee that haha
Thank you.

But I still dont know why I need to include the Header to use it.

Because you didn’t forward declare the pointer class. The declaration should look like this class UTextRenderComponent* nameText;, then you can remove the header include from the header and add it to the source file.

But I dont need to do with with UStaticMeshComponents. I can just use them.
I can write:
UStaticMeshComponent *someMesh;
Without any additional forward decleration or includes. Thats why it’s strange that I need for the TextRender

This is because the UStaticMeshComponent is forward declared somewhere in Actor.h, that you include. So the compiler knows that the type exists and you don’t need to tell him again.