In a project I’m working on, a TextRender component in the blueprint of my main character class is used a name label, shown above the characters head.
The BP is only adds some visual stuff to the C++ base class which is used for the more sophisticated stuff.
Everything works flawless in the PIE mode. However, running via Game.uproject" CMainMap -server -log
yields these errors:
[2016.11.23-00.40.40:264][ 0]LogBlueprint:Warning: [CCharacter_BP_2] 'NameLabel' variable not found. Base class was probably changed.
[2016.11.23-00.40.40:268][ 0]LogBlueprint:Warning: [Compiler CCharacter_BP_2] Warning Could not find a variable named "NameLabel" in 'CCharacter_BP_2_C'.
Make sure 'CCharacter_BP_2_C' has been compiled for K2Node_VariableGet_0
[2016.11.23-00.40.40:270][ 0]LogBlueprint:Error: [Compiler CCharacter_BP_2] Error The property associated with NameLabel could not be found
[2016.11.23-00.40.40:274][ 0]LogBlueprint:Warning: [Compiler CCharacter_BP_2] Warning [0011.41] Compile of CCharacter_BP_2 failed. 1 Fatal Issue(s) 1 Warning(s) [in 7 ms] (/Game/Character/CCharacter_BP_2.CCharacter_BP_2)
[2016.11.23-00.40.40:276][ 0]LogBlueprint:Warning: [Compiler CCharacter_BP_2] Warning [0011.41] Compile of CCharacter_BP_2 failed. 1 Fatal Issue(s) 2 Warning(s) [in 0 ms] (/Game/Character/CCharacter_BP_2.CCharacter_BP_2)
[2016.11.23-00.40.40:277][ 0]LogBlueprint:Warning: [Compiler CCharacter_BP_2] Warning [0011.41] Compile of CCharacter_BP_2 failed. 1 Fatal Issue(s) 3 Warning(s) [in 0 ms] (/Game/Character/CCharacter_BP_2.CCharacter_BP_2)
I’d appreciate some help on this.
According to Unreal Engine Issues and Bug Tracker (UE-31667) this might be a known bug, supposedly fixed in 4.14.
Please note that I’m using a source compiled version of the engine.
And the core of the base class of the character BP is pretty much copied from the 3rd Person Project Template.