RimWorld

RimWorld

Mora's Territory(莫拉的领土扩展)
 This topic has been pinned, so it's probably important
莫拉  [developer] 7 May @ 8:59am
Bug收集/Bug Reports
:steamhappy:
< >
Showing 1-15 of 23 comments
zohryu 8 May @ 10:30pm 
For some reason, I'm unable to see any territory layers when I have the option selected
"Current Map Mode : Territory".
I've tried with 30% Globe Coverage, 70%, and 100%.

https://imgur.com/a/Rxqz4LD

The problem is displayed in the above link.
Is it possibly a compatibility error, maybe with WorldEdit?

Sharing message log :

Initialization complete:15126
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Message_Patch1 (string)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:VC_Territory.Page_SelectStartingSite_PostOpen.Postfix_Patch0 ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:RimWorld.Page_SelectStartingSite.PostOpen_Patch3 (RimWorld.Page_SelectStartingSite)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.WindowStack.Add_Patch3 (Verse.WindowStack,Verse.Window)
RimWorld.Page_CreateWorldParams:<CanDoNext>b__19_1 ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.LongEventHandler.ExecuteToExecuteWhenFinished_Patch0 ()
Verse.LongEventHandler:UpdateCurrentAsynchronousEvent ()
Verse.LongEventHandler:LongEventsUpdate (bool&)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Entry:Update ()
Last edited by zohryu; 8 May @ 10:31pm
莫拉  [developer] 8 May @ 11:25pm 
@zohryu Yes, the error related to Page_SelectStartingSite appears during the world generation step when selecting a colony starting location. My mod initializes the territory system at this stage by listening to that page. However, it seems that [WorldEdit] (or similar mods) might skip this step, which prevents the initialization logic from being triggered properly. I’ll look into possible compatibility solutions for this. Thanks for your feedback!
zohryu 9 May @ 1:08am 
Hello again, thank you for the reply.
I removed some more mods from my list, including WorldEdit, and then moved into the active game (with pawns active) and I am still somewhat unable to visualize the faction territories, unfortunately.

The image is visible below.

https://i.imgur.com/kVcUmHQ.jpeg

It seems stuck on "Prepared 15189 out of 15192 tiles", but there is no lag or delay or freezing, the game continues as usual. This was tested on a 30% coverage, normal world.

I'll continue to remove mods to see what might resolve it, but I'm a bit sad it's not working...
Last edited by zohryu; 9 May @ 1:10am
莫拉  [developer] 9 May @ 1:16am 
Originally posted by zohryu:
Hello again, thank you for the reply.
I removed some more mods from my list, including WorldEdit, and then moved into the active game (with pawns active) and I am still somewhat unable to visualize the faction territories, unfortunately.

The image is visible below.

https://i.imgur.com/kVcUmHQ.jpeg

It seems stuck on "Prepared 15189 out of 15192 tiles", but there is no lag or delay or freezing, the game continues as usual. This was tested on a 30% coverage, normal world.

I'll continue to remove mods to see what might resolve it, but I'm a bit sad it's not working...

Thank you for your reply, and I’m very sorry for the bad experience. If it’s convenient for you, could you please share the list of mods you’re currently using? It would really help me with debugging. Thanks!
zohryu 9 May @ 1:54am 
https://rentry.co/kua6hiis

Here is my current list.
It sits at 928 mods, so I accept that certain conflicts and compatibility are possible, so don't worry about it.

Sorry if the modlist is difficult to parse; I was having some issues exporting it from RimSort.

I also have my Player.log, but it's a true mess with some other unrelated errors I am working on resolving.

https://rentry.co/3bw43ors
莫拉  [developer] 9 May @ 4:18am 
It doesn’t conflict with the Core Extended Framework or RimWar—still under testing.
For some reason when you have this mod with Save Our Ships 2 it fails to load the map after picking colonist and sends you back to the main menu with an error that just says "Error To Generate Map" or something along those lines I can't remember exactly what it said. At first I though it was just the dependencies cause it said there were compatibility issues with SOS2 but when I tested it without this mod and keeping Map Mode Framework it worked for me and I was able to generate the map without any error.

Sadly with my mod list I am unable to get the borders to work even without SOS2 with only a few towns generating boarders and only at 30% map size and normal population gen.

I hope you fix the bugs in the future cause this mod looked really cool. I wish you the best of luck in fixing bugs with this mod, and if it helps I can also send you the mods in my list if needed. :steamthumbsup:
莫拉  [developer] 9 May @ 11:11am 
Originally posted by Thunderous Man Blast:
For some reason when you have this mod with Save Our Ships 2 it fails to load the map after picking colonist and sends you back to the main menu with an error that just says "Error To Generate Map" or something along those lines I can't remember exactly what it said. At first I though it was just the dependencies cause it said there were compatibility issues with SOS2 but when I tested it without this mod and keeping Map Mode Framework it worked for me and I was able to generate the map without any error.

Sadly with my mod list I am unable to get the borders to work even without SOS2 with only a few towns generating boarders and only at 30% map size and normal population gen.

I hope you fix the bugs in the future cause this mod looked really cool. I wish you the best of luck in fixing bugs with this mod, and if it helps I can also send you the mods in my list if needed. :steamthumbsup:
Thank you for providing information about the mod conflict. I will actively work on resolving the incompatibility with SOS2. For now, I will mark it as incompatible.:steamthumbsup:
zohryu 9 May @ 9:07pm 
Dear developer.
Thank you for your hard work thus far.
I deeply appreciate your efforts.

I'd like to post an update about the mod.
Currently, we are now able to visualize some territories in our tests.
You can see the results below.

https://i.imgur.com/0HXjuoI.jpeg

It seems like the territory shader/viewer is now partially working, so great progress has been achieved. Thank you!

However, it seems like RimCities could be causing the faction territories to not expand completely, so it seems like full completion has not been achieved.
The progress has been good so far!

EDIT :

We ran some more tests, at 100% planet coverage, and the territory function halted again.

https://i.imgur.com/mrE2sGa.jpeg

Error log, related to Map Mode Framework :

[Map Mode Framework] Error during asynchronous regeneration of VC_Territory.WorldLayer_MapMode_Territory: Object reference not set to an instance of an object
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch6 (string)
MapModeFramework.Core:Error (string)
MapModeFramework.WorldLayer_MapMode_Region/<BuildSubMeshes>d__8:MoveNext ()
System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner:InvokeMoveNext (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Runtime.CompilerServices.AsyncMethodBuilderCore/MoveNextRunner:Run ()
System.Threading.Tasks.SynchronizationContextAwaitTaskContinuation/<>c:<.cctor>b__7_0 (object)
UnityEngine.UnitySynchronizationContext/WorkRequest:Invoke ()
UnityEngine.UnitySynchronizationContext:Exec ()
UnityEngine.UnitySynchronizationContext:ExecuteTasks ()
Last edited by zohryu; 9 May @ 10:49pm
莫拉  [developer] 10 May @ 1:32am 
@zohryu Thank you so much for your continued testing and detailed feedback!
I really appreciate the effort you’ve put into helping me identify issues and track progress.
Thanks again for your support—it means a lot!:steamthumbsup:
I believe the new update has broke the mod completely. or its an PC thing for me. But I was gonna try and do some testing with SOS2 but first I tried the mod alone with just its dependency and nothing else, the and it won't load territories at all. it just says "Prepared 0 out of 0 tiles". I'm not sure what going on but when I check the player.log this is what it looks like. Not sure if I did this right but I'm trying to help.

TerritoryManager测试据点个数:0
Find测试据点个数:92
Could not execute post-long-event action. Exception: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 907017C5]
at VC_Territory.Territory.Notify_Influence_Add (RimWorld.Planet.Settlement settle, System.Single Influence) [0x00042] in <54daa96fab8d4e388fc1cb5635f0b3a2>:0
at VC_Territory.TerritoryManager.Notify_Influence_Add (RimWorld.Planet.Settlement settle) [0x000e5] in <54daa96fab8d4e388fc1cb5635f0b3a2>:0
at VC_Territory.TerritoryManager.InfluenceInit () [0x00068] in <54daa96fab8d4e388fc1cb5635f0b3a2>:0
at VC_Territory.Page_SelectStartingSite_PostOpen.Postfix () [0x00024] in <54daa96fab8d4e388fc1cb5635f0b3a2>:0
at RimWorld.Page_SelectStartingSite.PostOpen () [0x0036c] in <630e2863bc9a4a3493f2eff01e3a9556>:0
- POSTFIX NozoMe.MapModeFramework: Void MapModeFramework.Page_SelectStartingSite_PostOpen_Patch:Postfix()
- POSTFIX VC_Territory: Void VC_Territory.Page_SelectStartingSite_PostOpen:Postfix()
at Verse.WindowStack.Add (Verse.Window window) [0x0003a] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at RimWorld.Page_CreateWorldParams.<CanDoNext>b__19_1 () [0x0000d] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at Verse.LongEventHandler.ExecuteToExecuteWhenFinished () [0x0007c] in <630e2863bc9a4a3493f2eff01e3a9556>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

TerritoryManager测试据点个数:1
Exception from asynchronous event: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 602C7D43]
at VC_Territory.Territory.Notify_Influence_Add (RimWorld.Planet.Settlement settle, System.Single Influence) [0x00042] in <54daa96fab8d4e388fc1cb5635f0b3a2>:0
at VC_Territory.TerritoryManager.Notify_Influence_Add (RimWorld.Planet.Settlement settle) [0x000e5] in <54daa96fab8d4e388fc1cb5635f0b3a2>:0
at VC_Territory.Patch_WorldObjectsHolder_Add.Postfix (RimWorld.Planet.WorldObject o) [0x00020] in <54daa96fab8d4e388fc1cb5635f0b3a2>:0
at RimWorld.Planet.WorldObjectsHolder.Add (RimWorld.Planet.WorldObject o) [0x00077] in <630e2863bc9a4a3493f2eff01e3a9556>:0
- POSTFIX VC_Territory: Void VC_Territory.Patch_WorldObjectsHolder_Add:Postfix(WorldObject o)
at RimWorld.ScenPart_PlayerFaction.PreMapGenerate () [0x00055] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at RimWorld.Scenario.PreMapGenerate () [0x0001c] in <630e2863bc9a4a3493f2eff01e3a9556>:0
- PREFIX VC_Territory: Void VC_Territory.Patch_Scenario:PreMapGenerate_Prefix()
at RimWorld.PageUtility+<>c.<InitGameStart>b__1_0 () [0x0000f] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at Verse.LongEventHandler.RunEventFromAnotherThread (System.Action action) [0x00008] in <630e2863bc9a4a3493f2eff01e3a9556>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Unloading 5 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 0.204500 ms

Unloading 51 unused Assets to reduce memory usage. Loaded Objects now: 15648.
Total: 108.697300 ms (FindLiveObjects: 0.639900 ms CreateObjectMapping: 0.451700 ms MarkObjects: 107.513600 ms DeleteObjects: 0.091600 ms)

Initializing new game with mods:
- brrainz.harmony
- Ludeon.RimWorld
- NozoMe.MapModeFramework
- Chemora.VCTerritory
Unloading 0 Unused Serialized files (Serialized files now loaded: 0)

Unloading 1 unused Assets to reduce memory usage. Loaded Objects now: 20739.
Total: 163.188700 ms (FindLiveObjects: 0.718500 ms CreateObjectMapping: 0.616800 ms MarkObjects: 161.801100 ms DeleteObjects: 0.051900 ms)

Exception filling window for RimWorld.Dialog_ModSettings: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 339C9240]
at VC_Territory.VC_TerritorySetting.DoWindowContents (UnityEngine.Rect inRect) [0x00551] in <54daa96fab8d4e388fc1cb5635f0b3a2>:0
at VC_Territory.VC_TerritoryMod.DoSettingsWindowContents (UnityEngine.Rect inRect) [0x00001] in <54daa96fab8d4e388fc1cb5635f0b3a2>:0
at RimWorld.Dialog_ModSettings.DoWindowContents (UnityEngine.Rect inRect) [0x00073] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001a6] in <630e2863bc9a4a3493f2eff01e3a9556>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
(Filename: Line: 580)

"It then repeats this section below like 20 times"

Exception filling window for RimWorld.Dialog_ModSettings: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 339C9240] Duplicate stacktrace, see ref for original
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
(Filename: Line: 580)

Mouse position stack is not empty. There were more calls to BeginScrollView than EndScrollView. Fixing.
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

"Then Repeats this line like 100 times"

GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
(Filename: Line: 580)

"Not sure if this is a mod problem or a problem with my PC with the mod but I hope this helps and I can't wait for this mod to work so I can use it" Best of luck to you. :captainsmooth::steamthumbsup:
莫拉  [developer] 10 May @ 11:38pm 
Originally posted by Thunderous Man Blast:
I believe the new update has broke the mod completely. or its an PC thing for me. But I was gonna try and do some testing with SOS2 but first I tried the mod alone with just its dependency and nothing else, the and it won't load territories at all. it just says "Prepared 0 out of 0 tiles". I'm not sure what going on but when I check the player.log this is what it looks like. Not sure if I did this right but I'm trying to help.

TerritoryManager测试据点个数:0
Find测试据点个数:92
Could not execute post-long-event action. Exception: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 907017C5]
at VC_Territory.Territory.Notify_Influence_Add (RimWorld.Planet.Settlement settle, System.Single Influence) [0x00042] in <54daa96fab8d4e388fc1cb5635f0b3a2>:0
at VC_Territory.TerritoryManager.Notify_Influence_Add (RimWorld.Planet.Settlement settle) [0x000e5] in <54daa96fab8d4e388fc1cb5635f0b3a2>:0
at VC_Territory.TerritoryManager.InfluenceInit () [0x00068] in <54daa96fab8d4e388fc1cb5635f0b3a2>:0
at VC_Territory.Page_SelectStartingSite_PostOpen.Postfix () [0x00024] in <54daa96fab8d4e388fc1cb5635f0b3a2>:0
at RimWorld.Page_SelectStartingSite.PostOpen () [0x0036c] in <630e2863bc9a4a3493f2eff01e3a9556>:0
- POSTFIX NozoMe.MapModeFramework: Void MapModeFramework.Page_SelectStartingSite_PostOpen_Patch:Postfix()
- POSTFIX VC_Territory: Void VC_Territory.Page_SelectStartingSite_PostOpen:Postfix()
at Verse.WindowStack.Add (Verse.Window window) [0x0003a] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at RimWorld.Page_CreateWorldParams.<CanDoNext>b__19_1 () [0x0000d] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at Verse.LongEventHandler.ExecuteToExecuteWhenFinished () [0x0007c] in <630e2863bc9a4a3493f2eff01e3a9556>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

TerritoryManager测试据点个数:1
Exception from asynchronous event: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 602C7D43]
at VC_Territory.Territory.Notify_Influence_Add (RimWorld.Planet.Settlement settle, System.Single Influence) [0x00042] in <54daa96fab8d4e388fc1cb5635f0b3a2>:0
at VC_Territory.TerritoryManager.Notify_Influence_Add (RimWorld.Planet.Settlement settle) [0x000e5] in <54daa96fab8d4e388fc1cb5635f0b3a2>:0
at VC_Territory.Patch_WorldObjectsHolder_Add.Postfix (RimWorld.Planet.WorldObject o) [0x00020] in <54daa96fab8d4e388fc1cb5635f0b3a2>:0
at RimWorld.Planet.WorldObjectsHolder.Add (RimWorld.Planet.WorldObject o) [0x00077] in <630e2863bc9a4a3493f2eff01e3a9556>:0
- POSTFIX VC_Territory: Void VC_Territory.Patch_WorldObjectsHolder_Add:Postfix(WorldObject o)
at RimWorld.ScenPart_PlayerFaction.PreMapGenerate () [0x00055] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at RimWorld.Scenario.PreMapGenerate () [0x0001c] in <630e2863bc9a4a3493f2eff01e3a9556>:0
- PREFIX VC_Territory: Void VC_Territory.Patch_Scenario:PreMapGenerate_Prefix()
at RimWorld.PageUtility+<>c.<InitGameStart>b__1_0 () [0x0000f] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at Verse.LongEventHandler.RunEventFromAnotherThread (System.Action action) [0x00008] in <630e2863bc9a4a3493f2eff01e3a9556>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Unloading 5 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 0.204500 ms

Unloading 51 unused Assets to reduce memory usage. Loaded Objects now: 15648.
Total: 108.697300 ms (FindLiveObjects: 0.639900 ms CreateObjectMapping: 0.451700 ms MarkObjects: 107.513600 ms DeleteObjects: 0.091600 ms)

Initializing new game with mods:
- brrainz.harmony
- Ludeon.RimWorld
- NozoMe.MapModeFramework
- Chemora.VCTerritory
Unloading 0 Unused Serialized files (Serialized files now loaded: 0)

Unloading 1 unused Assets to reduce memory usage. Loaded Objects now: 20739.
Total: 163.188700 ms (FindLiveObjects: 0.718500 ms CreateObjectMapping: 0.616800 ms MarkObjects: 161.801100 ms DeleteObjects: 0.051900 ms)

Exception filling window for RimWorld.Dialog_ModSettings: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 339C9240]
at VC_Territory.VC_TerritorySetting.DoWindowContents (UnityEngine.Rect inRect) [0x00551] in <54daa96fab8d4e388fc1cb5635f0b3a2>:0
at VC_Territory.VC_TerritoryMod.DoSettingsWindowContents (UnityEngine.Rect inRect) [0x00001] in <54daa96fab8d4e388fc1cb5635f0b3a2>:0
at RimWorld.Dialog_ModSettings.DoWindowContents (UnityEngine.Rect inRect) [0x00073] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at Verse.Window.InnerWindowOnGUI (System.Int32 x) [0x001a6] in <630e2863bc9a4a3493f2eff01e3a9556>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
(Filename: Line: 580)

"It then repeats this section below like 20 times"

Exception filling window for RimWorld.Dialog_ModSettings: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 339C9240] Duplicate stacktrace, see ref for original
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
(Filename: Line: 580)

Mouse position stack is not empty. There were more calls to BeginScrollView than EndScrollView. Fixing.
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

"Then Repeats this line like 100 times"

GUI Error: You are pushing more GUIClips than you are popping. Make sure they are balanced.
(Filename: Line: 580)

"Not sure if this is a mod problem or a problem with my PC with the mod but I hope this helps and I can't wait for this mod to work so I can use it" Best of luck to you. :captainsmooth::steamthumbsup:
I'm very sorry that the update affected your save. Could you please let me know if the crash still occurs after rolling back to the previous version? I didn't encounter any crashes during local testing with the new version, but I am currently facing some difficulties resolving the issue. Thank you for your feedback!
"Normal Testing With Just This Mod" - Ok after testing a few more rounds of testing I was able to get it to work on 30% and 100% global coverage, and both at crowded and normal population slider. Normal Works Now :steamhappy:

"Testing With SOS2" - Ok Its really weird how this works, if you start with any normal scenario where you don't start in space it works and any other scenarios after that as well that don't start in space but once you go to space you get the error while loading map even if you do a crash landed start where you don't even start in space it screws the game up until you restart it. Where it gets weird is that if you start with crash landed build a ship and then take off the game doesn't get the error and you can land back where you started and move the ship, but if you leave that save and then try and start another one you get the error with loading map. the bug seems to have a problem with loading space in SOS2 its very strange how it works heres the play log that shows up when I get the error

"Player.Log From When Error First Occurred"

Initializing new game with mods:
- brrainz.harmony
- Ludeon.RimWorld
- Ludeon.RimWorld.Royalty
- Ludeon.RimWorld.Ideology
- Ludeon.RimWorld.Biotech
- Ludeon.RimWorld.Anomaly
- NozoMe.MapModeFramework
- SmashPhil.VehicleFramework
- Chemora.VCTerritory
- kentington.saveourship2
Exception from asynchronous event: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 4F766A6D]
at VC_Territory.Patch_Settlement.PostRemove_Postfix (RimWorld.Planet.Settlement __instance) [0x00013] in <59b4060fe1104f3c8a136c5aa59691db>:0
at RimWorld.Planet.Settlement.PostRemove () [0x0001c] in <630e2863bc9a4a3493f2eff01e3a9556>:0
- POSTFIX VC_Territory: Void VC_Territory.Patch_Settlement:PostRemove_Postfix(Settlement __instance)
at RimWorld.Planet.WorldObjectsHolder.Remove (RimWorld.Planet.WorldObject o) [0x00038] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at RimWorld.Planet.WorldObject.Destroy () [0x00026] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at SaveOurShip2.GenerateSpaceMapInstead.Postfix (RimWorld.Planet.MapParent parent, Verse.Map& __result) [0x0002c] in <0ac025b09b37486d82eecc56888c58b0>:0
at Verse.MapGenerator.GenerateMap (Verse.IntVec3 mapSize, RimWorld.Planet.MapParent parent, Verse.MapGeneratorDef mapGenerator, System.Collections.Generic.IEnumerable`1[T] extraGenStepDefs, System.Action`1[T] extraInitBeforeContentGen, System.Boolean isPocketMap) [0x00319] in <630e2863bc9a4a3493f2eff01e3a9556>:0
- PREFIX ShipInteriorMod2: Boolean SaveOurShip2.GenerateSpaceMapInstead:Prefix()
- POSTFIX ShipInteriorMod2: Void SaveOurShip2.GenerateSpaceMapInstead:Postfix(MapParent parent, Map& __result)
at Verse.Game.InitNewGame () [0x00160] in <630e2863bc9a4a3493f2eff01e3a9556>:0
- PREFIX SmashPhil.SmashTools: Void SmashTools.ComponentCache:ClearCache()
at Verse.Root_Play+<>c.<Start>b__1_2 () [0x00025] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at Verse.LongEventHandler.RunEventFromAnotherThread (System.Action action) [0x00008] in <630e2863bc9a4a3493f2eff01e3a9556>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Unloading 0 Unused Serialized files (Serialized files now loaded: 5)

Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 27369.
Total: 449.177000 ms (FindLiveObjects: 1.787400 ms CreateObjectMapping: 1.292600 ms MarkObjects: 446.024700 ms DeleteObjects: 0.071600 ms)

<color=#FFA500FF>[Map Mode Framework]</color> Error during asynchronous caching of MapModeFramework.MapMode_GrowingPeriod: Object reference not set to an instance of an object
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Unloading 2 Unused Serialized files (Serialized files now loaded: 5)
UnloadTime: 0.231300 ms

Unloading 253 unused Assets to reduce memory usage. Loaded Objects now: 27104.
Total: 448.986700 ms (FindLiveObjects: 1.036000 ms CreateObjectMapping: 0.933600 ms MarkObjects: 446.241900 ms DeleteObjects: 0.773800 ms)

TerritoryManager测试据点个数:98
Find测试据点个数:System.Collections.Generic.List`1[RimWorld.Planet.Settlement]
初始化完毕:21259
Unloading 0 Unused Serialized files (Serialized files now loaded: 5)

Unloading 29 unused Assets to reduce memory usage. Loaded Objects now: 27499.
Total: 457.421100 ms (FindLiveObjects: 1.017800 ms CreateObjectMapping: 1.004600 ms MarkObjects: 454.749000 ms DeleteObjects: 0.648000 ms)

Unloading 3 Unused Serialized files (Serialized files now loaded: 5)
UnloadTime: 0.217900 ms

Unloading 1 unused Assets to reduce memory usage. Loaded Objects now: 27713.
Total: 451.475000 ms (FindLiveObjects: 1.047200 ms CreateObjectMapping: 0.982100 ms MarkObjects: 449.361000 ms DeleteObjects: 0.084200 ms)

Initializing new game with mods:
- brrainz.harmony
- Ludeon.RimWorld
- Ludeon.RimWorld.Royalty
- Ludeon.RimWorld.Ideology
- Ludeon.RimWorld.Biotech
- Ludeon.RimWorld.Anomaly
- NozoMe.MapModeFramework
- SmashPhil.VehicleFramework
- Chemora.VCTerritory
- kentington.saveourship2
Exception from asynchronous event: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 4F766A6D] Duplicate stacktrace, see ref for original
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Unloading 0 Unused Serialized files (Serialized files now loaded: 5)

Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 27713.
Total: 451.658500 ms (FindLiveObjects: 1.062000 ms CreateObjectMapping: 0.924800 ms MarkObjects: 449.592700 ms DeleteObjects: 0.078700 ms)

<color=#FFA500FF>[Map Mode Framework]</color> Error during asynchronous caching of MapModeFramework.MapMode_GrowingPeriod: Object reference not set to an instance of an object
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Unloading 2 Unused Serialized files (Serialized files now loaded: 5)
UnloadTime: 0.240200 ms

Unloading 250 unused Assets to reduce memory usage. Loaded Objects now: 27451.
Total: 451.538500 ms (FindLiveObjects: 1.675600 ms CreateObjectMapping: 1.000600 ms MarkObjects: 448.078600 ms DeleteObjects: 0.783100 ms)

Setting up 6 worker threads for Enlighten.
Thread -> id: b61c -> priority: 1
Thread -> id: c0c0 -> priority: 1
Thread -> id: 9bdc -> priority: 1
Thread -> id: 9bf0 -> priority: 1
Thread -> id: 99fc -> priority: 1
Thread -> id: a2d8 -> priority: 1

I hope this helps. :captainsmooth::steamthumbsup: If you need me to do anymore testing or need anything else just ask.
Last edited by Thunderous Man Blast; 11 May @ 12:58am
莫拉  [developer] 11 May @ 3:10am 
Originally posted by Thunderous Man Blast:
"Normal Testing With Just This Mod" - Ok after testing a few more rounds of testing I was able to get it to work on 30% and 100% global coverage, and both at crowded and normal population slider. Normal Works Now :steamhappy:

"Testing With SOS2" - Ok Its really weird how this works, if you start with any normal scenario where you don't start in space it works and any other scenarios after that as well that don't start in space but once you go to space you get the error while loading map even if you do a crash landed start where you don't even start in space it screws the game up until you restart it. Where it gets weird is that if you start with crash landed build a ship and then take off the game doesn't get the error and you can land back where you started and move the ship, but if you leave that save and then try and start another one you get the error with loading map. the bug seems to have a problem with loading space in SOS2 its very strange how it works heres the play log that shows up when I get the error

"Player.Log From When Error First Occurred"

Initializing new game with mods:
- brrainz.harmony
- Ludeon.RimWorld
- Ludeon.RimWorld.Royalty
- Ludeon.RimWorld.Ideology
- Ludeon.RimWorld.Biotech
- Ludeon.RimWorld.Anomaly
- NozoMe.MapModeFramework
- SmashPhil.VehicleFramework
- Chemora.VCTerritory
- kentington.saveourship2
Exception from asynchronous event: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 4F766A6D]
at VC_Territory.Patch_Settlement.PostRemove_Postfix (RimWorld.Planet.Settlement __instance) [0x00013] in <59b4060fe1104f3c8a136c5aa59691db>:0
at RimWorld.Planet.Settlement.PostRemove () [0x0001c] in <630e2863bc9a4a3493f2eff01e3a9556>:0
- POSTFIX VC_Territory: Void VC_Territory.Patch_Settlement:PostRemove_Postfix(Settlement __instance)
at RimWorld.Planet.WorldObjectsHolder.Remove (RimWorld.Planet.WorldObject o) [0x00038] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at RimWorld.Planet.WorldObject.Destroy () [0x00026] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at SaveOurShip2.GenerateSpaceMapInstead.Postfix (RimWorld.Planet.MapParent parent, Verse.Map& __result) [0x0002c] in <0ac025b09b37486d82eecc56888c58b0>:0
at Verse.MapGenerator.GenerateMap (Verse.IntVec3 mapSize, RimWorld.Planet.MapParent parent, Verse.MapGeneratorDef mapGenerator, System.Collections.Generic.IEnumerable`1[T] extraGenStepDefs, System.Action`1[T] extraInitBeforeContentGen, System.Boolean isPocketMap) [0x00319] in <630e2863bc9a4a3493f2eff01e3a9556>:0
- PREFIX ShipInteriorMod2: Boolean SaveOurShip2.GenerateSpaceMapInstead:Prefix()
- POSTFIX ShipInteriorMod2: Void SaveOurShip2.GenerateSpaceMapInstead:Postfix(MapParent parent, Map& __result)
at Verse.Game.InitNewGame () [0x00160] in <630e2863bc9a4a3493f2eff01e3a9556>:0
- PREFIX SmashPhil.SmashTools: Void SmashTools.ComponentCache:ClearCache()
at Verse.Root_Play+<>c.<Start>b__1_2 () [0x00025] in <630e2863bc9a4a3493f2eff01e3a9556>:0
at Verse.LongEventHandler.RunEventFromAnotherThread (System.Action action) [0x00008] in <630e2863bc9a4a3493f2eff01e3a9556>:0
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Unloading 0 Unused Serialized files (Serialized files now loaded: 5)

Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 27369.
Total: 449.177000 ms (FindLiveObjects: 1.787400 ms CreateObjectMapping: 1.292600 ms MarkObjects: 446.024700 ms DeleteObjects: 0.071600 ms)

<color=#FFA500FF>[Map Mode Framework]</color> Error during asynchronous caching of MapModeFramework.MapMode_GrowingPeriod: Object reference not set to an instance of an object
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Unloading 2 Unused Serialized files (Serialized files now loaded: 5)
UnloadTime: 0.231300 ms

Unloading 253 unused Assets to reduce memory usage. Loaded Objects now: 27104.
Total: 448.986700 ms (FindLiveObjects: 1.036000 ms CreateObjectMapping: 0.933600 ms MarkObjects: 446.241900 ms DeleteObjects: 0.773800 ms)

TerritoryManager测试据点个数:98
Find测试据点个数:System.Collections.Generic.List`1[RimWorld.Planet.Settlement]
初始化完毕:21259
Unloading 0 Unused Serialized files (Serialized files now loaded: 5)

Unloading 29 unused Assets to reduce memory usage. Loaded Objects now: 27499.
Total: 457.421100 ms (FindLiveObjects: 1.017800 ms CreateObjectMapping: 1.004600 ms MarkObjects: 454.749000 ms DeleteObjects: 0.648000 ms)

Unloading 3 Unused Serialized files (Serialized files now loaded: 5)
UnloadTime: 0.217900 ms

Unloading 1 unused Assets to reduce memory usage. Loaded Objects now: 27713.
Total: 451.475000 ms (FindLiveObjects: 1.047200 ms CreateObjectMapping: 0.982100 ms MarkObjects: 449.361000 ms DeleteObjects: 0.084200 ms)

Initializing new game with mods:
- brrainz.harmony
- Ludeon.RimWorld
- Ludeon.RimWorld.Royalty
- Ludeon.RimWorld.Ideology
- Ludeon.RimWorld.Biotech
- Ludeon.RimWorld.Anomaly
- NozoMe.MapModeFramework
- SmashPhil.VehicleFramework
- Chemora.VCTerritory
- kentington.saveourship2
Exception from asynchronous event: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 4F766A6D] Duplicate stacktrace, see ref for original
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Unloading 0 Unused Serialized files (Serialized files now loaded: 5)

Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 27713.
Total: 451.658500 ms (FindLiveObjects: 1.062000 ms CreateObjectMapping: 0.924800 ms MarkObjects: 449.592700 ms DeleteObjects: 0.078700 ms)

<color=#FFA500FF>[Map Mode Framework]</color> Error during asynchronous caching of MapModeFramework.MapMode_GrowingPeriod: Object reference not set to an instance of an object
(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Unloading 2 Unused Serialized files (Serialized files now loaded: 5)
UnloadTime: 0.240200 ms

Unloading 250 unused Assets to reduce memory usage. Loaded Objects now: 27451.
Total: 451.538500 ms (FindLiveObjects: 1.675600 ms CreateObjectMapping: 1.000600 ms MarkObjects: 448.078600 ms DeleteObjects: 0.783100 ms)

Setting up 6 worker threads for Enlighten.
Thread -> id: b61c -> priority: 1
Thread -> id: c0c0 -> priority: 1
Thread -> id: 9bdc -> priority: 1
Thread -> id: 9bf0 -> priority: 1
Thread -> id: 99fc -> priority: 1
Thread -> id: a2d8 -> priority: 1

I hope this helps. :captainsmooth::steamthumbsup: If you need me to do anymore testing or need anything else just ask.
Thank you very much for your test log! I’ve identified the initialization bug in the Mod Options for Version 1.1. Compatibility with SOS2 still needs some time—I'll release the Version 1.1 update in a few hours after internal testing is complete. I really appreciate your help!
莫拉  [developer] 11 May @ 3:17am 
If it's convenient for you, please feel free to download the Version 1.1 test build and help with testing. https://github.com/intellectualmora/VC_Territory/releases/tag/Testing
< >
Showing 1-15 of 23 comments
Per page: 1530 50