Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Axu

An open-world graphical roguelike. Still in development. · By Cynapse

0.7.0b: InvalidOperationException in Journal.OnNPCDeath_CheckQuestProgress

A topic by THplusplus created Nov 07, 2018 Views: 175
Viewing posts 1 to 1

Hiho,

I found the following in Unity's output_log.txt.

InvalidOperationException: Collection was modified; enumeration operation may not execute.
  at System.Collections.Generic.List`1+Enumerator[Quest].VerifyState () [0x00000] in <filename unknown>:0 at System.Collections.Generic.List`1+Enumerator[Quest].MoveNext () [0x00000] in <filename unknown>:0   at Journal.OnNPCDeath_CheckQuestProgress (.NPC n) [0x00000] in <filename unknown>:0   at BaseAI.OnDeath (.Entity ent) [0x00000] in <filename unknown>:0   at Stats.Die () [0x00000] in <filename unknown>:0   at Stats.ApplyDamage (Int32 amount, Boolean crit, Color col, Boolean bloodstain, Boolean noNumber) [0x00000] in <filename unknown>:0   at Stats.CalculateDamage (Int32 amount, System.Collections.Generic.HashSet`1 damageTypes, Boolean crit, .BodyPart targetPart, Boolean ignoreArmor, Boolean ignoreResists) [0x00000] in <filename unknown>:0   at Stats.TakeDamage (.Item weapon, Int32 amount, System.Collections.Generic.HashSet`1 damTypes, .Entity attacker, Boolean crit, .BodyPart targetPart, Int32 sevChance) [0x00000] in <filename unknown>:0   at CombatComponent.PerformAttack (.Stats target, .Hand hand, .BodyPart targetPart, Int32 sevChance) [0x00000] in <filename unknown>:0   at CombatComponent.Attack (.Stats target, Boolean freeAction, .BodyPart targetPart, Int32 sevChance) [0x00000] in <filename unknown>:0   at Entity.AttackTile (Int32 x, Int32 y, Boolean freeAction) [0x00000] in <filename unknown>:0   at Entity.Swipe (Int32 x, Int32 y) [0x00000] in <filename unknown>:0   at Entity.EntityBasedDecision (.Cell targetCell, Int32 x, Int32 y, Boolean stopSwap) [0x00000] in <filename unknown>:0   at Entity.Action (Int32 x, Int32 y) [0x00000] in <filename unknown>:0   at PlayerInput.Action (Int32 x, Int32 y, Int32 wx, Int32 wy) [0x00000] in <filename unknown>:0   at PlayerInput.SingleInput () [0x00000] in <filename unknown>:0   at PlayerInput.HandleKeys () [0x00000] in <filename unknown>:0   at PlayerInput.Update () [0x00000] in <filename unknown>:0

Yes, I killed a Quest NPC, and yes, I enjoyed it ^^

Great game, but you've got to do something about those Quest bugs..!

Cheers