Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash after building a Duplicant Motion Sensor #168

Open
WoodyPampa opened this issue Jun 25, 2023 · 0 comments
Open

Crash after building a Duplicant Motion Sensor #168

WoodyPampa opened this issue Jun 25, 2023 · 0 comments

Comments

@WoodyPampa
Copy link

The Issue:
It's as simple as I wrote in the title.
I build a Duplicant Motion Sensor, Obviously with your "Configurable Motion Sensor Range" Mod's.
And instantly when the Dup finish building, Crash

But!
I removed your mod, then loading the save, building it, nothing happen, and I save.
And then I re-enable your mod (each time with a restart of the game, I'm using Mod Manager from Ony and Mod Updater).
My thought was that the save will not be able to load and cash the game, but I was able to load it...
If I unpause the game it's not an instant crash, it take 200ms tick of the game to crash, so I tried to load the save again and keep the game in Pause to look at the Sensor, if I can maybe do something to avoid the crash or anything.
I was able to change the range etc, each tab are working, the game doesn't crash whatever I tried, but if I unpause the game, again, 200ms and crash.
(I don't know much about this, it's just very quick and in the crash message there is something about 200s and tick and stuff like that.)

One weird thing I found, I don't even know if that was already like this before or not, but in the tooltip of the Sensor, there is twice "turn off" button, I never notice this before.

Of course I tried to not build the Sensor, I have a save just before this moment, and the game work as usual with all my usual mods.

I tried to disable all possible mod I can but in the end, it's always this one who make my game crashing.
I'm not blaming your mod just in case, further in this message you will understand that it's my fault somehow, I'm saying that your mod make the game crash just because that the case for me in this special conditions.

To Reproduce
I don't really know what to say for this section, I just build a Dup Motion Sensor Range, there isn't any other in game action I did.
Maybe using the 2 Mods I talk about in "additional Context" can help you to reproduce it, I don't know.

Expected behavior
I Expected that the game don't crash ^^'
lol, no, seriously, I just hope my save isn't corrupted and that you have a solution, I know it was me who screwed up somehow.

Screenshots
This is the message from the Crash screen of the game with Daisy:
image

This is about the tooltip of the Sensor I talk about and the two "Turn Off" buttons
image

Additional context
I must admit that I'm close to be sure that if the save is Crashing, it's my fault.
I will try to explain it quick.

I already use your mod since a very long time, and other mod from you, and everything work fine, even "Configurable Motion Sensor Range".
But recently I tried 2 Mods:
Critter Motion Sensor (updated for Big Merge)
And
Duplicant Room Sensor

I tested them on a fresh new save in sandbox to see if they was working, and nothing weird happen with my usual mod list.
So I decided to load my curent save and continue with both of them.
And if I still didn't use "Duplicant Room Sensor", I did build 2 Critter Motion Sensors, and they was working fine, no issues, no weird stuff, no crash.
But then, when I tried to build a classic Dup Motion sensor, game crashed.

My tough is that one of this mods was conflicting with your's, The Critter Motion Sensor must be the culprit because it's the same type of sensor after all.
The other didn't received update since a long time, but the Critter Motion Sensor was updated in March, after testing it in sandbox with your mod activated without issue, I don't understand why it doesn't now...

Then I decided to load my save with all mod enable, demolish the Critter range Sensor and save (not erase the previous one)
Then go back to the main menu disable the 2 new mod and try to load the save and see, the game still crash after finishing.
Finally I start the game and load the save without any of theses 3 Mods, and like I wrote above, the game can load the save and it work fine, no crash after finishing building the Sensor.
So I did an other Save, Go back enabling your mod but not the 2 others and restarting the game, loading the save without crash, but when I unpause... it's still crashing...
And the crash report message is all the time the same.

I have backup save before each step as backup, just in case if you have solution for me ^^

Output log
I wasn't able to found the output_log.txt game file.
I look at where this file must be but there was nothing.
And in the Player.log it was the same thing as in the screenshot above, I copy/past it, it must be easier for you to read it this way.

I have little hope that you can do something but maybe this report can help to avoid te same issue to someone else

NullReferenceException: Object reference not set to an instance of an object
  at ConfigurableMotionSensorRange.RangeSwitcher.Sim200ms (System.Single dt) [0x00006] in <130d70a116854c4baea175b8282d39b4>:0 
  at SimAndRenderScheduler+Sim200msUpdater.Update (ISim200ms updater, System.Single dt) [0x00000] in <0f4b778ef79c497e89f6ee18303840cf>:0 
  at UpdateBucketWithUpdater`1[DataType].Update (System.Single dt) [0x00090] in <0f4b778ef79c497e89f6ee18303840cf>:0 
  at StateMachineUpdater+BucketGroup.AdvanceOneSubTick (System.Single dt) [0x0002d] in <0f4b778ef79c497e89f6ee18303840cf>:0 
  at StateMachineUpdater.AdvanceOneSimSubTick () [0x00025] in <0f4b778ef79c497e89f6ee18303840cf>:0 
  at Game.SimEveryTick (System.Single dt) [0x0006c] in <2bfc01d3c011441f99eda7da2f70c2dc>:0 
  at Game.Update () [0x00082] in <2bfc01d3c011441f99eda7da2f70c2dc>:0 

PS: I didn't know it before, but I found that Tools not included is from you!
Thank you for this amazing website, I'm using it since my first week on this game, it was many years ago and I even remember that I bought some coffee, it was the least I can do, and still using it today. I even remember let the game run in the background during a movie to contribute with the Data Base... God... I'm so old now ^^"
I'm not saying this to have more chance to be helped, not at all, I'm not even sure that there is something to do to solve my case so...
I'm just happy to be able to thanks someone I didn't know before for his help in the past.

Ho and sorry... I'm aware that this message is far fat too long... My English isn't perfect and not my mother tongue, I'm a writer IRL and writing simple message is always something I struggle with -.-'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant