View Issue Details

IDProjectCategoryLast Update
0025641AI War 2Crash/ExceptionOct 15, 2021 1:12 pm
ReporterDaniexpert Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product VersionBeta 3.709 Upgrades And Serialization Fix 
Fixed in VersionBeta 3.710 Hotfixes Serialization and Performance 
Summary0025641: GameEntity.CreateNew() passed null FleetOrNullIfNotShip
DescriptionSee attachment
TagsNo tags attached.

Activities

Daniexpert

Oct 15, 2021 11:27 am

manager  

error.txt (7,774 bytes)   
10/15/2021 5:25:31 PM	3.709	SINGLEP	DELAYED3: Error! GameEntity.CreateNew() passed null FleetOrNullIfNotShip for an entity of category Ship: MiniClusterBomb
  at System.Environment.get_StackTrace () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <e06e57cb32c54499a0e637a756a639a7>:0 
  at Arcen.AIW2.Core.GameEntity_Squad.Helper_PostCreationOfSquad (Arcen.AIW2.Core.GameEntity_Squad result, Arcen.AIW2.Core.PlanetFaction PFaction, Arcen.AIW2.Core.GameEntityTypeData TypeData, System.Byte CurrentMarkLevel, Arcen.AIW2.Core.Fleet FleetOrNullIfNotShip, System.Int32 UniqueTypeDataDifferentiatorForDuplicatesOrZero, Arcen.Universal.ArcenPoint StartingLocation, Arcen.AIW2.Core.ArcenHostOnlySimContext Context, Arcen.AIW2.Core.GameEntity_Squad+ExtraShipCreationInfo ExtraInfo) [0x00000] in <81e7d88b38724d858317997ef6dc3cc8>:0 
  at Arcen.AIW2.Core.GameEntity_Squad.CreateNew_ReturnNullIfMPClient (Arcen.AIW2.Core.PlanetFaction PFaction, Arcen.AIW2.Core.GameEntityTypeData TypeData, System.Byte CurrentMarkLevel, Arcen.AIW2.Core.Fleet FleetOrNullIfNotShip, System.Int32 UniqueTypeDataDifferentiatorForDuplicatesOrZero, Arcen.Universal.ArcenPoint StartingLocation, Arcen.AIW2.Core.ArcenHostOnlySimContext Context) [0x00000] in <81e7d88b38724d858317997ef6dc3cc8>:0 
  at Arcen.AIW2.Core.GameEntity_Squad.SpawnEntity_ReturnNullIfMPClient (Arcen.AIW2.Core.GameEntityTypeData typeToSpawn, System.Byte TargetMarkLevel, Arcen.AIW2.Core.Fleet FleetToBeIn, System.Int32 UniqueTypeDataDifferentiatorForDuplicatesOrZero, System.Int16 BehaviorRelatedFactionIndex, Arcen.AIW2.Core.ArcenHostOnlySimContext Context, System.Boolean doFancySpawnEffect) [0x00000] in <81e7d88b38724d858317997ef6dc3cc8>:0 
  at Arcen.AIW2.Core.GameEntity_Squad.DoOnAnyDeathInCombatLogic_AfterFullDeathOrPartOfStackDeath (System.Boolean IsFromOnlyPartOfStackDying, Arcen.AIW2.Core.DamageSource Damage, Arcen.AIW2.Core.EntitySystem FiringSystemOrNull, System.Int32 numStacksKilled, Arcen.AIW2.Core.ArcenSimContextAnyStatus Context) [0x00000] in <81e7d88b38724d858317997ef6dc3cc8>:0 
  at Arcen.AIW2.Core.GameEntity_Squad.DoOnDeathInCombatLogic_OnlyAferFullStackDeath (Arcen.AIW2.Core.EntitySystem FiringSystemOrNull, Arcen.AIW2.Core.DamageSource Damage, System.Int32 numStacksKilled, Arcen.AIW2.Core.ArcenSimContextAnyStatus Context) [0x00000] in <81e7d88b38724d858317997ef6dc3cc8>:0 
  at Arcen.AIW2.Core.GameEntity_Squad.DoOnDestructionLogic (System.Boolean PreventReversionToNeutral, Arcen.AIW2.Core.DamageSource Damage, Arcen.AIW2.Core.EntitySystem FiringSystemOrNull, System.Boolean wasAlive, System.Int32 numStacksKilled, Arcen.AIW2.Core.ArcenSimContextAnyStatus Context) [0x00000] in <81e7d88b38724d858317997ef6dc3cc8>:0 
  at Arcen.AIW2.Core.GameEntity_Squad.TakeDamageDirectly (System.Int32 DamageAmount, Arcen.AIW2.Core.EntitySystem FiringSystemOrNull, Arcen.AIW2.Core.IShotHitSource ShotSourceThatHitOrNullOnlyUsedForKnockback, Arcen.AIW2.Core.DamageSource Damage, System.Boolean PreventReversionToNeutral, System.Boolean HonorFiniteHitCountAOE, System.Int32 MaxStacksAllowedToKill, System.Int32 CompressedShots, System.Int32 ExtraStacksOfSource, System.Boolean OnlyDamageShieldNotHull, System.Int32& ActualDamageDone, System.Int32& ActualHitEvents, System.Int32& DamageAbortCode, Arcen.AIW2.Core.ArcenSimContextAnyStatus Context, Arcen.Universal.ArcenCharacterBuffer traceBuffer) [0x00000] in <81e7d88b38724d858317997ef6dc3cc8>:0 
  at Arcen.AIW2.Core.GameEntity_Squad.TakeDamageDirectly (System.Int32 DamageAmount, Arcen.AIW2.Core.EntitySystem FiringSystemOrNull, Arcen.AIW2.Core.IShotHitSource ShotThatHitOrNullOnlyUsedForKnockback, Arcen.AIW2.Core.DamageSource Damage, Arcen.AIW2.Core.ArcenSimContextAnyStatus Context) [0x00000] in <81e7d88b38724d858317997ef6dc3cc8>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.ActuallyFireSalvoAtTargetPriorityList (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context, Arcen.AIW2.Core.EntitySystem System, System.Boolean trace, Arcen.Universal.ArcenCharacterBuffer tracingBuffer, System.Boolean DoShotsAllInstaHit) [0x00000] in <cc586a47a9404ef6a72c230e971f279f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoSystemStep (Arcen.Universal.FInt EffectiveDeltaTime, Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context, Arcen.AIW2.Core.EntitySystem System, System.Boolean DoShotsAllInstaHit) [0x00000] in <cc586a47a9404ef6a72c230e971f279f>:0 
  at Arcen.AIW2.Core.GameEntity_Squad.DoEntityStepLogic_Ship (Arcen.Universal.FInt EffectiveDeltaTime, Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context, System.Boolean DoShotsAllInstaHit) [0x00000] in <81e7d88b38724d858317997ef6dc3cc8>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c__DisplayClass47_1.<DoCombatStepForPlanet>b__3 (Arcen.AIW2.Core.GameEntity_Squad entity) [0x00000] in <cc586a47a9404ef6a72c230e971f279f>:0 
  at Arcen.AIW2.Core.EntityCollection.DoForEntities (Arcen.AIW2.Core.GameEntity_Squad+ProcessorDelegate Processor) [0x00000] in <81e7d88b38724d858317997ef6dc3cc8>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoCombatStepForPlanet (Arcen.AIW2.Core.Planet planet, Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <cc586a47a9404ef6a72c230e971f279f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo+<>c__DisplayClass63_0.<DoCombatPerStepLogic>b__0 (Arcen.AIW2.Core.Planet planet) [0x00000] in <cc586a47a9404ef6a72c230e971f279f>:0 
  at Arcen.AIW2.Core.Galaxy.DoForPlanetsSingleThread (System.Boolean IncludeDestroyed, Arcen.AIW2.Core.Planet+ProcessorDelegate Processor) [0x00000] in <81e7d88b38724d858317997ef6dc3cc8>:0 
  at Arcen.AIW2.Core.World_AIW2.DoForPlanetsSingleThread (System.Boolean IncludeDestroyed, Arcen.AIW2.Core.Planet+ProcessorDelegate Processor) [0x00000] in <81e7d88b38724d858317997ef6dc3cc8>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoCombatPerStepLogic (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <cc586a47a9404ef6a72c230e971f279f>:0 
  at Arcen.AIW2.External.EntitySimLogicImplementation_BaseInfo.DoWorldStepLogic_ClientOrHost_FromSimBGThread (Arcen.AIW2.Core.ArcenClientOrHostSimContextCore Context) [0x00000] in <cc586a47a9404ef6a72c230e971f279f>:0 
  at Arcen.AIW2.External.SimExecution.Execute () [0x00000] in <cc586a47a9404ef6a72c230e971f279f>:0 
  at Arcen.AIW2.External.ArcenClientOrHostSimPlanningContext.InnerRun () [0x00000] in <cc586a47a9404ef6a72c230e971f279f>:0 
  at Arcen.AIW2.External.ArcenExecutionContext.InnerRun () [0x00000] in <cc586a47a9404ef6a72c230e971f279f>:0 
  at Arcen.AIW2.External.ArcenThread.InternalActualThreadFunction () [0x00000] in <cc586a47a9404ef6a72c230e971f279f>:0 
  at System.Threading.ThreadHelper.ThreadStart_Context (System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.RunInternal (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state, System.Boolean preserveSyncCtx) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ExecutionContext.Run (System.Threading.ExecutionContext executionContext, System.Threading.ContextCallback callback, System.Object state) [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
  at System.Threading.ThreadHelper.ThreadStart () [0x00000] in <695d1cc93cca45069c528c15c9fdd749>:0 
error.txt (7,774 bytes)   

Chris_McElligottPark

Oct 15, 2021 1:12 pm

administrator   ~0062949

Thanks!

* Fixed some exceptions that could happen in DoOnAnyDeathInCombatLogic_AfterFullDeathOrPartOfStackDeath if the fleet had already been nulled out.

Issue History

Date Modified Username Field Change
Oct 15, 2021 11:27 am Daniexpert New Issue
Oct 15, 2021 11:27 am Daniexpert File Added: error.txt
Oct 15, 2021 1:12 pm Chris_McElligottPark Assigned To => Chris_McElligottPark
Oct 15, 2021 1:12 pm Chris_McElligottPark Status new => resolved
Oct 15, 2021 1:12 pm Chris_McElligottPark Resolution open => fixed
Oct 15, 2021 1:12 pm Chris_McElligottPark Fixed in Version => Beta 3.710 Hotfixes Serialization and Performance
Oct 15, 2021 1:12 pm Chris_McElligottPark Note Added: 0062949