边缘世界 RimWorld

边缘世界 RimWorld

[1.4] Vanilla Factions Expanded - Medieval
Harmonea 2023 年 3 月 24 日 上午 2:07
NullReferenceException related to Ideo Cultures on starting Renegade Lord scenario
Error from Player.log:
Root level exception in OnGUI(): System.NullReferenceException: Object reference not set to an instance of an object at RimWorld.Page_ChooseIdeoPreset+<>c.<PostOpen>b__25_0 (RimWorld.CultureDef x) [0x0000a] in <3f18ad3e53b3425f9e38babcac471e1f>:0 at System.Linq.Enumerable+WhereListIterator`1[TSource].ToList () [0x00017] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at System.Linq.Enumerable.ToList[TSource] (System.Collections.Generic.IEnumerable`1[T] source) [0x0001f] in <351e49e2a5bf4fd6beabb458ce2255f3>:0 at Verse.GenCollection.TryRandomElement[T] (System.Collections.Generic.IEnumerable`1[T] source, T& result) [0x00029] in <3f18ad3e53b3425f9e38babcac471e1f>:0 at RimWorld.Page_ChooseIdeoPreset.PostOpen () [0x0004c] in <3f18ad3e53b3425f9e38babcac471e1f>:0 at Verse.WindowStack.Add (Verse.Window window) [0x0003a] in <3f18ad3e53b3425f9e38babcac471e1f>:0 at RimWorld.Page.DoNext () [0x0000d] in <3f18ad3e53b3425f9e38babcac471e1f>:0 at RimWorld.Page_SelectStartingSite.<>n__0 () [0x00000] in <3f18ad3e53b3425f9e38babcac471e1f>:0 at RimWorld.Page_SelectStartingSite+<>c__DisplayClass17_0.<DoNext>b__0 () [0x00010] in <3f18ad3e53b3425f9e38babcac471e1f>:0 at RimWorld.Planet.SettlementProximityGoodwillUtility.CheckConfirmSettle (System.Int32 tile, System.Action settleAction) [0x000bb] in <3f18ad3e53b3425f9e38babcac471e1f>:0 at RimWorld.Page_SelectStartingSite.DoNext () [0x0001d] in <3f18ad3e53b3425f9e38babcac471e1f>:0 at RimWorld.Page_SelectStartingSite.DoCustomBottomButtons () [0x00346] in <3f18ad3e53b3425f9e38babcac471e1f>:0 at RimWorld.Page_SelectStartingSite.ExtraOnGUI () [0x00032] in <3f18ad3e53b3425f9e38babcac471e1f>:0 at Verse.WindowStack.WindowStackOnGUI () [0x00038] in <3f18ad3e53b3425f9e38babcac471e1f>:0 at Verse.UIRoot_Entry.UIRootOnGUI () [0x0003d] in <3f18ad3e53b3425f9e38babcac471e1f>:0 at (wrapper dynamic-method) Verse.Root.Verse.Root.OnGUI_Patch1(Verse.Root) (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)

Load order from ModsConfig.xml:

<activeMods> <li>brrainz.harmony</li> <li>ludeon.rimworld</li> <li>ludeon.rimworld.royalty</li> <li>ludeon.rimworld.ideology</li> <li>oskarpotocki.vanillafactionsexpanded.core</li> <li>oskarpotocki.vanillafactionsexpanded.medievalmodule</li> </activeMods>

Steps to reproduce:

1. Start a new colony
2. Select the Renegade Lord scenario
3. Select any storyteller and world settings, these do not seem to matter
4. Select any colony site and click "Next"

What should happen:
-The world map is removed from player view and the ideology screen appears.
-At any time before the player hits the start button on the colonist selection screen, the player SHOULD be able to hit the back button to go reselect a colony site if desired.
-After hitting the start button, play should immediately zoom in to the colony map.

What happens instead:
-The world map is not removed from player view; instead, the ideology screen is drawn over it along with the above error.
-Attempting to create a custom ideoligion after receiving the error results in a darkened and not fully operable ideo customization screen. (image[i.imgur.com])
-If the player selects a pre-built ideology, it's possible to click next and go to the colonist selection screen, but it becomes impossible to go back to site selection, because clicking the back button alternates between the ideology and colonist selection, with the error repeating on each return to the ideology screen.
-After hitting the start button, play stays zoomed out over the world map view, though players may manually zoom in for normal play.

Please let me know if I can provide any more information.
最后由 Harmonea 编辑于; 2023 年 3 月 24 日 上午 2:10
< >
正在显示第 1 - 6 条,共 6 条留言
Lord Beef Broth 2023 年 3 月 26 日 上午 9:35 
Thank you for showing this. I kept running into this issue with the New Kingdom scenario, and it was driving me crazy trying to figure out which mod was responsible.
Spürgelwürg 2023 年 4 月 2 日 上午 9:21 
To fix it, add in FactionDefs to VFEM_PlayerKingdom the line:
<allowedCultures><li>VFEM_Feudal</li></allowedCultures>

Either got lost in a corrupt steam update, or they forgot.

Also, the Site VFE_Skirmish the tag <expandingIconTexture> has the same texture as the <siteTexture> and could be replaced with
<expandingIconTexture>World/WorldObjects/Skirmish</expandingIconTexture>
. No wonder I never really saw it.
最后由 Spürgelwürg 编辑于; 2023 年 4 月 2 日 上午 9:22
velascoje 2023 年 4 月 15 日 上午 10:32 
Is this going to be fixed? Still happening 4/15/23.
Fera 2023 年 5 月 24 日 下午 3:46 
引用自 Spürgelwürg
To fix it, add in FactionDefs to VFEM_PlayerKingdom the line:
<allowedCultures><li>VFEM_Feudal</li></allowedCultures>

Either got lost in a corrupt steam update, or they forgot.

Also, the Site VFE_Skirmish the tag <expandingIconTexture> has the same texture as the <siteTexture> and could be replaced with
<expandingIconTexture>World/WorldObjects/Skirmish</expandingIconTexture>
. No wonder I never really saw it.

Thank you for the fix, this error has been driving me crazy. Hope this gets a proper fix eventually.
Hanz 2023 年 6 月 1 日 下午 9:34 
Just wanted to chime in. This is still an issue. Error log is identical. I apparently have never actually used the Renegade Lord start, and just so happened to try it when another mod updated. Spent 3 hours trying to see if I had a load order issue. Spurglewurg's fix worked for me.
Dartfish 2023 年 7 月 22 日 下午 3:50 
引用自 Spürgelwürg
To fix it, add in FactionDefs to VFEM_PlayerKingdom the line:
<allowedCultures><li>VFEM_Feudal</li></allowedCultures>

Either got lost in a corrupt steam update, or they forgot.

Also, the Site VFE_Skirmish the tag <expandingIconTexture> has the same texture as the <siteTexture> and could be replaced with
<expandingIconTexture>World/WorldObjects/Skirmish</expandingIconTexture>
. No wonder I never really saw it.


I'm sorry, where do you add this in? The mod file itself under the steam folders?
< >
正在显示第 1 - 6 条,共 6 条留言
每页显示数: 1530 50