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

Immediately after creating keep from supply wagon the game crashes: System.InvalidOperationException: Cannot locate type: NewProductionTooltipLogic #17

Open
fusion809 opened this issue Oct 26, 2018 · 2 comments

Comments

@fusion809
Copy link
Contributor

Hi,

On Solus I compiled an AppImage for commit 217 (00997c4) and when I played the game I received the error:

Exception of type `System.InvalidOperationException`: Cannot locate type: NewProductionTooltipLogic
  at OpenRA.ObjectCreator+<>c.<.cctor>b__20_0 (System.String s) [0x00015] in <b11d1b36dbb7420393895db149b26d45>:0 
  at OpenRA.ObjectCreator.CreateObject[T] (System.String className, System.Collections.Generic.Dictionary`2[TKey,TValue] args) [0x0001a] in <b11d1b36dbb7420393895db149b26d45>:0 
  at OpenRA.Widgets.Widget+<>c__DisplayClass27_0.<PostInit>b__0 (System.String l) [0x00000] in <b11d1b36dbb7420393895db149b26d45>:0 
  at System.Linq.Enumerable+SelectArrayIterator`2[TSource,TResult].ToArray () [0x00012] in /home/build/YPKG/root/mono/build/mono-5.14.0.177/external/corefx/src/System.Linq/src/System/Linq/Select.cs:240 
  at System.Linq.Enumerable.ToArray[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0000e] in /home/build/YPKG/root/mono/build/mono-5.14.0.177/external/corefx/src/System.Linq/src/System/Linq/ToCollection.cs:18 
  at OpenRA.Widgets.Widget.PostInit (OpenRA.Widgets.WidgetArgs args) [0x0004c] in <b11d1b36dbb7420393895db149b26d45>:0 
  at OpenRA.WidgetLoader.LoadWidget (OpenRA.Widgets.WidgetArgs args, OpenRA.Widgets.Widget parent, OpenRA.MiniYamlNode node) [0x001d9] in <b11d1b36dbb7420393895db149b26d45>:0 
  at OpenRA.WidgetLoader.LoadWidget (OpenRA.Widgets.WidgetArgs args, OpenRA.Widgets.Widget parent, System.String w) [0x00030] in <b11d1b36dbb7420393895db149b26d45>:0 
  at OpenRA.Widgets.Ui.LoadWidget (System.String id, OpenRA.Widgets.Widget parent, OpenRA.Widgets.WidgetArgs args) [0x00001] in <b11d1b36dbb7420393895db149b26d45>:0 
  at OpenRA.Mods.Common.Widgets.TooltipContainerWidget.SetTooltip (System.String id, OpenRA.Widgets.WidgetArgs args) [0x00008] in /data/GitHub/others/Medieval-Warfare/engine/OpenRA.Mods.Common/Widgets/TooltipContainerWidget.cs:38 
  at OpenRA.Mods.Common.Widgets.ProductionPaletteWidget.MouseEntered () [0x0000e] in /data/GitHub/others/Medieval-Warfare/engine/OpenRA.Mods.Common/Widgets/ProductionPaletteWidget.cs:211 
  at OpenRA.Widgets.Ui.HandleInput (OpenRA.MouseInput mi) [0x000a7] in <b11d1b36dbb7420393895db149b26d45>:0 
  at OpenRA.DefaultInputHandler+<>c__DisplayClass5_0.<OnMouseInput>b__0 () [0x00000] in <b11d1b36dbb7420393895db149b26d45>:0 
  at OpenRA.Sync.CheckSyncUnchanged[T] (OpenRA.World world, System.Func`1[TResult] fn) [0x0003d] in <b11d1b36dbb7420393895db149b26d45>:0 
  at OpenRA.DefaultInputHandler.OnMouseInput (OpenRA.MouseInput input) [0x0000e] in <b11d1b36dbb7420393895db149b26d45>:0 
  at OpenRA.Platforms.Default.Sdl2Input.PumpInput (OpenRA.Platforms.Default.Sdl2PlatformWindow device, OpenRA.IInputHandler inputHandler) [0x003e8] in <0a6f41bd8ecd4115adb82d00e5762f4a>:0 
  at OpenRA.Platforms.Default.Sdl2PlatformWindow.PumpInput (OpenRA.IInputHandler inputHandler) [0x00007] in <0a6f41bd8ecd4115adb82d00e5762f4a>:0 
  at OpenRA.Renderer.EndFrame (OpenRA.IInputHandler inputHandler) [0x0000e] in <b11d1b36dbb7420393895db149b26d45>:0 
  at OpenRA.Game.RenderTick () [0x00147] in <b11d1b36dbb7420393895db149b26d45>:0 
  at OpenRA.Game.Loop () [0x00143] in <b11d1b36dbb7420393895db149b26d45>:0 
  at OpenRA.Game.Run () [0x00044] in <b11d1b36dbb7420393895db149b26d45>:0 
  at OpenRA.Game.InitializeAndRun (System.String[] args) [0x00013] in <b11d1b36dbb7420393895db149b26d45>:0 
  at OpenRA.Program.Main (System.String[] args) [0x0004e] in <b11d1b36dbb7420393895db149b26d45>:0 

AL lib: ALc.c:1420: alcDestroyContext(): deleting 32 Source(s)
AL lib: ALc.c:1818: alcCloseDevice(): deleting 4 Buffer(s)

full logs are in mw-crash-20181027-cannot-locate-type-NewProd.zip. Also might be worth mentioning I get this make output (with the error not stopping the making of an AppImage):

make[1]: Entering directory '/data/GitHub/others/Medieval-Warfare/engine'
Fetching StyleCopPlus from NuGet
Fetching StyleCop files from NuGet
Fetching ICSharpCode.SharpZipLib from NuGet
Fetching MaxMind.Db from NuGet
Fetching SharpFont from NuGet
Fetching NUnit from NuGet
Fetching NUnit.Console from NuGet
Fetching Open.Nat from NuGet
Fetching FuzzyLogicLibrary from NuGet.
Fetching SDL2-CS from GitHub.
Fetching OpenAL-CS from GitHub.
Fetching Eluant from GitHub.
Fetching rix0rrr.BeaconLib from NuGet.
Updating GeoIP country database from MaxMind.
Detected Lua 5.1 library at /usr/lib/liblua5.1.so.5.1
Eluant.dll.config has been created successfully.
CSC fixheader.exe
CSC OpenRA.Game.exe
CSC OpenRA.Platforms.Default.dll
CSC mods/common/OpenRA.Mods.Common.dll
CSC mods/common/OpenRA.Mods.Cnc.dll
CSC mods/d2k/OpenRA.Mods.D2k.dll
CSC OpenRA.Utility.exe
CSC OpenRA.Server.exe
make[1]: Leaving directory '/data/GitHub/others/Medieval-Warfare/engine'
Traits/Activites/PreyBuildActiviy.cs(56,56): error CS1061: 'WithHarvestAnimation' does not contain a definition for 'ChangeNot' and no extension method 'ChangeNot' accepting a first argument of type 'WithHarvestAnimation' could be found (are you missing a using directive or an assembly reference?)
Traits/Activites/PreyBuildActiviy.cs(108,59): error CS1061: 'WithHarvestAnimation' does not contain a definition for 'ChangeNot' and no extension method 'ChangeNot' accepting a first argument of type 'WithHarvestAnimation' could be found (are you missing a using directive or an assembly reference?)                     

Thanks for your time and good work,
Brenton

@CombinE88
Copy link
Owner

the bug in the make is already fixed, it was simply the engine not updated by me but i have pushed it now.-

@CombinE88
Copy link
Owner

first one is wierd, keep an eye on that.

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

2 participants