Page 1 of 1

Crash in 20121019

Posted: Fri Oct 19, 2012 10:28 pm
by dn_
While playing Red Alert mod in OpenRA 20121019, it closed without warning, and exception.log contained the following:

Code: Select all

Exception of type `System.IndexOutOfRangeException`: Index was outside the bounds of the array.
   at OpenRA.Traits.Shroud.AddActor(Actor a)
   at OpenRA.Traits.Shroud.UpdateActor(Actor a)
   at OpenRA.Traits.RevealsShroud.Tick(Actor self)
   at OpenRA.World.<Tick>m__B8(TraitPair`1 x)
   at OpenRA.WorldUtils.<DoTimed>c__AnonStorey4E`1.<>m__105(T x)
   at OpenRA.Exts.Do[T](IEnumerable`1 e, Action`1 fn)
   at OpenRA.WorldUtils.DoTimed[T](IEnumerable`1 e, Action`1 a, String text, Double time)
   at OpenRA.World.Tick()
   at OpenRA.Game.Tick(OrderManager orderManager)
   at OpenRA.Game.Tick(OrderManager orderManager, Viewport viewPort)
   at OpenRA.Game.Run()
   at OpenRA.Program.Run(String[] args)
   at OpenRA.Program.Main(String[] args)
Anyone else having problems?

Edit: Posted to https://github.com/OpenRA/OpenRA/issues/2432

Posted: Fri Oct 19, 2012 10:42 pm
by ddd
Better post it on http://bugs.open-ra.org.

Posted: Fri Oct 19, 2012 10:43 pm
by zypres1
Runs well, but I got this:

Exception of type `System.InvalidOperationException`: Attempted to get trait from destroyed object (ctnk 541 (not in world))
at OpenRA.TraitDictionary.CheckDestroyed(Actor actor)
at OpenRA.TraitDictionary.Get[T](Actor actor)
at OpenRA.Actor.Trait[T]()
at OpenRA.Mods.RA.ChronoTankOrderGenerator.RenderBeforeWorld(WorldRenderer wr, World world)
at OpenRA.Graphics.WorldRenderer.Draw()
at OpenRA.Graphics.Viewport.DrawRegions(WorldRenderer wr, IInputHandler inputHandler)
at OpenRA.Game.Tick(OrderManager orderManager, Viewport viewPort)
at OpenRA.Game.Run()
at OpenRA.Program.Run(String[] args)
at OpenRA.Program.Main(String[] args)

:-)

Posted: Fri Oct 19, 2012 10:46 pm
by dn_
Thanks ddd