[#beta-bugs] [modding] the exception stack trace that i got for accidentally merging a nonexi...

Issue #1571 resolved
Freehold Games Bot Account created an issue

Marked for crossposting by: heladohart

Message (jump):

<heladohart> [modding] the exception stack trace that i got for accidentally merging a nonexistent object onto the joppa world map was extremely unhelpful: ArgumentNullException: Value cannot be null. Parameter name: key at System.Collections.Generic.Dictionary`2[TKey,TValue].FindEntry (TKey key) [0x00008] in <fb001e01371b4adca20013e0ac763896>:0 at System.Collections.Generic.Dictionary`2[TKey,TValue].ContainsKey (TKey key) [0x00000] in <fb001e01371b4adca20013e0ac763896>:0 at XRL.World.WorldBuilders.JoppaWorldBuilder.BuildMutableEncounters () [0x001f1] in <7c584a822a744c54ad7747b660572a09>:0 UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) XRL.World.WorldBuilders.JoppaWorldBuilder:BuildMutableEncounters() XRL.World.WorldBuilders.JoppaWorldBuilder:BuildWorld(String) System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&) System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) System.Reflection.MethodBase:Invoke(Object, Object[]) XRL.World.WorldFactory:BuildWorld(String) XRL.World.WorldFactory:BuildWorlds() XRL.Core.XRLCore:NewGame() XRL.Core.XRLCore:_Start() XRL.Core.XRLCore:_ThreadStart() System.Threading.ThreadHelper:ThreadStart_Context(Object) System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean) System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object) System.Threading.ThreadHelper:ThreadStart()

Comments (3)

  1. Armithaig

    Fixed in 201.51, now prints verbose errors for invalid map blueprints, missing terrain object/part/tag (likely due to bad/missing merge) and removes this false positive null key.

  2. Log in to comment