[HOWTO] How To: Resolve "There Are 2 EventSystems In Scene"

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
User avatar
Tony Li
Posts: 22871
Joined: Thu Jul 18, 2013 1:27 pm

[HOWTO] How To: Resolve "There Are 2 EventSystems In Scene"

Post by Tony Li »

Dialogue System UIs that use Unity UI require an EventSystem GameObject for UI navigation.

To ensure that the player can navigate these UIs, by default the UIs will check if the scene has an EventSystem. If it doesn't, it will create a default one.

If you want to disable this behavior -- for example, if some other script instantiates an EventSystem at runtime -- use these steps:

1. Inspect your dialogue UI's Standard Dialogue UI component. UNtick "Add EventSystem If Needed".

2. Inspect your quest log window's Standard UI Quest Log Window component. If you haven't added a quest log window, check the Dialogue Manager's Instantiate Prefabs component. This component may be instantiating a quest log window for you. In either case, on the Standard UI Quest Log Window component UNtick "Add EventSystem If Needed".
untickAddEventSystemIfNeeded.png
untickAddEventSystemIfNeeded.png (49.07 KiB) Viewed 874 times
Post Reply