Topic: Universal Fighting Engine game problem

I'm started a new project with UFE. i start a fight and Everything is working fine until  i go back to menu
and i try to restart a fight again the game stops working anymore . I already spent a couple of hours to fix this issue...

in console i get this error :

NullReferenceException: Object reference not set to an instance of an object DefaultBattleGUI.DoFixedUpdate (System.Collections.Generic.IDictionary`2[TKey,TValue] player1PreviousInputs, System.Collections.Generic.IDictionary`2[TKey,TValue] player1CurrentInputs, System.Collections.Generic.IDictionary`2[TKey,TValue] player2PreviousInputs, System.Collections.Generic.IDictionary`2[TKey,TValue] player2CurrentInputs) (at Assets/UFE/Engine/Scripts/UI/Templates/DefaultBattleGUI.cs:137) FluxCapacitor.UpdateGUI (System.Collections.Generic.IDictionary`2[TKey,TValue] player1PreviousInputs, System.Collections.Generic.IDictionary`2[TKey,TValue] player1CurrentInputs, System.Nullable`1[T] player1SelectedOptions, System.Collections.Generic.IDictionary`2[TKey,TValue] player2PreviousInputs, System.Collections.Generic.IDictionary`2[TKey,TValue] player2CurrentInputs, System.Nullable`1[T] player2SelectedOptions) (at Assets/UFE/Engine/Scripts/Network/Netcode/FluxCapacitor.cs:1444) FluxCapacitor.ApplyInputs (System.Int64 currentFrame, System.Int64 lastSynchronizedFrame) (at Assets/UFE/Engine/Scripts/Network/Netcode/FluxCapacitor.cs:579) FluxCapacitor.DoFixedUpdate () (at Assets/UFE/Engine/Scripts/Network/Netcode/FluxCapacitor.cs:318) UFE.FixedUpdate () (at Assets/UFE/Engine/Scripts/Manager/UFE.cs:2235)

--> Everything is working in the first fight  when i go back to menu and i restart a new fight the game  not working anymore

Hopefully somebody can help me. image.png

Share

Thumbs up Thumbs down

Re: Universal Fighting Engine game problem

Did you change anything from the original package?

Like UFE? Please rate and review us on the Asset Store!
Questions about the Forum? Check out our Karma FAQ.
Don't forget to check our discord channel.

3 (edited by soulaimane1999 2020-04-15 16:26:08)

Re: Universal Fighting Engine game problem

No, I did not change
I saw people with the same look but without a solution:http://www.ufe3d.com/forum/viewtopic.php?id=1635
maybe because of updates

Share

Thumbs up Thumbs down

Re: Universal Fighting Engine game problem

Ah I see what it is. You are selecting to start the game from "Deployment Options -> Versus Mode" correct?
When you select something other than "Full Interface", the game doesn't load the menu system.
This option is designed to load the game independently from UFE's UI. Its made for people that wants to make their own interfaces and only use the fighting engine or for testing.

Like UFE? Please rate and review us on the Asset Store!
Questions about the Forum? Check out our Karma FAQ.
Don't forget to check our discord channel.