-
Notifications
You must be signed in to change notification settings - Fork 114
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
Kopernicus spams NRE's under Linux #158
Comments
Sory, haven't seen this. Could you please post your Logs/Kopernicus folder? |
No problem. Reading back through the forum thread I just became aware you may want the logs. Coming here I see you do. Sweet. |
This is... weird. I dont see anything in the logs that could have caused this, and I dont have this issue on my machine (windows). Does this only occur when installing the raw Kopernicus, or with planet packs too? |
It occurs with raw Kopernicus and with OPM too. It does not occur in tracking station view only in the in-flight map view and although it is spamming NREs continuously in the map view I don't actually notice a performance hit to speak of so I am persevering with it. |
maybe same issue with SVT |
Also encountering this under windows |
Both of your logs contain an exception while loading the Kopernicus Configs, which makes me think that this is an issue with the respective planet mods (one time the error occurs while loading Eve, and the other time while loading a body named "1") |
Yep I posted it on the TBG thread in the forum as well but thanks for confirming its an issue with world generation and not kopernicus it's self |
Have you managed to solve this issue? |
Looks like the root of the problem here lies in "Modular Flight Integrator" mod. Check (on Linux) with KSP 1.2.2 and 1.3 and latest (1.2.2-7 and 1.3.0-2) Kopernicus: everything is normal without MFI, but then MFI is installed I get "Kopernicus.RuntimeUtility.LateUpdate () [0x00000] in :0" spam after switching to map mode in flight. |
Without mfi kopernicus disables itself. So everything is indeed "normal" as in "not modified by kopernicus" :) |
I also have this problem in 1.3.0 with release-1.3.0-2 using only Kopernicus (no OPM or anything else). Interestingly, everything is fine if you have a level 1 tracking station; NREs only show up when you upgrade to level 2. |
Please try it with this build and send me your logfiles. Just copy the files in the zip in GameData/Kopernicus/Plugins |
That build prints '4' to the log before each NullRefException. The first '4' is printed to the log before the first NullRefException. |
Here it is. The magic number is 4, apparently. Edit: and this is what I get for leaving this page open all day. |
I hope my last commit fixed this issue. Here is the build for you, so you can test it. |
LGTM, no more NREs. |
Awesome that works, would that fix be easy to add to the 1.2.2 backport? |
But it broke compatibility with SigmaDimensions (at least under Linux): exceptions begins at game loading and endless loop of NREs then trying to start new game/load savefile from main menu. |
@canisdirusleidy I need the logs from Logs/Kopernicus too please |
the modulemanager cache file also can help |
Here they are. |
I think this should have been addressed in one of the latest patches, are you still seeing this issue? |
Sorry about the slow follow up. I have been without internet for a couple of months. |
glad to hear! |
Steps to reproduce.
Log files attached.
Player.log.zip
KSP.log.zip
The text was updated successfully, but these errors were encountered: