When running project on iOS Devices, IsRunningGame( ) in CoreMisc.h returns false.
virtual void Tick( float DeltaTime ) override;
void MyGameMode::Tick( float DeltaTime ) { if( GEngine ) { GEngine->AddOnScreenDebugMessage( -1, DeltaTime, FColor::Red, FString::Printf( TEXT( "IsRunningGame( ) %s" ), ( IsRunningGame( ) ) ? TEXT("True") : TEXT("False") ) ); } Super::Tick( DeltaTime ); }
RESULT:
iOS Device will show IsRunningGame( ) False.
EXPECTED:
Shows IsRunningGame( ) as true when running on device.
Head over to the existing Questions & Answers thread and let us know what's up.
| 0 |
| Component | UE - Platform - Mobile |
|---|---|
| Affects Versions | 4.13.1 |
| Target Fix | 4.15 |
| Fix Commit | 3195477 |
|---|---|
| Main Commit | 3206922 |
| Created | Oct 20, 2016 |
|---|---|
| Resolved | Nov 11, 2016 |
| Updated | Sep 16, 2019 |