Crash on Startup (Log Included)

Information and discussion for custom maps and mods.
Post Reply
Skrip
Posts: 3
Joined: Wed Apr 12, 2017 3:50 am

Crash on Startup (Log Included)

Post by Skrip »

Hey guys, I have language.mix, ra2.mix, and theme.mix in my content folder. I seem to get this error when I start the game.

Code: Select all

Red Alert 2 Mod at Version git-0b49505
Date: 2017-04-15 06:43:43Z
Operating System: Windows (Microsoft Windows NT 6.2.9200.0)
Runtime Version: .NET CLR 4.0.30319.42000
Exception of type `System.AggregateException`: One or more errors occurred.
Inner
  Exception of type `OpenRA.YamlException`: FieldLoader: Cannot parse `50` into `Velocity.OpenRA.WVec` 
     at OpenRA.FieldLoader.<.cctor>b__a&#40;String s, Type t, String f&#41;
   at OpenRA.FieldLoader.GetValue&#40;String fieldName, Type fieldType, MiniYaml yaml, MemberInfo field&#41;
   at OpenRA.FieldLoader.TryGetValueFromYaml&#40;String yamlName, FieldInfo field, Dictionary`2 md, Object& ret&#41;
   at OpenRA.FieldLoader.Load&#40;Object self, MiniYaml my&#41;
   at OpenRA.GameRules.WeaponInfo.LoadProjectile&#40;MiniYaml yaml&#41;
   at OpenRA.FieldLoader.Load&#40;Object self, MiniYaml my&#41;
   at OpenRA.GameRules.WeaponInfo..ctor&#40;String name, MiniYaml content&#41;
   at OpenRA.Ruleset.<>c__DisplayClass9.<LoadDefaults>b__5&#40;MiniYamlNode k&#41;
   at OpenRA.Exts.ToDictionaryWithConflictLog&#91;TSource,TKey,TElement&#93;&#40;IEnumerable`1 source, Func`2 keySelector, Func`2 elementSelector, String debugName, Func`2 logKey, Func`2 logValue&#41;
   at OpenRA.Ruleset.MergeOrDefault&#91;T&#93;&#40;String name, IReadOnlyFileSystem fileSystem, IEnumerable`1 files, MiniYaml additional, IReadOnlyDictionary`2 defaults, Func`2 makeObject&#41;
   at OpenRA.Ruleset.<>c__DisplayClass9.<LoadDefaults>b__3&#40;&#41;
   at System.Threading.Tasks.Task.InnerInvoke&#40;&#41;
   at System.Threading.Tasks.Task.Execute&#40;&#41;
   at System.Threading.Tasks.Task.ThrowIfExceptional&#40;Boolean includeTaskCanceledExceptions&#41;
   at System.Threading.Tasks.Task.Wait&#40;Int32 millisecondsTimeout, CancellationToken cancellationToken&#41;
   at System.Threading.Tasks.Task.Wait&#40;Int32 millisecondsTimeout&#41;
   at OpenRA.Ruleset.LoadDefaults&#40;ModData modData&#41;
   at OpenRA.ModData.<.ctor>b__2&#40;&#41;
   at System.Lazy`1.CreateValue&#40;&#41;
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw&#40;&#41;
   at System.Lazy`1.get_Value&#40;&#41;
   at OpenRA.ModData.get_DefaultRules&#40;&#41;
   at OpenRA.Ruleset.LoadDefaultsForTileSet&#40;ModData modData, String tileSet&#41;
   at OpenRA.Map.PostInit&#40;&#41;
   at OpenRA.Map..ctor&#40;ModData modData, IReadOnlyPackage package&#41;
   at OpenRA.ModData.PrepareMap&#40;String uid&#41;
   at OpenRA.Game.StartGame&#40;String mapUID, WorldType type&#41;
   at OpenRA.Game.LoadShellMap&#40;&#41;
   at OpenRA.Mods.Common.LoadScreens.BlankLoadScreen.StartGame&#40;Arguments args&#41;
   at OpenRA.Game.InitializeMod&#40;String mod, Arguments args&#41;
   at OpenRA.Game.Initialize&#40;Arguments args&#41;
   at OpenRA.Program.Run&#40;String&#91;&#93; args&#41;
   at OpenRA.Program.Main&#40;String&#91;&#93; args&#41;

Any idea what the reason is?

abcdefg30
Posts: 641
Joined: Mon Aug 18, 2014 6:00 pm

Post by abcdefg30 »

This was fixed by https://github.com/OpenRA/ra2/commit/b1 ... fa3d38e37f . You should be fine by using the latest version of RA2.

Post Reply