Topic: GUI not showing
When i try to open any of the GUI prefabs under the GUI Options in my config file. Nothing shows up on the screen.
When I run my game, it gives me several warnings:
The referenced script on this Behaviour is missing!
UnityEngine.Object:Instantiate(UFEScreen)
UFE:ShowScreen(UFEScreen, Action) (at Assets/UFE/Scripts/UFE.cs:507)
UFE:_StartLoadingBattleScreen(Single) (at Assets/UFE/Scripts/UFE.cs:2003)
UFE:Awake() (at Assets/UFE/Scripts/UFE.cs:1510)
The referenced script on this Behaviour is missing!
UnityEngine.Object:Instantiate(BattleGUI)
UFE:_StartGame(Single) (at Assets/UFE/Scripts/UFE.cs:1883)
<StartGame>c__AnonStoreyC:<>m__19() (at Assets/UFE/Scripts/UFE.cs:567)
CameraFade:StartAlphaFade(Color, Boolean, Single, Single, Action) (at Assets/UFE/Scripts/CameraFade.cs:217)
UFE:StartGame(Single) (at Assets/UFE/Scripts/UFE.cs:567)
LoadingBattleScreen:StartBattle() (at Assets/UFE/Scripts/UI/Base/LoadingBattleScreen.cs:7)
UFE:FixedUpdate() (at Assets/UFE/Scripts/UFE.cs:1680)
...and it gives me this error:
NullReferenceException: Object reference not set to an instance of an object
DefaultBattleGUI.OnGameBegin (.CharacterInfo player1, .CharacterInfo player2, .StageOptions stage) (at Assets/UFE/Scripts/UI/Templates/DefaultBattleGUI.cs:331)
UFE.FireGameBegins () (at Assets/UFE/Scripts/UFE.cs:1182)
ControlsScript.Start () (at Assets/UFE/Scripts/ControlsScript.cs:157)
I notice in the inspector that each one is missing a script, but I'm not sure which script that is.
https://www.dropbox.com/s/l76axfn4xh6jw … 1.jpg?dl=0
Trying to get it to work.
Thanks guys