CheckAppInstance

Andrew Bindraw - Sep 17, 2020

Only one instance of your game can be run at the same time.

  • Supported Platforms
  • Supported Engine Versions
    4.24 - 4.25
  • Download Type
    Engine Plugin
    This product contains a code plugin, complete with pre-built binaries and all its source code that integrates with Unreal Engine, which can be installed to an engine version of your choice then enabled on a per-project basis.

Only one instance of your game can be run at the same time.

Technical Details

This plugin makes it possible only one instance of your game can be run at the same time.

https://github.com/mrbindraw/CheckAppInstance

WARNING!

  • This plugin created mostly who don't like C++ and work only with blueprints.


Setup:

  • Create Blueprint class BP_GameInstance derived from GameInstance.
  • Call on EventInit method CheckAnotherAppInstance.
  • ProjectSettings -> Maps&Modes -> Game Instance Class: BP_GameInstance.


Number of C++ Classes: 2

C++/Blueprints functions:

  • CheckAnotherAppInstance (bool IsEnabled = true)


Supported Development Platforms: Windows, Linux, MacOS, Android, iOS

Supported Target Build Platforms: Windows

https://github.com/mrbindraw/CheckAppInstance