Open Jonno12345 opened 8 years ago
That's really strange. It does definitely seem like Unity isn't creating the panel right, but I can't understand why. Maybe the mainUIGameObject
isn't getting created correctly. I can't say I've ever come across this before though.
Hmm, fair enough. Must be a problem my end, although I'm not quite sure where..! Just wondered if you'd experienced it at all. Please file this issue as appropriate, will do some further digging my side :)
Do you know if it's possible to see Unity debug output anywhere? I'm not sure if it could be showing me a more useful failure log somewhere hidden away.
Unity creates an output_log.txt file in the game directory. It might be advantageous for you to use ModTools to debug, as it has a better output and allows you to debug the UI which is probably what you want.
Hey, I realise this may be an issue with my build set up, I just can't seem to understand where.
Upon building the latest source and adding the mod, I get the following:
Trying to debug the issue, it seems like _panel never initialises with an object:
It seems that
_panel = LoadingExtension._mainUIGameObject.AddComponent<EventPopupPanel>();
doesn't seem to be returning an object.Have you come across this before? I'm guessing this is something not working within UnityEngine, but thought I'd check if you've come across it..!