Hi,
I have been getting some errors lately when doing camera fadeins and fadeouts.
null texture passed to GUI.DrawTexture
UnityEngine.GUI:DrawTexture(Rect, Texture)
AC.MainCamera:DrawCameraFade() (at Assets/AdventureCreator/Scripts/Camera/MainCamera.cs:413)
AC.StateHandler:OnGUI() (at Assets/AdventureCreator/Scripts/Game engine/StateHandler.cs:565)
I can get rid of the error on fadeout by assining a black texture but I can't do that on fadein.
Any idea what might be causing this? I upgraded to Unity 5.4 recently, could it be that?
Thanks,
Comments