alttester / alttester/AltTester-Unity-SDK

Auto-create EventSystem if EventSystem.current is null

Open
#1,895 0 comments 0 reactions 1 assignee Claimed by @RobertPoienar View on GitHub
2.3.0 input module
Dominant language
C#
Stars
121
Forks
24
PR merge metrics
No merged PRs in 30d

Description

To prevent UI interactions (clicks, etc.) from failing, we need to ensure an EventSystem is always present in the scene.

If EventSystem.current is null on scene load, a new GameObject should be automatically created and populated with:

- EventSystem component
- StandaloneInputModule (or a relevant input module) component

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.