When an actor class sets the root component mobility to Static or Stationary, spawning an instance of the class (or child blueprint) during runtime will print a warning message in the output log of
"PIE:Warning: Warning Mobility of [ClassActor]: MyScene has to be 'Movable' if you'd like to move."
This is inconsistent with an actor blueprint where setting the root component mobility to non-movable does not print this warning on spawn.
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Test) USceneComponent* MyScene;
MyScene = CreateDefaultSubobject<USceneComponent>(TEXT("MyScene"));
RootComponent = MyScene;
MyScene->SetMobility(EComponentMobility::Stationary);
Result:
Warning message is printed to the output
Expected:
1) Setting mobility in code does not print a message to mirror blueprints
2) Setting mobility in blueprints does print a message to mirror code.
i have this problem UE4CC-Windows-58DC12AF4B97F057BD108FBFF569B2E9_0000
I am not able to find world outliner how to enable it?
How can i modify the param name in EQS node
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
How to achieve HLSL Multiple Render Target in Material blueprints?
How does UMG set overlapping layouts?
Delay nodes occasionally don't fire the "Completed" output in a nativized build
Why does the REMOVE method of map container remove elements have memory leaks?
Head over to the existing Questions & Answers thread and let us know what's up.
3 |
Component | UE - Gameplay |
---|---|
Affects Versions | 4.13.2, 4.14 |
Created | Oct 27, 2016 |
---|---|
Resolved | Nov 21, 2016 |
Updated | Apr 27, 2018 |