Asenna Steam
kirjaudu sisään
|
kieli
简体中文 (yksinkertaistettu kiina)
繁體中文 (perinteinen kiina)
日本語 (japani)
한국어 (korea)
ไทย (thai)
български (bulgaria)
Čeština (tšekki)
Dansk (tanska)
Deutsch (saksa)
English (englanti)
Español – España (espanja – Espanja)
Español – Latinoamérica (espanja – Lat. Am.)
Ελληνικά (kreikka)
Français (ranska)
Italiano (italia)
Bahasa Indonesia (indonesia)
Magyar (unkari)
Nederlands (hollanti)
Norsk (norja)
Polski (puola)
Português (portugali – Portugali)
Português – Brasil (portugali – Brasilia)
Română (romania)
Русский (venäjä)
Svenska (ruotsi)
Türkçe (turkki)
Tiếng Việt (vietnam)
Українська (ukraina)
Ilmoita käännösongelmasta
Exception in UIRootUpdate: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 7EEB6D2]
at OreOverlay.HarmoneyPatchUpdate.Postfix (Verse.DeepResourceGrid __instance) [0x00005] in <b41d1804311846b99587e50f8ffc3cde>:0
at RimWorld.MapInterface.MapInterfaceUpdate () [0x00279] in <981a33edf24d499488b0f820d94638e1>:0
- POSTFIX Spacemoth.OreOverlay: Void OreOverlay.HarmoneyPatchUpdate:Postfix(DeepResourceGrid __instance)
at RimWorld.UIRoot_Play.UIRootUpdate () [0x00015] in <981a33edf24d499488b0f820d94638e1>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
RimWorld.UIRoot_Play:UIRootUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Root.Update_Patch1 (Verse.Root)
Verse.Root_Play:Update ()
Now on startup and after a major refresh the mod will make a list of all the known ores regardless if they are shown or not.
Each time the overlay refreshes only these known ores are checked for update instead of every cell on the map.
This should hopefully fix the issue. Only time it might not work right is if a meteor crashes with ore, but turning the overlay off and on again should prompt an update.
I am glad the mod helps! I always found it frustrating having to slowly check along the cliffsides or stripmine to find ores so a nice high contrast way to find them made sense to me.
I am working on a more permanent fix, and can get back to you if I succeed. I can provide some (scuffed) ways to detect mining if you need one, but you are more experienced in Rimworld modding than I am and I was pushy enough already.
I greatly enjoy the mod! It really helps the mad mining rush when hitting a new map w/ the gravship start.
The specific source of the lag is RegenerateMesh from CellBoolDrawerUpdate in OreGridDraw, though your implementation doesn't look different from similar UI elements when I checked, so I am not sure why it is so heavily affected by this.
This only occurs when the overlay is active. I am not using any mods that add new ores, but will try and test on an entirely clean save later and get back to you.
It's now running and working great! Thanks for the response!
Recovered from incompatible or corrupted mods errors
It seems that some of the active mods were causing errors.
They were incompatible with each other, designed for a different version of RimWorld, or
corrupted.
All mods have been disabled and can be activated again in the mods dialog.
RimWorld Version 1.5.4069
I running the game on the SteamDeck, maybe that's the problem idk.