Topic: Long black pause prior to match - loading issue?
I have been trying to fix this issue for a couple days now with no success.
The issue is, when the screen goes black before a match, sometimes (rarely) it stays black for several seconds.
The issue becomes much worse on iOS devices, sometimes lasting as long as 30 seconds.
Is this an issue with asset loading? Am i expected to dive into the source code and write resource loading myself?
The issue does seem to be getting worse as we are adding more complex assets to the project.
I noticed most of the delay comes during initialization of the controlsScript component. I first attempted to throw up a loading screen at the beginning of the UFE.StartGame() function, then remove it in UFE.FireGameBegins() function (called at the end of ControlScript.Start()), but it seems whenever i change anything in UFE.StartGame(), very strange things happen. Sometimes I get a null reference exception in ControlSript.Update() and, even once removing adding checks to fix the errors, the game camera is now in the wrong place! I am very confused as to why this is happening. Any help is appreciated!