Space Engineers

Space Engineers

Ore Generator - Make ore from electricity!
Stollie  [developer] 25 Mar, 2022 @ 9:54pm
Errors & Logs
Please post any errors or logs in this thread.
< >
Showing 1-15 of 15 comments
Anubis 27 Mar, 2022 @ 7:14am 
got a spam of this in the log
2022-03-27 07:09:51.558 - Thread: 1 -> Ore Generator - Make ore from electricity! error/exception: Object reference not set to an instance of an object.
at Stollie.OreGenerator.OreGeneratorBlock.SetEmissives()
at Stollie.OreGenerator.OreGeneratorBlock.UpdateAfterSimulation()
If you need the whole log I can give it, but a lot of it is that and over 3mb
Stollie  [developer] 27 Mar, 2022 @ 3:26pm 
Hmm interesting, its not finding the emissive material, I'll have a look on the weekend, thanks.
British89 31 Mar, 2022 @ 1:27am 
Is it possible to make it compatible with AwwScrap? when setting a whitelist for Ores only, that includes scrap from every component in the game including those from mods, not just ore. Thanks.
Stollie  [developer] 1 Apr, 2022 @ 7:39am 
@British89 - I'll do a check to not add Scrap as an ore type :)
Anubis 23 Apr, 2022 @ 8:49pm 
Yeah it's still crashing even after removing and re-adding
the log from keen
2022-04-23 20:45:25.334 - Thread: 1 -> Exception occurred: System.NullReferenceException: Object reference not set to an instance of an object.
at Stollie.OreGenerator.OreGeneratorSession.GenerateOre()
at Stollie.OreGenerator.OreGeneratorSession.UpdateBeforeSimulation()
at Sandbox.Game.World.MySession.UpdateComponents()
at Sandbox.Game.World.MySession.Update(MyTimeSpan updateTime)
at Sandbox.MySandboxGame.Update()
at Sandbox.Engine.Platform.Game.UpdateInternal()
at Sandbox.Engine.Platform.Game.RunSingleFrame()
at Sandbox.Engine.Platform.FixedLoop.<>c__DisplayClass11_0.<Run>b__0()
at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback)
at Sandbox.Engine.Platform.Game.RunLoop()
at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen)
at SpaceEngineers.MyProgram.Main(String[] args)

and the log from your mod
[20:44:58] Initialized
GameMode=Survival
OnlineMode=OFFLINE
Server=True
DS=False
Defined=STABLE,
[20:44:58] *** Load Data STARTED ***
[20:44:58] Loading Config File on Server
[20:44:58] Config File Not Found. Using Default Values
[20:44:58] Session Load Data Power Required: 5
[20:44:58] Session Load Data SecondsBetweenCycles: 10
[20:44:58] *** Load Data ENDED ***
[20:44:58]
[20:45:14] *** Session Initilization STARTED ***
[20:45:14] Ticks between spawns: 600
[20:45:14] Found 33940 Entities
[20:45:14] Found 40 Grids
[20:45:14] Found 2 Ore Generators
[20:45:14] Found 20 Ores in Config File
[20:45:14] *** Session Initilization ENDED ***
[20:45:14]

I'll upload a copy of my world, but it is mod heavy.
Anubis 23 Apr, 2022 @ 9:11pm 
A link to the published world https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2798920046 unfortunately not all the mods would allow me to list them so you won't have all the mos in the world.
Last edited by Anubis; 23 Apr, 2022 @ 9:12pm
Stollie  [developer] 23 Apr, 2022 @ 9:35pm 
Ahh OK I tried it out as a fresh world and no crash for me either. I suspect it has to do with the config file. If you still have your old copy can you try deleting the settings file and see if that solves it?
Anubis 23 Apr, 2022 @ 10:28pm 
The one with the log in appdata? I already tried that and still crashed. If I have to I'll create a new world as your mod has become a necessity due to my ideal play style, but adding mods and manually setting load orders is something I would rather do once in a blue moon as considering the size of my mod list is a lengthy process.
Stollie  [developer] 23 Apr, 2022 @ 11:18pm 
Nah the settings file not the log it should be in the same place as my log file.
Anubis 23 Apr, 2022 @ 11:38pm 
Yeah it's still crashing, I'll just start a new world.
Stollie  [developer] 23 Apr, 2022 @ 11:55pm 
♥♥♥♥, sorry man
Anubis 25 Apr, 2022 @ 11:14pm 
Just got a random CTD, keens log gives this
2022-04-25 23:11:11.103 - Thread: 1 -> Exception occurred: System.NullReferenceException: Object reference not set to an instance of an object.
at Stollie.OreGenerator.OreGeneratorSession.GenerateOre()
at Stollie.OreGenerator.OreGeneratorSession.UpdateBeforeSimulation()
at Sandbox.Game.World.MySession.UpdateComponents()
at Sandbox.Game.World.MySession.Update(MyTimeSpan updateTime)
at Sandbox.MySandboxGame.Update()
at Sandbox.Engine.Platform.Game.UpdateInternal()
at Sandbox.Engine.Platform.Game.RunSingleFrame()
at Sandbox.Engine.Platform.FixedLoop.<>c__DisplayClass11_0.<Run>b__0()
at Sandbox.Engine.Platform.GenericLoop.Run(VoidAction tickCallback)
at Sandbox.Engine.Platform.Game.RunLoop()
at Sandbox.MySandboxGame.Run(Boolean customRenderLoop, Action disposeSplashScreen)
at SpaceEngineers.MyProgram.Main(String[] args)

and yours
[22:53:36] Initialized
GameMode=Survival
OnlineMode=OFFLINE
Server=True
DS=False
Defined=STABLE,
[22:53:36] *** Load Data STARTED ***
[22:53:36] Loading Config File on Server
[22:53:36] Found Existing Config File
[22:53:36] PowerRequired value found in config file: 5
[22:53:36] Session Load Data Power Required: 5
[22:53:36] Session Load Data SecondsBetweenCycles: 15
[22:53:36] *** Load Data ENDED ***
[22:53:36]
[22:53:53] *** Session Initilization STARTED ***
[22:53:53] Ticks between spawns: 900
[22:53:53] Found 35149 Entities
[22:53:53] Found 8 Grids
[22:53:53] Found 2 Ore Generators
[22:53:53] Found 21 Ores in Config File
[22:53:53] *** Session Initilization ENDED ***
[22:53:53]

This is the new world BTW.
Stollie  [developer] 27 Apr, 2022 @ 12:02am 
Can you contact me on Discord? There is an easy way to get to the bottom of this -> Stollie#7139
RUe-DI1 11 Aug, 2023 @ 4:56am 
i've found a bug that makes the ore generator stop generate even though there's power, such as ice which stopped being generated after being over used since i combo ore generator with air pressurizer from the shield mod which worked well but every time i leave and join back the game the ore generator breaks and stop generating, even when i restart it's power so i have to delete it and add it back in it's place which causes ore to fall out and sometimes cause crashes.
Stollie  [developer] 11 Aug, 2023 @ 6:08am 
Please list out exact steps to reproduce as Step 1. Step 2. etc. :)

Also is this only happening with the shield mod? There might be some conflict.
< >
Showing 1-15 of 15 comments
Per page: 1530 50