Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.

New to the forum? Say hello in this topic! Also make sure to read the rules.

GameWorld.Update players (AI) failed

Here you can find all solved gameplay problems and bugs (beginning from Pre-Alpha 1.8.8).
Forum rules
By using the forum you agree to the following rules. For this forum you also need to follow these additional rules.
Locked
NearHuscarl
Superfighter
Superfighter
Posts: 89
Joined: Thu Feb 07, 2019 4:36 am

GameWorld.Update players (AI) failed

Post by NearHuscarl » Sat Mar 28, 2020 10:05 am

This error happened when playing in Prime Time in Sunny City campaign, Chapter Esclation, a short time after the MeatGrinder boss appeared. It didn't show up after the first time though.

Code: Select all

There was an error during the test.
Superfighters Deluxe v.1.3.5 - Unhandled Error
Status: EditorTestRun, False, EditorTestRun
GraphicsDeviceStatus: Normal

Map editor error
> Exception:
System.Exception: Error:
Error: GameWorld.Update players (AI) failed
System.NullReferenceException: Object reference not set to an instance of an object.
   at SFD.Player.UpdateAIAvoidProjectiles(Single totalMs)
   at SFD.Player.UpdateAI(Single totalMs)
   at SFD.GameWorld.Update(Single chunkMs, Single totalMs, Boolean isLast, Boolean isFirst) 
> StackTrace:

> FullException:
System.Exception: System.Exception: Error:
Error: GameWorld.Update players (AI) failed
System.NullReferenceException: Object reference not set to an instance of an object.
   at SFD.Player.UpdateAIAvoidProjectiles(Single totalMs)
   at SFD.Player.UpdateAI(Single totalMs)
   at SFD.GameWorld.Update(Single chunkMs, Single totalMs, Boolean isLast, Boolean isFirst)


Additional data
arch:x86, archWOW:AMD64
OS:Microsoft Windows NT 6.2.9200.0

You will be returned to the map editor.
0 x
Image

User avatar
Gurt
Lead Programmer
Lead Programmer
Posts: 1884
Joined: Sun Feb 28, 2016 3:22 pm
Title: Lead programmer
Started SFD: Made it!
Location: Sweden
Gender:
Age: 31

Post by Gurt » Sat Apr 18, 2020 1:50 pm

See if the small changes I did will solve the exception occured after v.1.3.5 (marking this as "Maybe fixed").
1 x
Gurt

Locked