loicteixeira / gj-unity-api

[MOVED] Game Jolt API wrapper for Unity.
https://github.com/InfectedBytes/gj-unity-api/
MIT License
16 stars 13 forks source link

Missing EventSystem #45

Closed GabrielCapeletti closed 9 years ago

GabrielCapeletti commented 9 years ago

Adding the GamerJoltAPI object in my scene and then calling GameJolt.UI.Manager.Instance.ShowSignIn(); is generating an error : NullReferenceException: Object reference not set to an instance of an object UnityEngine.UI.Selectable.Select (). I added a new EventSystem to the scene and it worked fine. The EventSystem should come with the API object. I guess someone just deleted it by mistake.

loicteixeira commented 9 years ago

Thanks for your feedback Gabriel.

GabrielCapeletti commented 9 years ago

Used the 2.0.0 version. Yes I followed the tutorial going on GameObject tab -> GameJoldManager. I was using unity 5.

loicteixeira commented 9 years ago

Alright. As I said that behaviour should be fixed in version 2.0.1 (it will create an EventSystem if there isn't one already). Closing the ticket for now. Please reopen it if it is still happening with 2.0.1