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
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: