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

No ore on map. Crash when creating a miner slave. #179

Open
plainviewp1206 opened this issue Dec 11, 2022 · 0 comments
Open

No ore on map. Crash when creating a miner slave. #179

plainviewp1206 opened this issue Dec 11, 2022 · 0 comments

Comments

@plainviewp1206
Copy link

Could this crash be related to this? OpenRA/d2#186

Exception of type `System.InvalidOperationException`: Actor world does not have trait of type `OpenRA.Mods.Common.Traits.ResourceRenderer`
  at OpenRA.TraitDictionary+TraitContainer`1[T].Get (OpenRA.Actor actor) [0x0003b] in <9ee425ab53754a56a560c63289d6c778>:0 
  at OpenRA.TraitDictionary.Get[T] (OpenRA.Actor actor) [0x0000c] in <9ee425ab53754a56a560c63289d6c778>:0 
  at OpenRA.Actor.Trait[T] () [0x00000] in <9ee425ab53754a56a560c63289d6c778>:0 
  at OpenRA.Mods.Common.Traits.Harvester+HarvestOrderTargeter.CanTarget (OpenRA.Actor self, OpenRA.Traits.Target target, System.Collections.Generic.List`1[T] othersAtTarget, OpenRA.Traits.TargetModifiers& modifiers, System.String& cursor) [0x00046] in <e51136524655489fb04476e6be0950d8>:0 
  at OpenRA.Orders.UnitOrderGenerator.OrderForUnit (OpenRA.Actor self, OpenRA.Traits.Target target, System.Collections.Generic.List`1[T] actorsAt, OpenRA.CPos xy, OpenRA.MouseInput mi) [0x00127] in <9ee425ab53754a56a560c63289d6c778>:0 
  at OpenRA.Orders.UnitOrderGenerator+<>c__DisplayClass6_0.<GetCursor>b__0 (OpenRA.Actor a) [0x00000] in <9ee425ab53754a56a560c63289d6c778>:0 
  at System.Linq.Enumerable+SelectEnumerableIterator`2[TSource,TResult].MoveNext () [0x00048] in <f6c405b973804b5c804e7e759353765f>:0 
  at System.Linq.Enumerable+WhereEnumerableIterator`1[TSource].MoveNext () [0x0004e] in <f6c405b973804b5c804e7e759353765f>:0 
  at OpenRA.Exts.CompareBy[T,U] (System.Collections.Generic.IEnumerable`1[T] ts, System.Func`2[T,TResult] selector, System.Int32 modifier, System.Boolean throws) [0x0000d] in <9ee425ab53754a56a560c63289d6c778>:0 
  at OpenRA.Exts.MaxByOrDefault[T,U] (System.Collections.Generic.IEnumerable`1[T] ts, System.Func`2[T,TResult] selector) [0x00000] in <9ee425ab53754a56a560c63289d6c778>:0 
  at OpenRA.Orders.UnitOrderGenerator.GetCursor (OpenRA.World world, OpenRA.CPos cell, OpenRA.int2 worldPixel, OpenRA.MouseInput mi) [0x000d8] in <9ee425ab53754a56a560c63289d6c778>:0 
  at OpenRA.Mods.Common.Widgets.WorldInteractionControllerWidget+<>c__DisplayClass17_0.<GetCursor>b__0 () [0x00095] in <e51136524655489fb04476e6be0950d8>:0 
  at OpenRA.Sync.RunUnsynced[T] (System.Boolean checkSyncHash, OpenRA.World world, System.Func`1[TResult] fn) [0x00023] in <9ee425ab53754a56a560c63289d6c778>:0 
  at OpenRA.Mods.Common.Widgets.WorldInteractionControllerWidget.GetCursor (OpenRA.int2 screenPos) [0x00014] in <e51136524655489fb04476e6be0950d8>:0 
  at OpenRA.Widgets.Widget.GetCursorOuter (OpenRA.int2 pos) [0x00076] in <9ee425ab53754a56a560c63289d6c778>:0 
  at OpenRA.Widgets.Widget.GetCursorOuter (OpenRA.int2 pos) [0x0003f] in <9ee425ab53754a56a560c63289d6c778>:0 
  at OpenRA.Widgets.Widget.GetCursorOuter (OpenRA.int2 pos) [0x0003f] in <9ee425ab53754a56a560c63289d6c778>:0 
  at OpenRA.Widgets.Widget.GetCursorOuter (OpenRA.int2 pos) [0x0003f] in <9ee425ab53754a56a560c63289d6c778>:0 
  at OpenRA.Game.RenderTick () [0x00159] in <9ee425ab53754a56a560c63289d6c778>:0 
  at OpenRA.Game.Loop () [0x0015a] in <9ee425ab53754a56a560c63289d6c778>:0 
  at OpenRA.Game.Run () [0x0003c] in <9ee425ab53754a56a560c63289d6c778>:0 
  at OpenRA.Game.InitializeAndRun (System.String[] args) [0x00010] in <9ee425ab53754a56a560c63289d6c778>:0 
  at OpenRA.Program.Main (System.String[] args) [0x00044] in <9ee425ab53754a56a560c63289d6c778>:0 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant