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.
Basically, the game starts with some delay, it depends from the hardware pc and game optimization.
The user tries to click on the icon again and starts second game instance. This plugin protect from this.
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)
Network Replicated: No
Supported Development Platforms: Windows, Linux, MacOS, Android, iOS
Supported Target Build Platforms: Windows
Support Engine Versions: 4.23, 4.24, 4.25, 4.26
Remark:
UE4 Marketplace support
ONLY LATEST 3 ENGINE VERSION IS ALLOWED FOR CODE PLUGIN CATEGORY
Example Project:
DemoCheckInstance
All Plugins:
Link