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