Topic: Getting a lot of errors lately
Don't Know what's going on, but i've came across a lot of errors in my new project.
When working on training for test works fine, but when loading any other mode, the game freezes a lot before battle, showing this error:
NullReferenceException: Object reference not set to an instance of an object
CameraScript.DoFixedUpdate () (at Assets/Libs/UFE/Scripts/CameraScript.cs:66)
UFE.FixedUpdate () (at Assets/Libs/UFE/Scripts/UFE.cs:2083)
or this one:
No character selected for player 1.
UnityEngine.Debug:LogError(Object)
UFE:_StartGame(Single) (at Assets/Libs/UFE/Scripts/UFE.cs:2499)
<StartGame>c__AnonStorey4:<>m__0() (at Assets/Libs/UFE/Scripts/UFE.cs:739)
CameraFade:FireFadeFinished() (at Assets/Libs/UFE/Scripts/CameraFade.cs:61)
CameraFade:OnGUI() (at Assets/Libs/UFE/Scripts/CameraFade.cs:78)
The AI isn't working either:
ArgumentNullException: Argument cannot be null.
Parameter name: source
System.Linq.Check.Source (System.Object source)
System.Linq.Enumerable.ToArray[ButtonPress[]] (IEnumerable`1 source)
RuleBasedAI.ChooseMovement (.ControlsScript self, .ControlsScript opponent, Single deltaTime) (at Assets/Libs/UFE Addons/Fuzzy AI/Runtime/RuleBasedAI.cs:372)
RuleBasedAI.DoFixedUpdate () (at Assets/Libs/UFE Addons/Fuzzy AI/Runtime/RuleBasedAI.cs:121)
UFEController.DoFixedUpdate () (at Assets/Libs/UFE/Scripts/UFEController.cs:76)
UFE.FixedUpdate () (at Assets/Libs/UFE/Scripts/UFE.cs:2204)
also once the game freezed mid animation giving me this line of code as the error
if (this.player1.targetLife > UFE.config.player1Character.currentLifePoints){
Really have no idea what's going on!
i'm using unity 2017.2.1f1 and UFE 1.8.4
i'm gonna update ufe and see if unity has a new version too.
:(