Description

When running project on iOS Devices, IsRunningGame( ) in CoreMisc.h returns false.

Steps to Reproduce
  1. Create new C++ Project
  2. In GameMode.h, add:
    virtual void Tick( float DeltaTime ) override;
    
  3. in GameMode.cpp, add:
    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 );
    }
    
  4. Compile Project
  5. Make sure level is set to use "MyGameMode"
  6. Launch to iOS Device

RESULT:
iOS Device will show IsRunningGame( ) False.

EXPECTED:
Shows IsRunningGame( ) as true when running on device.

Have Comments or More Details?

Head over to the existing Questions & Answers thread and let us know what's up.

0
Login to Vote

Fixed
ComponentUE - Platform - Mobile
Affects Versions4.13.1
Target Fix4.15
Fix Commit3195477
Main Commit3206922
CreatedOct 20, 2016
ResolvedNov 11, 2016
UpdatedSep 16, 2019
View Jira Issue