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

Share

Thumbs up Thumbs down

Re: GUI not showing

This is a somewhat known Unity issue.  Since 4.6 GUI was released, occasionally the reference to all UI elements can be lost. 

Solution: Exit Unity, then delete the Library folder from the Project location.  This will force Unity to rebuild all associations to the Library (can take a while) and all your scripts should come back.  I've done this a few times already.

Share

Thumbs up +1 Thumbs down

Re: GUI not showing

Awesome.  That did the trick.  Thanks Yum.

Share

Thumbs up Thumbs down

Re: GUI not showing

Now here is the stupid question.

Where the adjustment for command inputs (i.e.: the time to do a fireball motion).

No matter what I adjust, I can input down+forward+ button slowly and the special move happens

Share

Thumbs up Thumbs down

Re: GUI not showing

hendrixlt wrote:

Now here is the stupid question.

Where the adjustment for command inputs (i.e.: the time to do a fireball motion).

No matter what I adjust, I can input down+forward+ button slowly and the special move happens

You could try editing the execution timing under that characters "Move Sets" options(?)

Share

Thumbs up Thumbs down