Oxygen Not Included

Oxygen Not Included

自然种植盒(Natural Plant Box)
DarkEviL 15 Sep, 2024 @ 4:59am
Game crash
Periodically crashes the game when selecting Natural Plant Box to plant a seed after building.

Coroutine couldn't be started because the the game object 'PlanterSideScreen' is inactive!

at PlanterSideScreen.UpdateState (System.Object data) [0x00000] in <ade4ebd17f71495b9476a7e52f977fe6>:0
at ReceptacleSideScreen.ReceptacleSideScreen.Initialize_Patch2 (ReceptacleSideScreen , SingleEntityReceptacle ) [0x00000] in <ade4ebd17f71495b9476a7e52f977fe6>:0
at ReceptacleSideScreen.SetTarget (UnityEngine.GameObject target) [0x00000] in <ade4ebd17f71495b9476a7e52f977fe6>:0
at PlanterSideScreen.SetTarget (UnityEngine.GameObject target) [0x00000] in <ade4ebd17f71495b9476a7e52f977fe6>:0
at PeterHan.FastTrack.UIPatches.DetailsPanelWrapper.SortSideScreens (DetailsScreen ds, UnityEngine.GameObject target, System.Boolean force) [0x00000] in <4a11d013b5644223a06a481b6e507bd7>:0
at PeterHan.FastTrack.UIPatches.DetailsPanelWrapper+Refresh_Patch.Prefix (DetailsScreen __instance, UnityEngine.GameObject go) [0x00000] in <4a11d013b5644223a06a481b6e507bd7>:0
at DetailsScreen.DetailsScreen.Refresh_Patch1 (DetailsScreen , UnityEngine.GameObject ) [0x00000] in <ade4ebd17f71495b9476a7e52f977fe6>:0
at RootMenu.Refresh () [0x00000] in <ade4ebd17f71495b9476a7e52f977fe6>:0
at RootMenu.OnSelectObject (System.Object data) [0x00000] in <ade4ebd17f71495b9476a7e52f977fe6>:0
at EventSystem.Trigger (UnityEngine.GameObject go, System.Int32 hash, System.Object data) [0x00000] in <42a58da1d7eb4994b452d944564c213e>:0
at KMonoBehaviour.Trigger (System.Int32 hash, System.Object data) [0x00000] in <42a58da1d7eb4994b452d944564c213e>:0
at SelectTool.SelectTool.Select_Patch1 (SelectTool , KSelectable , System.Boolean ) [0x00000] in <ade4ebd17f71495b9476a7e52f977fe6>:0
at PeterHan.FastTrack.UIPatches.InterfaceToolPatches+OnLeftClickDown_Patch.Prefix (UnityEngine.Vector3 cursor_pos, SelectTool __instance) [0x00000] in <4a11d013b5644223a06a481b6e507bd7>:0
at SelectTool.SelectTool.OnLeftClickDown_Patch1 (SelectTool , UnityEngine.Vector3 ) [0x00000] in <ade4ebd17f71495b9476a7e52f977fe6>:0
at PlayerController.OnKeyDown (KButtonEvent e) [0x00000] in <ade4ebd17f71495b9476a7e52f977fe6>:0
at KInputHandler.HandleKeyDown (KButtonEvent e) [0x00000] in <42a58da1d7eb4994b452d944564c213e>:0
at KInputHandler.HandleKeyDown (KButtonEvent e) [0x00000] in <42a58da1d7eb4994b452d944564c213e>:0
at KInputHandler.HandleEvent (KInputEvent e) [0x00000] in <42a58da1d7eb4994b452d944564c213e>:0
at KInputController.Dispatch () [0x00000] in <42a58da1d7eb4994b452d944564c213e>:0
at KInputManager.Dispatch () [0x00000] in <42a58da1d7eb4994b452d944564c213e>:0
at KInputManager.Update () [0x00000] in <42a58da1d7eb4994b452d944564c213e>:0
at GameInputManager.Update () [0x00000] in <42a58da1d7eb4994b452d944564c213e>:0
at Global.Global.Update_Patch1 (Global ) [0x00000] in <ade4ebd17f71495b9476a7e52f977fe6>:0
Build: U52-626616-SC
< >
Showing 1-15 of 15 comments
pronoses  [developer] 15 Sep, 2024 @ 5:52am 
I saw some problems related to PeterHan's PLib, but it's not used in my mod. So it's well possible that there's some mod conflict.
Known conflict: 位移信标 & build over plant.
DarkEviL 15 Sep, 2024 @ 7:22am 
Perhaps a conflict with FastTrack? Previously the game did not crash, before the update V6.
pronoses  [developer] 15 Sep, 2024 @ 8:30am 
Originally posted by Unholyrage:
Perhaps a conflict with FastTrack? Previously the game did not crash, before the update V6.
Well possible. And it may not be due to V6 update, but due to a fix to V6 update: it changed how the side screen works, which is relevant to the crash detail.
DarkEviL 15 Sep, 2024 @ 10:50am 
The most interesting thing is that I loaded the save started to build Natural Plant Box, planted 15 Pincha Pepperplant and everything was fine, but after some time I decided to add 5 more and when selecting the newly built Natural Plant Box the game crashed. And so constantly after loading a save everything works but after a while it crashes. Is there any possibility to download the previous version, I would try v6 before the fix. I can try to disable Fast Track for testing, but it is impossible to play without Fast Track in the late stages of the game, FPS is too low.
pronoses  [developer] 15 Sep, 2024 @ 5:40pm 
Originally posted by Unholyrage:
The most interesting thing is that I loaded the save started to build Natural Plant Box, planted 15 Pincha Pepperplant and everything was fine, but after some time I decided to add 5 more and when selecting the newly built Natural Plant Box the game crashed. And so constantly after loading a save everything works but after a while it crashes. Is there any possibility to download the previous version, I would try v6 before the fix. I can try to disable Fast Track for testing, but it is impossible to play without Fast Track in the late stages of the game, FPS is too low.
I think I'll be able to offer a compromise. When it's done, I'll tell you about it.
pronoses  [developer] 15 Sep, 2024 @ 6:29pm 
Originally posted by Unholyrage:
The most interesting thing is that I loaded the save started to build Natural Plant Box, planted 15 Pincha Pepperplant and everything was fine, but after some time I decided to add 5 more and when selecting the newly built Natural Plant Box the game crashed. And so constantly after loading a save everything works but after a while it crashes. Is there any possibility to download the previous version, I would try v6 before the fix. I can try to disable Fast Track for testing, but it is impossible to play without Fast Track in the late stages of the game, FPS is too low.
Released an update. Please have a try and report crash if it still occurs.
DarkEviL 16 Sep, 2024 @ 1:21am 
I tried to repeat the steps to crashing the game within an hour, but I have not succeeded so far.
DarkEviL 16 Sep, 2024 @ 1:27am 
Off-topic question: Can you add a localization option to this mod?
I tried changing the strings in the plugin via dnSpy, but I was unsuccessful due to an error.
If you don't want to bother, I don't insist.
Ru
Natural Plant Box=Натуральный ящик для растений
pronoses  [developer] 16 Sep, 2024 @ 8:40am 
Originally posted by Unholyrage:
Off-topic question: Can you add a localization option to this mod?
I tried changing the strings in the plugin via dnSpy, but I was unsuccessful due to an error.
If you don't want to bother, I don't insist.
Ru
Natural Plant Box=Натуральный ящик для растений
For ease of mod development, I use a different means of adding localization. Unfortunately, my approach is only suitable for 2 different localizations at present.
So I'm sorry to tell you that adding another new localization can be troublesome and I'm not going to do so in near future.
DarkEviL 15 Mar @ 7:29am 
After the recent QoL update the game started crashing if you open an achievement or start a new colony. I accidentally figured out this mod, because at first I thought I had just broken colony achievements, and I started a new game, and when picking up the starting 3 duplicants, the game crashed and disabled this mod. After restarting the game I loaded the old save ~900 cycles and the achievements started opening too.
Some of the info from the log file:
[14:10:40.297] [1] [INFO] 自然种植盒(Natural Plant Box)'s patched_method Database.NoFarmables.Success matched in the stack trace, adding to referenced mods list
MissingMethodException: Method not found: System.Collections.Generic.IList`1<WorldContainer> .ClusterManager.get_WorldContainers()
at (wrapper dynamic-method) Database.NoFarmables.Database.NoFarmables.Success_Patch1(Database.NoFarmables)
at ColonyAchievementStatus.UpdateAchievement () [0x0003a] in <77f3589596ec401a997c2e10703c4a12>:0
at ColonyAchievementTracker.RenderEveryTick (System.Single dt) [0x0005d] in <77f3589596ec401a997c2e10703c4a12>:0
at SimAndRenderScheduler+RenderEveryTickUpdater.Update (IRenderEveryTick updater, System.Single dt) [0x00000] in <1f583ce96a48430ba66629e5477a0517>:0
at UpdateBucketWithUpdater`1[DataType].Update (System.Single dt) [0x00090] in <1f583ce96a48430ba66629e5477a0517>:0
at StateMachineUpdater+BucketGroup.AdvanceOneSubTick (System.Single dt) [0x0002d] in <1f583ce96a48430ba66629e5477a0517>:0
at StateMachineUpdater.RenderEveryTick (System.Single dt) [0x00015] in <1f583ce96a48430ba66629e5477a0517>:0
at Game.LateUpdate () [0x00475] in <77f3589596ec401a997c2e10703c4a12>:0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
LogCatcher:UnityEngine.ILogHandler.LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)
pronoses  [developer] 17 Mar @ 9:27pm 
It's really annoying that even with your hint I still couldn't locate the problem. But when I re-compiled the mod, everything went back to normal...
DarkEviL 18 Mar @ 1:24am 
The mod then in general works in the game, only it was impossible to start a new colony or look in the description of the colony. I continued to use it even, just did not look at the achievements of the colony. Thank you for fixing the mod.
halfling 19 Mar @ 3:00am 
Crashed with mod
MissingMethodException: Method not found: System.Collections.Generic.IList`1<WorldContainer> .ClusterManager.get_WorldContainers()

(wrapper dynamic-method) Database.NoFarmables.Database.NoFarmables.Success_Patch1(Database.NoFarmables)
ColonyAchievementStatus.UpdateAchievement () (at <77f3589596ec401a997c2e10703c4a12>:0)
ColonyAchievementTracker.RenderEveryTick (System.Single dt) (at <77f3589596ec401a997c2e10703c4a12>:0)
SimAndRenderScheduler+RenderEveryTickUpdater.Update (IRenderEveryTick updater, System.Single dt) (at <1f583ce96a48430ba66629e5477a0517>:0)
UpdateBucketWithUpdater`1[DataType].Update (System.Single dt) (at <1f583ce96a48430ba66629e5477a0517>:0)
StateMachineUpdater+BucketGroup.AdvanceOneSubTick (System.Single dt) (at <1f583ce96a48430ba66629e5477a0517>:0)
StateMachineUpdater.RenderEveryTick (System.Single dt) (at <1f583ce96a48430ba66629e5477a0517>:0)
Game.LateUpdate () (at <77f3589596ec401a997c2e10703c4a12>:0)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
LogCatcher:UnityEngine.ILogHandler.LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)

Build: U55-660455-SC
DarkEviL 19 Mar @ 4:39am 
You have almost the same error as I had. Are you sure you updated the mod? This mod works fine for me after the update. If I start a new colony or open achievements in an existing colony, the game no longer crashes.
pronoses  [developer] 13 Jun @ 9:51am 
Originally posted by DarkEviL:
You have almost the same error as I had. Are you sure you updated the mod? This mod works fine for me after the update. If I start a new colony or open achievements in an existing colony, the game no longer crashes.
I'm also quite confused about the actual cause of the game crash. Currently I just keep recompile the mod and everything become normal.
< >
Showing 1-15 of 15 comments
Per page: 1530 50