-
-
Notifications
You must be signed in to change notification settings - Fork 8
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
[BUG]: Game crash if an older preset from before v4.2.6 is loaded #124
Comments
Also crash log is here NullReferenceException: Object reference not set to an instance of an object ClusterTraitGenerationManager.ClusterData.CGSMClusterManager+<>c.b__40_0 (ClusterTraitGenerationManager.ClusterData.StarmapItem item) (at :0) Build: U52-623711-SCD |
are there random planets in these presets that crash? |
I'm also sending presets that are causing the error. 1_+12Water_+1_Beeta_2E02C9.json |
No. There aren't any random planets. |
I have deletes one of the presets. There is a strange behaviour. After I get the error when selecting one of the broken ones, if I select a working one it gives an error too; but works. |
I should also point out that all of the broken presets have Ceres Minor as Outer Asteroid. I have older presets without Ceres Minor and they are working. |
the one in your log seems to be missing SmallOilySwampOuter, which is an outer variant of SmallWarpOilySwamp. |
it is missing, because apparently Klei removed it from the Terra Cluster recently, leading to it no longer getting loaded into the game |
LOL. So they won't work no matter what you do. |
the asteroid is still there, I can force the game to still load it (like with that one variant of moonlet) |
this might or might not be something that broke with either last nights hotfix or the frosty planet release and it just did not trigger until now |
I checked and yes it is not there anymore as a selectable asteroid. Only the normal sized one is there. |
It was there until last nights update I think. Because I created these presets after Fosty Pack. They all have Ceres Minor. I thought it was something to do with that asteroid, but it doesn't seem to be the case |
I don't think; I am sure. Because I recreated the same preset from the beginning while testing the previous bug. |
I think you don't have to work for it; if it is already removed. But if you like to do so; I won't say no don't do it. :) |
it is not removed (from the files at least) but the game only loads asteroids that are present in at least one cluster |
So I'll have to force the game to load the asteroid again (and add better "missing asteroids" handling) |
Yes it would of course be better to have that included in the mod. |
MiniMetallicSwampyWarp is the one not loaded by default |
It might be a game bug |
Do you have any connection with klei |
it is by design (not good design, but still design) since there is no moonlet cluster where metallic swampy is a teleporter asteroid |
sadly not |
Ok then it's up to you if you work for it. It is of course better to have a failsafe code in the mod. But also it is what it is. So you don't have to fix this. Because in the future there might be more dramatic changes to asteroids, which you would have to include every possible change in your code. |
In patch notes it doesn't mention any of the asteroids removal. I still think this might be a bug. |
the file has a note at the top: |
oh. |
So this was left in the game until sometime. Then you shouldn't be working on a fix for this. This might get removed completely in the future; which would brake the mod again. (if you use those files of course) |
I can readd those files over the mod in the future |
What will happen when they get removed completely? |
Oh I miss read. You are talking about putting those asteroid files into the mod. |
in theory I can readd them as modded asteroids in CGM |
but it might be better to instead add redirects for old presets |
Redirects might be a better choice for now. |
Or you might add a warning about removed asteroids instead of an error, and do not allow loading that preset. This way people would get notified about the missing asteroids and create new presets with existing asteroids. This will save you from putting redirects every time an asteroid is removed. |
Klei seems to be going after biome scrambling. This would also reduce the count of asteroids needed. You can get every type of biome on whichever asteroid you want with scrambling. |
thats my assumption as well - remove the "duplicate" smaller asteroid variant that was unfit for biome mixing |
Yep. So what will yo do? Will you give a warning to change the preset; or try to redirect older asteroids? |
both for now |
Ok. Good luck then. I will always be pleased to help you if I'm available. Don't bother to ask for help any time. |
Still not working. If I don't change anything from an older not working preset, I get this error. I'm familiar with this error; it is caused by small asteroids; where the game cannot generate POI's because of lack of space. After I got this error I changed that asteroids size to a standard and this time I got a crash. The crash occures after asteroid generation is complete when it says "Success! Space adventure awaits." on the generation screen. |
ah rip I forgot to add that override to starmap locations too |
LOL. You need a full time tester. :) |
and work with more sleep |
Yep I need that too :) |
here, that should fix it: |
I can confirm that it is working with older presets. Generation is consistent with geysers, POI's and plants (growth rate is different though) |
Last nights modifications changed another thing. Before last night when I changed a Space POI location in starmap; I was getting a different geyser generation. Tiles, POI's and plants were the same but geysers were changing. They were still consistent with preset load. So with same starmap, same seed, same planetoids; I was getting the exact same generation. Now; if I change a space POI location in starmap; I always get the same geysers. Other things are also the same. Nothing changes at all. Changing a space POI location was a quick geyser reroll technique for me with a desired (and of course the same) tile, POI and plant generation. |
that sounds like something weird with that afformentioned random on your system doing weird things, because they should not influence each other |
So I should understand this as it wasn't supposed to be like that. Am I right? |
yes |
Sad. It was a usefull "feature" of a bug then. :) Thanks for your work and time. |
its likely a similar thing (or the same thing) that caused presets on your machine to roll different geysers than the original world |
the seeded random should have rolled identical, but it didnt |
LOL I was really getting used to it. Trying to get a perfect generation with it. |
Which Mod?
Cluster Generation Manager [Vanilla/DLC]
Description of the bug/crash
Getting "MISSING.STRINGS.UI.CGMEXPORT_SIDEMENUS.PRESETWINDOW.CGM....." when I select a preset. (error code continues but does not fit into the screen.)
When I press apply I get a crash. (Not all presets crash though)
Steps To Reproduce
Choose an older preset. You will get the error on preset selection screen. Not all presets give this error. When you get an error with the preset try to apply it. You will get a crash.
Player.log
Player-prev.log
The text was updated successfully, but these errors were encountered: