Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Attempted to get trait from destroyed object (husk) #5638

Closed
cjshmyr opened this issue Jun 14, 2014 · 1 comment
Closed

Attempted to get trait from destroyed object (husk) #5638

cjshmyr opened this issue Jun 14, 2014 · 1 comment
Assignees
Labels

Comments

@cjshmyr
Copy link
Member

cjshmyr commented Jun 14, 2014

Reported by Tesrym on IRC

    Red Alert Mod at Version release-20140608
    Operating System: Windows (Microsoft Windows NT 6.1.7600 Service Pack 1)
    Runtime Version: .NET CLR 4.0.30319.17929
    Exception of type `System.InvalidOperationException`: Attempted to get trait from destroyed object (4tnk.husk 1243 (not in world))
       at OpenRA.TraitDictionary.CheckDestroyed(Actor actor)
       at OpenRA.TraitDictionary.GetOrDefault[T](Actor actor)
       at OpenRA.Mods.RA.Buildings.BuildingInfluence.<BuildingInfluence>m__59D(Actor a)
       at System.Action`1.Invoke(T obj)
       at OpenRA.World.Remove(Actor a)
       at OpenRA.Actor.<ChangeOwner>c__AnonStoreyC2.<>m__256(World w)
       at OpenRA.World.Tick()
       at OpenRA.Game.TickInner(OrderManager orderManager)
       at OpenRA.Game.Tick(OrderManager orderManager)
       at OpenRA.Game.Run()
       at OpenRA.Program.Run(String[] args)
       at OpenRA.Program.Main(String[] args)
@cjshmyr cjshmyr added the crash label Jun 14, 2014
@Mailaender Mailaender self-assigned this Jul 2, 2014
@Mailaender Mailaender added this to the July 2014 Release milestone Jul 2, 2014
@Mailaender
Copy link
Member

This problem may been revealed by #4941. I made an attempt to fix it at #5801.

noyanbaykal pushed a commit to noyanbaykal/OpenRA that referenced this issue Jul 13, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants